diff options
author | Jonas Gorski <jogo@openwrt.org> | 2015-02-28 19:59:50 +0000 |
---|---|---|
committer | Jonas Gorski <jogo@openwrt.org> | 2015-02-28 19:59:50 +0000 |
commit | dd618e499f395a9aa5aa532cdac5402563971501 (patch) | |
tree | e4a8d551f660a353a8207d883f05ff2a3caabbba /target/linux/brcm63xx/dts/v2500v-bb.dts | |
parent | 40e6eae61fe4412ac14c19f0f4b5fbf6b84c841e (diff) | |
download | upstream-dd618e499f395a9aa5aa532cdac5402563971501.tar.gz upstream-dd618e499f395a9aa5aa532cdac5402563971501.tar.bz2 upstream-dd618e499f395a9aa5aa532cdac5402563971501.zip |
brcm63xx: fix DTS LEDs and buttons
- A4001N/A4001N1: fix swapped green and red LEDs
- CVG834G: add missing LED
- RTA1320: reorder LEDs by GPIO#
- V2500V: add missing LEDs and buttons
- WAP-5813n: fix WPS button (GPIO 35)
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 44577
Diffstat (limited to 'target/linux/brcm63xx/dts/v2500v-bb.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/v2500v-bb.dts | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/v2500v-bb.dts b/target/linux/brcm63xx/dts/v2500v-bb.dts index 3959ffb3ed..5f06c6361f 100644 --- a/target/linux/brcm63xx/dts/v2500v-bb.dts +++ b/target/linux/brcm63xx/dts/v2500v-bb.dts @@ -5,6 +5,45 @@ / { model = "BT Voyager V2500V"; compatible = "bt,v2500v-bb", "brcm,bcm6348"; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + debounce-interval = <60>; + + reset { + label = "reset"; + gpios = <&gpio0 31 1>; + linux,code = <0x198>; + }; + }; + + gpio-leds { + compatible = "gpio-leds"; + + power_green { + label = "V2500V_BB:green:power"; + gpios = <&gpio0 0 1>; + }; + power_red { + label = "V2500V_BB:red:power"; + gpios = <&gpio0 1 1>; + }; + adsl_green { + label = "V2500V_BB:green:adsl"; + gpios = <&gpio0 2 1>; + }; + ppp_green { + label = "V2500V_BB:green:ppp"; + gpios = <&gpio0 3 1>; + }; + wireless_green { + label = "V2500V_BB:green:wireless"; + gpios = <&gpio0 6 1>; + }; + }; }; &pflash { |