[OpenWrt-Devel] [PATCH v2 05/12] lantiq: ARV752DPW22 - fix dts file
Mathias Kresin
openwrt at kresin.me
Thu Dec 24 07:28:50 EST 2015
No need to switch (and keep) on all leds at boot. Use the same led
logic and labels as the OEM firmware (red = okay, blue = failure).
Add the red internet led.
Signed-off-by: Mathias Kresin <openwrt at kresin.me>
---
target/linux/lantiq/dts/ARV752DPW22.dts | 34 ++++++++++++---------------------
1 file changed, 12 insertions(+), 22 deletions(-)
diff --git a/target/linux/lantiq/dts/ARV752DPW22.dts b/target/linux/lantiq/dts/ARV752DPW22.dts
index ec4a3ab..168dc66 100644
--- a/target/linux/lantiq/dts/ARV752DPW22.dts
+++ b/target/linux/lantiq/dts/ARV752DPW22.dts
@@ -174,80 +174,70 @@
gpio-leds {
compatible = "gpio-leds";
- power {
- label = "power";
+ power1 {
+ label = "power1";
gpios = <&gpio 3 1>;
- default-state = "on";
+ };
+ internet {
+ label = "internet";
+ gpios = <&gpio 4 1>;
};
message {
label = "message";
gpios = <&gpio 5 1>;
- default-state = "on";
};
- power1 {
- label = "power1";
+ power {
+ label = "power";
gpios = <&gpio 6 1>;
- default-state = "on";
+ default-state = "keep";
};
voice1 {
label = "voice1";
gpios = <&gpio 8 1>;
- default-state = "on";
};
microphone {
- label = "microphone";
+ label = "umts";
gpios = <&gpiomm 3 1>;
- default-state = "on";
};
wifi {
label = "wifi_rt";
gpios = <&gpiomm 4 1>;
- default-state = "on";
};
fxs1 {
label = "fxs1";
gpios = <&gpiomm 5 1>;
- default-state = "on";
};
fxs2 {
label = "fxs2";
gpios = <&gpiomm 6 1>;
- default-state = "on";
};
fxo {
label = "fxo";
gpios = <&gpiomm 7 1>;
- default-state = "on";
};
- dsl {
- label = "dsl";
+ internet2 {
+ label = "internet2";
gpios = <&gpiomm 8 1>;
- default-state = "on";
};
voice2 {
label = "voice2";
gpios = <&gpiomm 9 1>;
- default-state = "on";
};
eth1 {
label = "eth1";
gpios = <&gpiomm 11 1>;
- default-state = "on";
};
eth2 {
label = "eth2";
gpios = <&gpiomm 12 1>;
- default-state = "on";
};
eth3 {
label = "eth3";
gpios = <&gpiomm 13 1>;
- default-state = "on";
};
eth4 {
label = "eth4";
gpios = <&gpiomm 14 1>;
- default-state = "on";
};
};
};
--
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