3 #include "mt7628an.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic-extra-ii", "mediatek,mt7628an-soc";
10 model = "ZyXEL Keenetic Extra II";
13 led-status = &led_power;
17 device_type = "memory";
18 reg = <0x0 0x8000000>;
22 bootargs = "console=ttyS0,57600n8";
26 compatible = "gpio-keys-polled";
33 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RESTART>;
39 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_WPS_BUTTON>;
45 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-leds";
54 label = "keenetic-extra-ii:green:power";
55 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
60 label = "keenetic-extra-ii:green:internet";
61 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
65 label = "keenetic-extra-ii:green:wifi";
66 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
70 label = "keenetic-extra-ii:green:usb";
71 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-export";
80 gpio-export,name = "usbpower";
81 gpio-export,output = <1>;
82 gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
96 m25p,chunked-io = <32>;
106 reg = <0x30000 0x10000>;
110 factory: partition@40000 {
112 reg = <0x40000 0x10000>;
118 reg = <0x50000 0xe90000>;
123 reg = <0xee0000 0x10000>;
129 reg = <0xef0000 0x100000>;
135 reg = <0xff0000 0x10000>;
141 reg = <0x1000000 0x30000>;
146 label = "u-config_res";
147 reg = <0x1030000 0x10000>;
152 label = "rf-eeprom_res";
153 reg = <0x1040000 0x10000>;
158 label = "firmware_2";
159 reg = <0x1050000 0xe90000>;
165 reg = <0x1ee0000 0x10000>;
180 mtd-mac-address = <&factory 0x4>;
181 mediatek,portmap = "wllll";
186 mediatek,mtd-eeprom = <&factory 0x0>;
195 reg = <0x0000 0 0 0 0>;
196 mediatek,mtd-eeprom = <&factory 0x8000>;
197 ieee80211-freq-limit = <5000000 6000000>;
198 mtd-mac-address = <&factory 0x8004>;
203 state_default: pinctrl0 {
205 ralink,group = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
206 ralink,function = "gpio";