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 firmware1: partition@50000 {
130 label = "firmware_1";
131 reg = <0x50000 0xe90000>;
136 reg = <0xee0000 0x10000>;
142 reg = <0xef0000 0x100000>;
148 reg = <0xff0000 0x10000>;
154 reg = <0x1000000 0x30000>;
159 label = "u-config_res";
160 reg = <0x1030000 0x10000>;
165 label = "rf-eeprom_res";
166 reg = <0x1040000 0x10000>;
170 firmware2: partition@1050000 {
171 label = "firmware_2";
172 reg = <0x1050000 0xe90000>;
177 reg = <0x1ee0000 0x10000>;
185 nvmem-cells = <&macaddr_factory_4>;
186 nvmem-cell-names = "mac-address";
190 mediatek,portmap = <0x3e>;
196 mediatek,mtd-eeprom = <&factory 0x0>;
205 compatible = "mediatek,mt76";
206 reg = <0x0000 0 0 0 0>;
207 mediatek,mtd-eeprom = <&factory 0x8000>;
208 ieee80211-freq-limit = <5000000 6000000>;
214 groups = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
220 compatible = "nvmem-cells";
221 #address-cells = <1>;
224 macaddr_factory_4: macaddr@4 {