aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>2018-12-30 14:59:30 +0100
committerMathias Kresin <dev@kresin.me>2019-01-27 11:52:24 +0100
commit6b2b35e0437563c60ebea2a1a61dd2a084b15505 (patch)
tree02f39c495e8b0dcc7e4284ea1696d222dedbab9c /target
parent9b47e4c0070a392dd81a078d68152fdd3149cd44 (diff)
downloadupstream-6b2b35e0437563c60ebea2a1a61dd2a084b15505.tar.gz
upstream-6b2b35e0437563c60ebea2a1a61dd2a084b15505.tar.bz2
upstream-6b2b35e0437563c60ebea2a1a61dd2a084b15505.zip
brcm63xx: VH4032N: fix the power led and the wlan button
- use the blue LED for power, since the red LED is already used by CFE in emergency mode. - use the correct code for the wlan button Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
Diffstat (limited to 'target')
-rw-r--r--target/linux/brcm63xx/base-files/etc/diag.sh2
-rw-r--r--target/linux/brcm63xx/dts/vh4032n.dts8
2 files changed, 5 insertions, 5 deletions
diff --git a/target/linux/brcm63xx/base-files/etc/diag.sh b/target/linux/brcm63xx/base-files/etc/diag.sh
index afb347818f..34464ec44a 100644
--- a/target/linux/brcm63xx/base-files/etc/diag.sh
+++ b/target/linux/brcm63xx/base-files/etc/diag.sh
@@ -43,7 +43,7 @@ set_state() {
status_led="spw303v:green:power+adsl"
;;
vh4032n)
- status_led="VH4032N:red:power"
+ status_led="VH4032N:blue:power"
;;
vr-3025un)
status_led="VR-3025un:green:power"
diff --git a/target/linux/brcm63xx/dts/vh4032n.dts b/target/linux/brcm63xx/dts/vh4032n.dts
index 6788026d62..fd5a1828ab 100644
--- a/target/linux/brcm63xx/dts/vh4032n.dts
+++ b/target/linux/brcm63xx/dts/vh4032n.dts
@@ -26,10 +26,10 @@
debounce-interval = <60>;
};
- wps {
- label = "wps";
+ wlan {
+ label = "wlan";
gpios = <&pinctrl 35 1>;
- linux,code = <KEY_WPS_BUTTON>;
+ linux,code = <KEY_WLAN>;
debounce-interval = <60>;
};
};
@@ -56,11 +56,11 @@
power_blue {
label = "VH4032N:blue:power";
gpios = <&pinctrl 22 0>;
+ default-state = "on";
};
power_red {
label = "VH4032N:red:power";
gpios = <&pinctrl 24 0>;
- default-state = "on";
};
voice_blue {
label = "VH4032N:blue:voice";