ramips: add support for Amped Wireless B1200EX
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7620a_edimax_ew-7476rpc.dts
index ebab7e4089990616ae38035fadf6a4c383cfd3f4..e4fc2d03e45c16f3f2505675433efda8ee754c6d 100644 (file)
@@ -5,4 +5,39 @@
 / {
        compatible = "edimax,ew-7476rpc", "ralink,mt7620a-soc";
        model = "Edimax EW-7476RPC";
+
+       keys {
+               switch_high {
+                       label = "switch high";
+                       gpios = <&gpio2 22 GPIO_ACTIVE_LOW>;
+                       linux,code = <BTN_0>;
+                       linux,input-type = <EV_SW>;
+               };
+
+               switch_off {
+                       label = "switch off";
+                       gpios = <&gpio2 23 GPIO_ACTIVE_LOW>;
+                       linux,code = <BTN_1>;
+                       linux,input-type = <EV_SW>;
+               };
+       };
+
+       leds {
+               wlan2g {
+                       label = "blue:wlan2g";
+                       gpios = <&gpio2 30 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy1radio";
+               };
+
+               wlan5g {
+                       label = "blue:wlan5g";
+                       gpios = <&gpio2 31 GPIO_ACTIVE_LOW>;
+                       linux,default-trigger = "phy0radio";
+               };
+
+               crossband {
+                       label = "green:crossband";
+                       gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
+               };
+       };
 };