[PATCH 2/3] ARM: dts: st: move leds out of soc in stih418-b2264.dts

Alain Volmat avolmat at me.com
Sun Jul 2 09:19:34 PDT 2023


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 at me.com>
---
 arch/arm/boot/dts/st/stih418-b2264.dts | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/boot/dts/st/stih418-b2264.dts b/arch/arm/boot/dts/st/stih418-b2264.dts
index f496ca28850d..d4874282cfba 100644
--- a/arch/arm/boot/dts/st/stih418-b2264.dts
+++ b/arch/arm/boot/dts/st/stih418-b2264.dts
@@ -73,15 +73,15 @@ aliases {
 		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 at 961f080 {
 			gmac1 {
 				rgmii1-0 {
-- 
2.34.1




More information about the linux-arm-kernel mailing list