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 bootargs = "console=ttyS0,57600n8";
24 compatible = "gpio-keys";
28 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_RESTART>;
34 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_WPS_BUTTON>;
40 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-leds";
49 label = "keenetic-extra-ii:green:power";
50 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
51 default-state = "keep";
55 label = "keenetic-extra-ii:green:internet";
56 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
60 label = "keenetic-extra-ii:green:wifi";
61 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
65 label = "keenetic-extra-ii:green:usb";
66 gpios = <&gpio0 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 = <&gpio0 6 GPIO_ACTIVE_HIGH>;
88 compatible = "jedec,spi-nor";
90 spi-max-frequency = <10000000>;
93 compatible = "fixed-partitions";
105 reg = <0x30000 0x10000>;
109 factory: partition@40000 {
111 reg = <0x40000 0x10000>;
116 compatible = "denx,uimage";
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>;
181 mtd-mac-address = <&factory 0x4>;
182 mediatek,portmap = "wllll";
195 reg = <0x0000 0 0 0 0>;
196 mediatek,mtd-eeprom = <&factory 0x8000>;
197 ieee80211-freq-limit = <5000000 6000000>;
202 state_default: pinctrl0 {
204 ralink,group = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
205 ralink,function = "gpio";