[LEDE-DEV] [PATCH] ramips: remove fictional LEDs from AsiaRF AWM00x device tree

Russell Senior russell at personaltelco.net
Wed May 24 10:22:05 PDT 2017


Neither the AsiaRF AWM002 or AWM003 actually has an LED on the module
board.  The ld1 and ld2 do not represent actual LEDs.  These pins might
connect to LEDS on an eval board or other carrier board, but that is 
outside the scope of this device tree file.

Signed-off-by: Russell Senior <russell at personaltelco.net>
---
 target/linux/ramips/dts/AWM002.dtsi | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/target/linux/ramips/dts/AWM002.dtsi b/target/linux/ramips/dts/AWM002.dtsi
index 9ff64917ea..00a4ddbcf1 100644
--- a/target/linux/ramips/dts/AWM002.dtsi
+++ b/target/linux/ramips/dts/AWM002.dtsi
@@ -3,20 +3,6 @@
 / {
 	compatible = "AWM002", "ralink,rt5350-soc";
 	model = "AsiaRF AWM002";
-
-	gpio-leds {
-		compatible = "gpio-leds";
-
-		ld1 {
-			label = "awm002:green:ld1";
-			gpios = <&gpio0 0 1>;
-		};
-
-		ld2 {
-			label = "awm002:green:ld2";
-			gpios = <&gpio0 1 1>;
-		};
-	};
 };
 
 &spi0 {
-- 
2.13.0




-- 
Russell Senior, President
russell at personaltelco.net



More information about the Lede-dev mailing list