ARM: dts: st: move leds out of soc in stih418-b2264.dts
authorAlain Volmat <avolmat@me.com>
Sun, 2 Jul 2023 16:19:34 +0000 (16:19 +0000)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 13 Oct 2023 07:03:50 +0000 (09:03 +0200)
Move the leds node out of the soc section
and correct the following warning:
Warning (simple_bus_reg): /soc/leds: missing or empty reg/ranges property

Signed-off-by: Alain Volmat <avolmat@me.com>
Acked-by: Patrice Chotard <patrice.chotard@foss.st.com>
Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
arch/arm/boot/dts/st/stih418-b2264.dts

index f496ca28850d632ae571cc0b0bc840d06abe7288..d4874282cfba90128466ed65832f8ab25f374b69 100644 (file)
                ethernet0 = &ethernet0;
        };
 
-       soc {
-               leds {
-                       compatible = "gpio-leds";
-                       led-green {
-                               gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
-                               default-state = "off";
-                       };
+       leds {
+               compatible = "gpio-leds";
+               led-green {
+                       gpios = <&pio1 3 GPIO_ACTIVE_HIGH>;
+                       default-state = "off";
                };
+       };
 
+       soc {
                pin-controller-sbc@961f080 {
                        gmac1 {
                                rgmii1-0 {