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>
master
Daniel Gonzalez Cabanelas 6 years ago committed by Mathias Kresin
parent 9b47e4c007
commit 6b2b35e043
  1. 2
      target/linux/brcm63xx/base-files/etc/diag.sh
  2. 8
      target/linux/brcm63xx/dts/vh4032n.dts

@ -43,7 +43,7 @@ set_state() {
status_led="spw303v:green:power+adsl" status_led="spw303v:green:power+adsl"
;; ;;
vh4032n) vh4032n)
status_led="VH4032N:red:power" status_led="VH4032N:blue:power"
;; ;;
vr-3025un) vr-3025un)
status_led="VR-3025un:green:power" status_led="VR-3025un:green:power"

@ -26,10 +26,10 @@
debounce-interval = <60>; debounce-interval = <60>;
}; };
wps { wlan {
label = "wps"; label = "wlan";
gpios = <&pinctrl 35 1>; gpios = <&pinctrl 35 1>;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WLAN>;
debounce-interval = <60>; debounce-interval = <60>;
}; };
}; };
@ -56,11 +56,11 @@
power_blue { power_blue {
label = "VH4032N:blue:power"; label = "VH4032N:blue:power";
gpios = <&pinctrl 22 0>; gpios = <&pinctrl 22 0>;
default-state = "on";
}; };
power_red { power_red {
label = "VH4032N:red:power"; label = "VH4032N:red:power";
gpios = <&pinctrl 24 0>; gpios = <&pinctrl 24 0>;
default-state = "on";
}; };
voice_blue { voice_blue {
label = "VH4032N:blue:voice"; label = "VH4032N:blue:voice";

Loading…
Cancel
Save