]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: socfpga: agilex5: add led and memory nodes
authorNiravkumar L Rabara <niravkumar.l.rabara@intel.com>
Tue, 18 Feb 2025 01:01:06 +0000 (09:01 +0800)
committerDinh Nguyen <dinguyen@kernel.org>
Wed, 26 Mar 2025 11:47:04 +0000 (06:47 -0500)
Add LED and memory nodes, and enabled GPIO0 for Agilex5 devkit.

Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts

index 5eda77242c5d0a98c20d337e0bc4fb9620d4f145..d3b913b7902c19fd2f9992af8f81cccce4222af8 100644 (file)
        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 {