3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zbtlink,zbt-ape522ii", "ralink,mt7620a-soc";
10 model = "Zbtlink ZBT-APE522II";
13 bootargs = "console=ttyS0,115200";
17 compatible = "gpio-leds";
20 label = "zbt-ape522ii:green:sys1";
21 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
25 label = "zbt-ape522ii:green:sys2";
26 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
30 label = "zbt-ape522ii:green:sys3";
31 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
35 label = "zbt-ape522ii:green:sys4";
36 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
40 label = "zbt-ape522ii:green:wlan2g4";
41 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys-polled";
51 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
52 linux,code = <KEY_RESTART>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
93 reg = <0x30000 0x10000>;
97 factory: partition@40000 {
99 reg = <0x40000 0x10000>;
104 compatible = "denx,uimage";
106 reg = <0x50000 0xf80000>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&ephy_pins>;
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "wllll";
120 ralink,mtd-eeprom = <&factory 0>;
121 pinctrl-names = "default";
122 pinctrl-0 = <&pa_pins>;
131 reg = <0x0000 0 0 0 0>;
132 mediatek,mtd-eeprom = <&factory 0x8000>;
133 ieee80211-freq-limit = <5000000 6000000>;
138 state_default: pinctrl0 {
140 ralink,group = "wled", "i2c", "uartf", "wdt";
141 ralink,function = "gpio";