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";
31 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
37 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_WPS_BUTTON>;
43 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
49 compatible = "gpio-leds";
52 label = "keenetic-extra-ii:green:power";
53 gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
58 label = "keenetic-extra-ii:green:internet";
59 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
63 label = "keenetic-extra-ii:green:wifi";
64 gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
68 label = "keenetic-extra-ii:green:usb";
69 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
70 trigger-sources = <&ohci_port1>, <&ehci_port1>;
71 linux,default-trigger = "usbport";
76 compatible = "gpio-export";
80 gpio-export,name = "usbpower";
81 gpio-export,output = <1>;
82 gpios = <&gpio0 6 GPIO_ACTIVE_HIGH>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
94 m25p,chunked-io = <32>;
97 compatible = "fixed-partitions";
109 reg = <0x30000 0x10000>;
113 factory: partition@40000 {
115 reg = <0x40000 0x10000>;
121 reg = <0x50000 0xe90000>;
126 reg = <0xee0000 0x10000>;
132 reg = <0xef0000 0x100000>;
138 reg = <0xff0000 0x10000>;
144 reg = <0x1000000 0x30000>;
149 label = "u-config_res";
150 reg = <0x1030000 0x10000>;
155 label = "rf-eeprom_res";
156 reg = <0x1040000 0x10000>;
161 label = "firmware_2";
162 reg = <0x1050000 0xe90000>;
168 reg = <0x1ee0000 0x10000>;
184 mtd-mac-address = <&factory 0x4>;
185 mediatek,portmap = "wllll";
190 mediatek,mtd-eeprom = <&factory 0x0>;
199 reg = <0x0000 0 0 0 0>;
200 mediatek,mtd-eeprom = <&factory 0x8000>;
201 ieee80211-freq-limit = <5000000 6000000>;
202 mtd-mac-address = <&factory 0x8004>;
207 state_default: pinctrl0 {
209 ralink,group = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";
210 ralink,function = "gpio";