ramips: add support for Amped Wireless B1200EX
[openwrt/staging/stintel.git] / target / linux / ramips / dts / mt7620a_edimax_ew-747x.dtsi
index 1d77c27f5f37960ec8231afeb8f4516e27503b1d..abac0208d0722b4263655e8c84504bc15b422833 100644 (file)
                        gpios = <&gpio2 20 GPIO_ACTIVE_LOW>;
                        linux,code = <KEY_RESTART>;
                };
-
-               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 {
                        gpios = <&gpio2 26 GPIO_ACTIVE_LOW>;
                };
 
-               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";
-               };
-
                wps {
                        label = "green:wps";
                        gpios = <&gpio2 28 GPIO_ACTIVE_LOW>;
                };
-
-               crossband {
-                       label = "green:crossband";
-                       gpios = <&gpio2 29 GPIO_ACTIVE_LOW>;
-               };
        };
 };
 
 
 &wmac {
        ralink,mtd-eeprom = <&factory 0x0>;
+       nvmem-cells = <&macaddr_factory_4>;
+       nvmem-cell-names = "mac-address";
 };
 
 &pcie {
        wifi@0,0 {
                reg = <0x0000 0 0 0 0>;
                mediatek,mtd-eeprom = <&factory 0x8000>;
-               mediatek,2ghz = <0>;
+               ieee80211-freq-limit = <5000000 6000000>;
+               nvmem-cells = <&macaddr_factory_4>;
+               nvmem-cell-names = "mac-address";
+               mac-address-increment = <2>;
        };
 };