Skip to contentSkip to conversation

arm64: dts: socfpga: agilex5: add gpio led and memory node

PATCH Superseded [email protected] 2 participants 2 messages Feb 17, 2025 Device tree bindings

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: socfpga: agilex5: add gpio led and memory node

From: Niravkumar L Rabara <[email protected]>

Add GPIO led and memory node for Agilex5 devkit.

---

Changes in v2:
* Add mising blank line.
* Changed the name to led-0 instad of led1.

 .../boot/dts/intel/socfpga_agilex5_socdk.dts  | 20 +++++++++++++++++++
 1 file changed, 20 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +20 -0
index c533e5a3a610..e106e48f1e3f 100644
@@ -15,6 +15,26 @@ aliases {
 	chosen {
 		stdout-path = "serial0:115200n8";
 	};
+
+	leds {
+		compatible = "gpio-leds";
+
+		led-0 {
+			label = "hps_led0";
+			gpios = <&porta 11 GPIO_ACTIVE_HIGH>;
+		};
+
+	};
+
+	memory@80000000 {
+		device_type = "memory";
+		/* We expect the bootloader to fill in the reg */
+		reg = <0x0 0x80000000 0x0 0x0>;
+	};
+};
+
+&gpio0 {
+	status = "okay";
 };
 
 &gpio1 {
Signature · 1 line
2.25.1
#1 lore raw
Quoted 3 lines · On 2/17/25 06:01, [email protected] wrote:

From: Niravkumar L Rabara <[email protected]>

Add GPIO led and memory node for Agilex5 devkit.

Looks like you added LED and memory nodes, and enabled the GPIO. Please word this commit log correctly..

THanks,

Dinh