X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Fdts%2FZBT-APE522II.dts;h=05d053f22a2a50db65bbb821432289dfd073015f;hb=aa82141d9be0bbac5bf7c8b82fe1b1581e679587;hp=eff27c2a1590373b592786f9d21e2855f6791f76;hpb=5fba0f0c0c873e0d7179225273ceac89a5d39914;p=openwrt%2Fopenwrt.git diff --git a/target/linux/ramips/dts/ZBT-APE522II.dts b/target/linux/ramips/dts/ZBT-APE522II.dts index eff27c2a15..05d053f22a 100644 --- a/target/linux/ramips/dts/ZBT-APE522II.dts +++ b/target/linux/ramips/dts/ZBT-APE522II.dts @@ -2,6 +2,9 @@ #include "mt7620a.dtsi" +#include +#include + / { compatible = "zbtlink,zbt-ape522ii", "ralink,mt7620a-soc"; model = "ZBT-APE522II"; @@ -15,27 +18,27 @@ sys1 { label = "zbt-ape522ii:green:sys1"; - gpios = <&gpio0 11 1>; + gpios = <&gpio0 11 GPIO_ACTIVE_LOW>; }; sys2 { label = "zbt-ape522ii:green:sys2"; - gpios = <&gpio0 12 1>; + gpios = <&gpio0 12 GPIO_ACTIVE_LOW>; }; sys3 { label = "zbt-ape522ii:green:sys3"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; }; sys4 { label = "zbt-ape522ii:green:sys4"; - gpios = <&gpio0 14 1>; + gpios = <&gpio0 14 GPIO_ACTIVE_LOW>; }; wlan2g4 { label = "zbt-ape522ii:green:wlan2g4"; - gpios = <&gpio3 0 1>; + gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; }; @@ -47,8 +50,8 @@ reset { label = "reset"; - gpios = <&gpio0 2 0>; - linux,code = <0x198>; + gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>; + linux,code = ; }; }; }; @@ -77,7 +80,6 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; - linux,modalias = "m25p80", "w25q64"; spi-max-frequency = <10000000>; partition@0 { @@ -113,6 +115,8 @@ &wmac { ralink,mtd-eeprom = <&factory 0>; + pinctrl-names = "default"; + pinctrl-0 = <&pa_pins>; }; &pcie { @@ -123,7 +127,7 @@ reg = <0x0000 0 0 0 0>; device_type = "pci"; mediatek,mtd-eeprom = <&factory 0x8000>; - mediatek,2ghz = <0>; + ieee80211-freq-limit = <5000000 6000000>; }; }; }; @@ -134,10 +138,5 @@ ralink,group = "wled", "i2c", "uartf", "wdt"; ralink,function = "gpio"; }; - - pa { - ralink,group = "pa"; - ralink,function = "pa"; - }; }; };