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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 device_type = "memory";
21 reg = <0x0 0x8000000>;
25 bootargs = "console=ttyS0,57600n8";
29 compatible = "gpio-keys-polled";
34 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
40 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
46 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
52 compatible = "gpio-leds";
55 label = "keenetic-extra-ii:green:power";
56 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
57 default-state = "keep";
61 label = "keenetic-extra-ii:green:internet";
62 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
66 label = "keenetic-extra-ii:green:wifi";
67 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
71 label = "keenetic-extra-ii:green:usb";
72 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
73 trigger-sources = <&ohci_port1>, <&ehci_port1>;
74 linux,default-trigger = "usbport";
79 compatible = "gpio-export";
83 gpio-export,name = "usbpower";
84 gpio-export,output = <1>;
85 gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
94 compatible = "jedec,spi-nor";
96 spi-max-frequency = <10000000>;
97 m25p,chunked-io = <32>;
100 compatible = "fixed-partitions";
101 #address-cells = <1>;
112 reg = <0x30000 0x10000>;
116 factory: partition@40000 {
118 reg = <0x40000 0x10000>;
123 compatible = "denx,uimage";
125 reg = <0x50000 0xe90000>;
130 reg = <0xee0000 0x10000>;
136 reg = <0xef0000 0x100000>;
142 reg = <0xff0000 0x10000>;
148 reg = <0x1000000 0x30000>;
153 label = "u-config_res";
154 reg = <0x1030000 0x10000>;
159 label = "rf-eeprom_res";
160 reg = <0x1040000 0x10000>;
165 label = "firmware_2";
166 reg = <0x1050000 0xe90000>;
172 reg = <0x1ee0000 0x10000>;
188 mtd-mac-address = <&factory 0x4>;
189 mediatek,portmap = "wllll";
194 mediatek,mtd-eeprom = <&factory 0x0>;
203 reg = <0x0000 0 0 0 0>;
204 mediatek,mtd-eeprom = <&factory 0x8000>;
205 ieee80211-freq-limit = <5000000 6000000>;
206 mtd-mac-address = <&factory 0x8004>;
211 state_default: pinctrl0 {
213 ralink,group = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
214 ralink,function = "gpio";