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

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
Loading
Loading
Loading
Loading
+24 −25
Original line number Diff line number Diff line
@@ -29,8 +29,6 @@
		ethernet0 = &ethernet0;
	};

	soc {

	leds {
		compatible = "gpio-leds";
		user_green_1 {
@@ -59,6 +57,7 @@
		};
	};

	soc {
		/* Low speed expansion connector */
		uart0: serial@9830000 {
			label = "LS-UART0";
+13 −13
Original line number Diff line number Diff line
@@ -28,11 +28,6 @@
		ethernet0 = &ethernet0;
	};

	soc {
		sbc_serial0: serial@9530000 {
			status = "okay";
		};

	leds {
		compatible = "gpio-leds";
		red {
@@ -46,6 +41,11 @@
		};
	};

	soc {
		sbc_serial0: serial@9530000 {
			status = "okay";
		};

		i2c@9842000 {
			status = "okay";
		};
+13 −13
Original line number Diff line number Diff line
@@ -10,11 +10,6 @@
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/media/c8sectpfe.h>
/ {
	soc {
		sbc_serial0: serial@9530000 {
			status = "okay";
		};

	leds {
		compatible = "gpio-leds";
		red {
@@ -28,6 +23,11 @@
		};
	};

	soc {
		sbc_serial0: serial@9530000 {
			status = "okay";
		};

		pwm0: pwm@9810000 {
			status = "okay";
		};