1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
7 compatible = "zyxel,keenetic-extra-ii", "mediatek,mt7628an-soc";
8 model = "ZyXEL Keenetic Extra II";
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,57600n8";
22 compatible = "gpio-keys";
26 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
27 linux,code = <KEY_RESTART>;
32 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_WPS_BUTTON>;
38 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-leds";
47 label = "green:power";
48 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
52 label = "green:internet";
53 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
64 trigger-sources = <&ohci_port1>, <&ehci_port1>;
65 linux,default-trigger = "usbport";
70 compatible = "gpio-export";
74 gpio-export,name = "usbpower";
75 gpio-export,output = <1>;
76 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
81 compatible = "mtd-concat";
82 devices = <&firmware1 &firmware2>;
85 compatible = "fixed-partitions";
90 compatible = "denx,uimage";
92 reg = <0x0 0x1d20000>;
102 compatible = "jedec,spi-nor";
104 spi-max-frequency = <32000000>;
107 compatible = "fixed-partitions";
108 #address-cells = <1>;
119 reg = <0x30000 0x10000>;
123 factory: partition@40000 {
125 reg = <0x40000 0x10000>;
129 compatible = "fixed-layout";
130 #address-cells = <1>;
133 eeprom_factory_0: eeprom@0 {
137 eeprom_factory_8000: eeprom@8000 {
138 reg = <0x8000 0x200>;
141 macaddr_factory_4: macaddr@4 {
147 firmware1: partition@50000 {
148 label = "firmware_1";
149 reg = <0x50000 0xe90000>;
154 reg = <0xee0000 0x10000>;
160 reg = <0xef0000 0x100000>;
166 reg = <0xff0000 0x10000>;
172 reg = <0x1000000 0x30000>;
177 label = "u-config_res";
178 reg = <0x1030000 0x10000>;
183 label = "rf-eeprom_res";
184 reg = <0x1040000 0x10000>;
188 firmware2: partition@1050000 {
189 label = "firmware_2";
190 reg = <0x1050000 0xe90000>;
195 reg = <0x1ee0000 0x10000>;
203 nvmem-cells = <&macaddr_factory_4>;
204 nvmem-cell-names = "mac-address";
208 mediatek,portmap = <0x3e>;
214 nvmem-cells = <&eeprom_factory_0>;
215 nvmem-cell-names = "eeprom";
224 compatible = "mediatek,mt76";
225 reg = <0x0000 0 0 0 0>;
226 nvmem-cells = <&eeprom_factory_8000>;
227 nvmem-cell-names = "eeprom";
228 ieee80211-freq-limit = <5000000 6000000>;
234 groups = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";