From 17d321d4a05de2d678c2c6db2c9a9a639e3eaa41 Mon Sep 17 00:00:00 2001 From: Niravkumar L Rabara Date: Tue, 18 Feb 2025 09:01:06 +0800 Subject: [PATCH] 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 --- .../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 5eda77242c5d..d3b913b7902c 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 { -- 2.50.1