diff options
author | Patrice Chotard <patrice.chotard@st.com> | 2018-01-09 16:38:57 +0100 |
---|---|---|
committer | Patrice Chotard <patrice.chotard@st.com> | 2018-02-12 15:24:34 +0100 |
commit | 7aef6b3a2179a4ad536831b343a820a4b7221c33 (patch) | |
tree | f9501bf7733aac0e1bfa7ecf5e39ddaaa732b589 /arch/arm/boot/dts/stihxxx-b2120.dtsi | |
parent | d6d854cc1c2a055afdf5d22ee4aee0d20a59968c (diff) | |
download | blackbird-op-linux-7aef6b3a2179a4ad536831b343a820a4b7221c33.tar.gz blackbird-op-linux-7aef6b3a2179a4ad536831b343a820a4b7221c33.zip |
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: Patrice Chotard <patrice.chotard@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stihxxx-b2120.dtsi')
-rw-r--r-- | arch/arm/boot/dts/stihxxx-b2120.dtsi | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/arch/arm/boot/dts/stihxxx-b2120.dtsi b/arch/arm/boot/dts/stihxxx-b2120.dtsi index 68783e8223b8..1fd3a2b5b938 100644 --- a/arch/arm/boot/dts/stihxxx-b2120.dtsi +++ b/arch/arm/boot/dts/stihxxx-b2120.dtsi @@ -10,24 +10,24 @@ #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/media/c8sectpfe.h> / { + leds { + compatible = "gpio-leds"; + red { + label = "Front Panel LED"; + gpios = <&pio4 1 GPIO_ACTIVE_HIGH>; + linux,default-trigger = "heartbeat"; + }; + green { + gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; + default-state = "off"; + }; + }; + soc { sbc_serial0: serial@9530000 { status = "okay"; }; - leds { - compatible = "gpio-leds"; - red { - label = "Front Panel LED"; - gpios = <&pio4 1 GPIO_ACTIVE_HIGH>; - linux,default-trigger = "heartbeat"; - }; - green { - gpios = <&pio1 3 GPIO_ACTIVE_HIGH>; - default-state = "off"; - }; - }; - pwm0: pwm@9810000 { status = "okay"; }; |