arm64: dts: socfpga: agilex5: add gpio led and memory node
PATCH 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.
Signed-off-by Niravkumar L Rabara <[email protected]>
--- .../boot/dts/intel/socfpga_agilex5_socdk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +19 -0
@@ -15,6 +15,25 @@ aliases { chosen { stdout-path = "serial0:115200n8"; }; + leds { + compatible = "gpio-leds"; + + led1 { + label = "hps_led1"; + 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
Quoted 14 lines · On 17/02/2025 06:27, [email protected] wrote:
From: Niravkumar L Rabara <[email protected]>
Add GPIO led and memory node for Agilex5 devkit.
Signed-off-by Niravkumar L Rabara <[email protected]>--- .../boot/dts/intel/socfpga_agilex5_socdk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +0
-0
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts aliases { · line 17
Quoted 3 lines
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +0
-0@@ -15,6 +15,25 @@ aliases { chosen { stdout-path = "serial0:115200n8"; };
Missing blank line
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts aliases { · line 21
Quoted 4 lines
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +4
-0+ leds { + compatible = "gpio-leds"; + + led1 {
led-0
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts aliases { · line 25
Quoted 4 lines
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +4
-0+ label = "hps_led1"; + gpios = <&porta 11 GPIO_ACTIVE_HIGH>; + }; +
And that's not necessary
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts aliases { · line 27
Quoted 2 lines
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts +2
-0+ }; +
Best regards,
Krzysztof