From: Niravkumar L Rabara Date: Tue, 18 Feb 2025 01:01:06 +0000 (+0800) Subject: arm64: dts: socfpga: agilex5: add led and memory nodes X-Git-Tag: v6.16-rc1~97^2~47^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=17d321d4a05de2d678c2c6db2c9a9a639e3eaa41;p=thirdparty%2Fkernel%2Flinux.git arm64: dts: socfpga: agilex5: add led and memory nodes Add LED and memory nodes, and enabled GPIO0 for Agilex5 devkit. Signed-off-by: Niravkumar L Rabara Signed-off-by: Dinh Nguyen --- diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts index 5eda77242c5d0..d3b913b7902c1 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 @@ 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 {