The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2] arm64: dts: socfpga: agilex5: add gpio led and memory node
@ 2025-02-17 12:01 niravkumar.l.rabara
  2025-02-17 19:43 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: niravkumar.l.rabara @ 2025-02-17 12:01 UTC (permalink / raw)
  To: Dinh Nguyen, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	niravkumar.l.rabara, nirav.rabara, devicetree, linux-kernel

From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>

Add GPIO led and memory node for Agilex5 devkit.

Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
---

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(+)

diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts
index c533e5a3a610..e106e48f1e3f 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts
@@ -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 {
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] arm64: dts: socfpga: agilex5: add gpio led and memory node
  2025-02-17 12:01 [PATCH v2] arm64: dts: socfpga: agilex5: add gpio led and memory node niravkumar.l.rabara
@ 2025-02-17 19:43 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2025-02-17 19:43 UTC (permalink / raw)
  To: niravkumar.l.rabara, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, nirav.rabara, devicetree, linux-kernel

On 2/17/25 06:01, niravkumar.l.rabara@intel.com wrote:
> From: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
> 
> 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-17 19:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-17 12:01 [PATCH v2] arm64: dts: socfpga: agilex5: add gpio led and memory node niravkumar.l.rabara
2025-02-17 19:43 ` Dinh Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox