3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "zbtlink,zbt-ape522ii", "ralink,mt7620a-soc";
9 model = "ZBT-APE522II";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
19 label = "zbt-ape522ii:green:sys1";
20 gpios = <&gpio0 11 1>;
24 label = "zbt-ape522ii:green:sys2";
25 gpios = <&gpio0 12 1>;
29 label = "zbt-ape522ii:green:sys3";
34 label = "zbt-ape522ii:green:sys4";
35 gpios = <&gpio0 14 1>;
39 label = "zbt-ape522ii:green:wlan2g4";
45 compatible = "gpio-keys-polled";
53 linux,code = <KEY_RESTART>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
91 reg = <0x30000 0x10000>;
95 factory: partition@40000 {
97 reg = <0x40000 0x10000>;
103 reg = <0x50000 0xf80000>;
109 pinctrl-names = "default";
110 pinctrl-0 = <&ephy_pins>;
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
116 ralink,mtd-eeprom = <&factory 0>;
124 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x8000>;
127 ieee80211-freq-limit = <5000000 6000000>;
133 state_default: pinctrl0 {
135 ralink,group = "wled", "i2c", "uartf", "wdt";
136 ralink,function = "gpio";
141 ralink,function = "pa";