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 = "keenetic-extra-ii:green:power";
48 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
49 default-state = "keep";
53 label = "keenetic-extra-ii:green:internet";
54 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
58 label = "keenetic-extra-ii:green:wifi";
59 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
63 label = "keenetic-extra-ii:green:usb";
64 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
65 trigger-sources = <&ohci_port1>, <&ehci_port1>;
66 linux,default-trigger = "usbport";
71 compatible = "gpio-export";
75 gpio-export,name = "usbpower";
76 gpio-export,output = <1>;
77 gpios = <&gpio 6 GPIO_ACTIVE_HIGH>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
91 compatible = "fixed-partitions";
103 reg = <0x30000 0x10000>;
107 factory: partition@40000 {
109 reg = <0x40000 0x10000>;
114 compatible = "denx,uimage";
116 reg = <0x50000 0xe90000>;
121 reg = <0xee0000 0x10000>;
127 reg = <0xef0000 0x100000>;
133 reg = <0xff0000 0x10000>;
139 reg = <0x1000000 0x30000>;
144 label = "u-config_res";
145 reg = <0x1030000 0x10000>;
150 label = "rf-eeprom_res";
151 reg = <0x1040000 0x10000>;
156 label = "firmware_2";
157 reg = <0x1050000 0xe90000>;
163 reg = <0x1ee0000 0x10000>;
179 mtd-mac-address = <&factory 0x4>;
183 mediatek,portmap = <0x3e>;
196 reg = <0x0000 0 0 0 0>;
197 mediatek,mtd-eeprom = <&factory 0x8000>;
198 ieee80211-freq-limit = <5000000 6000000>;
204 groups = "gpio", "i2s", "refclk", "spi cs1", "uart1", "wled_an";