From dd618e499f395a9aa5aa532cdac5402563971501 Mon Sep 17 00:00:00 2001 From: Jonas Gorski Date: Sat, 28 Feb 2015 19:59:50 +0000 Subject: brcm63xx: fix DTS LEDs and buttons MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 Signed-off-by: Jonas Gorski SVN-Revision: 44577 --- target/linux/brcm63xx/dts/v2500v-bb.dts | 39 +++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) (limited to 'target/linux/brcm63xx/dts/v2500v-bb.dts') 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 { -- cgit v1.2.3