[OpenWrt-Devel] [PATCH v2 06/12] lantiq: ARV752DPW - fix dts file

Mathias Kresin openwrt at kresin.me
Thu Dec 24 07:28:51 EST 2015


Use the same led logic and labels as the OEM firmware (red = okay,
blue = failure).

Add the red internet led.

Remove missing usb led workaround. The workaround shouldn't be in the
default configuration.

Signed-off-by: Mathias Kresin <openwrt at kresin.me>
---
 target/linux/lantiq/dts/ARV752DPW.dts | 22 +++++++++++++---------
 1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/target/linux/lantiq/dts/ARV752DPW.dts b/target/linux/lantiq/dts/ARV752DPW.dts
index fe478e1..8848c71 100644
--- a/target/linux/lantiq/dts/ARV752DPW.dts
+++ b/target/linux/lantiq/dts/ARV752DPW.dts
@@ -170,25 +170,29 @@
 
 	gpio-leds {
 		compatible = "gpio-leds";
-		power {
-			label = "power";
+		power1 {
+			label = "power1";
 			gpios = <&gpio 3 1>;
 		};
+		internet {
+			label = "internet";
+			gpios = <&gpio 4 1>;
+		};
 		message {
 			label = "message";
 			gpios = <&gpio 5 1>;
 		};
-		power1 {
-			label = "power1";
+		power {
+			label = "power";
 			gpios = <&gpio 6 1>;
+			default-state = "keep";
 		};
 		voice1 {
 			label = "voice1";
 			gpios = <&gpio 8 1>;
 		};
 		microphone {
-			/* use this led as te usb led */
-			label = "usb";
+			label = "umts";
 			gpios = <&gpiomm 3 1>;
 		};
 		wifi {
@@ -199,7 +203,7 @@
 			label = "fxs1";
 			gpios = <&gpiomm 5 1>;
 		};
-		fx2 {
+		fxs2 {
 			label = "fxs2";
 			gpios = <&gpiomm 6 1>;
 		};
@@ -207,8 +211,8 @@
 			label = "fxo";
 			gpios = <&gpiomm 7 1>;
 		};
-		internet {
-			label = "internet";
+		internet2 {
+			label = "internet2";
 			gpios = <&gpiomm 8 1>;
 		};
 		voice2 {
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list