aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx/dts/v2500v-bb.dts
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2015-02-28 19:59:50 +0000
committerJonas Gorski <jogo@openwrt.org>2015-02-28 19:59:50 +0000
commitd9219349e250580b4173bd32b6c86d0da4e8a53d (patch)
tree50d46161f008cc96a82c5f71f77cd3bee9f9c44a /target/linux/brcm63xx/dts/v2500v-bb.dts
parent0dbd48d3ca7310017d53f8a3f6b2e84f946bd06d (diff)
downloadmaster-187ad058-d9219349e250580b4173bd32b6c86d0da4e8a53d.tar.gz
master-187ad058-d9219349e250580b4173bd32b6c86d0da4e8a53d.tar.bz2
master-187ad058-d9219349e250580b4173bd32b6c86d0da4e8a53d.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44577 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/dts/v2500v-bb.dts')
-rw-r--r--target/linux/brcm63xx/dts/v2500v-bb.dts39
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 {