Commit 7aef6b3a authored by Patrice Chotard's avatar Patrice Chotard

ARM: dts: STi: Move leds node outside soc node

Leds are not part of soc, so nove them outside soc node.
This allows to fix the following warnings when compiling
dtb with W=1 option :

arch/arm/boot/dts/stih407-b2120.dtb: Warning (simple_bus_reg):
Node /soc/leds missing or empty reg/ranges property

arch/arm/boot/dts/stih410-b2120.dtb: Warning (simple_bus_reg):
Node /soc/leds missing or empty reg/ranges property

arch/arm/boot/dts/stih418-b2199.dtb: Warning (simple_bus_reg):
Node /soc/leds missing or empty reg/ranges property
Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
parent d6d854cc
...@@ -29,8 +29,6 @@ aliases { ...@@ -29,8 +29,6 @@ aliases {
ethernet0 = &ethernet0; ethernet0 = &ethernet0;
}; };
soc {
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
user_green_1 { user_green_1 {
...@@ -59,6 +57,7 @@ user_green_4 { ...@@ -59,6 +57,7 @@ user_green_4 {
}; };
}; };
soc {
/* Low speed expansion connector */ /* Low speed expansion connector */
uart0: serial@9830000 { uart0: serial@9830000 {
label = "LS-UART0"; label = "LS-UART0";
......
...@@ -28,11 +28,6 @@ aliases { ...@@ -28,11 +28,6 @@ aliases {
ethernet0 = &ethernet0; ethernet0 = &ethernet0;
}; };
soc {
sbc_serial0: serial@9530000 {
status = "okay";
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
red { red {
...@@ -46,6 +41,11 @@ green { ...@@ -46,6 +41,11 @@ green {
}; };
}; };
soc {
sbc_serial0: serial@9530000 {
status = "okay";
};
i2c@9842000 { i2c@9842000 {
status = "okay"; status = "okay";
}; };
......
...@@ -10,11 +10,6 @@ ...@@ -10,11 +10,6 @@
#include <dt-bindings/gpio/gpio.h> #include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/c8sectpfe.h> #include <dt-bindings/media/c8sectpfe.h>
/ { / {
soc {
sbc_serial0: serial@9530000 {
status = "okay";
};
leds { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
red { red {
...@@ -28,6 +23,11 @@ green { ...@@ -28,6 +23,11 @@ green {
}; };
}; };
soc {
sbc_serial0: serial@9530000 {
status = "okay";
};
pwm0: pwm@9810000 { pwm0: pwm@9810000 {
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment