1 #include "mt7628an.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zyxel,keenetic-extra-ii", "mediatek,mt7628an-soc";
9 model = "ZyXEL Keenetic Extra II";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 bootargs = "console=ttyS0,57600n8";
23 compatible = "gpio-keys";
27 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_WPS_BUTTON>;
39 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-leds";
48 function = LED_FUNCTION_POWER;
49 color = <LED_COLOR_ID_GREEN>;
50 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
54 label = "green:internet";
55 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
64 function = LED_FUNCTION_USB;
65 color = <LED_COLOR_ID_GREEN>;
66 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
67 trigger-sources = <&ohci_port1>, <&ehci_port1>;
68 linux,default-trigger = "usbport";
73 compatible = "gpio-export";
77 gpio-export,name = "usbpower";
78 gpio-export,output = <1>;
79 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
84 compatible = "mtd-concat";
85 devices = <&firmware1 &firmware2>;
88 compatible = "fixed-partitions";
93 compatible = "denx,uimage";
95 reg = <0x0 0x1d20000>;
105 compatible = "jedec,spi-nor";
107 spi-max-frequency = <32000000>;
110 compatible = "fixed-partitions";
111 #address-cells = <1>;
122 reg = <0x30000 0x10000>;
126 factory: partition@40000 {
128 reg = <0x40000 0x10000>;
132 compatible = "fixed-layout";
133 #address-cells = <1>;
136 eeprom_factory_0: eeprom@0 {
140 eeprom_factory_8000: eeprom@8000 {
141 reg = <0x8000 0x200>;
144 macaddr_factory_4: macaddr@4 {
150 firmware1: partition@50000 {
151 label = "firmware_1";
152 reg = <0x50000 0xe90000>;
157 reg = <0xee0000 0x10000>;
163 reg = <0xef0000 0x100000>;
169 reg = <0xff0000 0x10000>;
175 reg = <0x1000000 0x30000>;
180 label = "u-config_res";
181 reg = <0x1030000 0x10000>;
186 label = "rf-eeprom_res";
187 reg = <0x1040000 0x10000>;
191 firmware2: partition@1050000 {
192 label = "firmware_2";
193 reg = <0x1050000 0xe90000>;
198 reg = <0x1ee0000 0x10000>;
206 nvmem-cells = <&macaddr_factory_4>;
207 nvmem-cell-names = "mac-address";
211 mediatek,portmap = <0x3e>;
217 nvmem-cells = <&eeprom_factory_0>;
218 nvmem-cell-names = "eeprom";
227 compatible = "mediatek,mt76";
228 reg = <0x0000 0 0 0 0>;
229 nvmem-cells = <&eeprom_factory_8000>;
230 nvmem-cell-names = "eeprom";
231 ieee80211-freq-limit = <5000000 6000000>;
237 groups = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";