1 #include "mt7620a.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zbtlink,zbt-ape522ii", "ralink,mt7620a-soc";
8 model = "Zbtlink ZBT-APE522II";
11 bootargs = "console=ttyS0,115200";
15 compatible = "gpio-leds";
19 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
24 gpios = <&gpio0 12 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
38 label = "green:wlan2g4";
39 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-keys";
48 gpios = <&gpio0 2 GPIO_ACTIVE_HIGH>;
49 linux,code = <KEY_RESTART>;
62 compatible = "jedec,spi-nor";
64 spi-max-frequency = <10000000>;
67 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
83 compatible = "nvmem-cells";
85 reg = <0x40000 0x10000>;
90 eeprom_factory_0: eeprom@0 {
94 eeprom_factory_8000: eeprom@8000 {
98 macaddr_factory_4: macaddr@4 {
104 compatible = "denx,uimage";
106 reg = <0x50000 0xf80000>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&ephy_pins>;
116 nvmem-cells = <&macaddr_factory_4>;
117 nvmem-cell-names = "mac-address";
119 mediatek,portmap = "llllw";
123 pinctrl-names = "default", "pa_gpio";
124 pinctrl-0 = <&pa_pins>;
125 pinctrl-1 = <&pa_gpio_pins>;
126 nvmem-cells = <&eeprom_factory_0>;
127 nvmem-cell-names = "eeprom";
136 reg = <0x0000 0 0 0 0>;
137 nvmem-cells = <&eeprom_factory_8000>;
138 nvmem-cell-names = "eeprom";
139 ieee80211-freq-limit = <5000000 6000000>;
145 groups = "wled", "i2c", "uartf", "wdt";