1 #include "mt7620n.dtsi"
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/leds/common.h>
8 compatible = "zyxel,keenetic-omni-ii", "ralink,mt7620n-soc";
9 model = "ZyXEL Keenetic Omni II";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
19 compatible = "gpio-leds";
22 function = LED_FUNCTION_WAN;
23 color = <LED_COLOR_ID_GREEN>;
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
28 function = LED_FUNCTION_USB;
29 color = <LED_COLOR_ID_GREEN>;
30 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&ohci_port1>, <&ehci_port1>;
32 linux,default-trigger = "usbport";
37 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
41 function = LED_FUNCTION_POWER;
42 color = <LED_COLOR_ID_GREEN>;
43 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys";
52 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
58 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
59 linux,code = <KEY_WPS_BUTTON>;
64 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
70 compatible = "gpio-export";
74 gpio-export,name = "usb";
75 gpio-export,output = <1>;
76 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
93 compatible = "jedec,spi-nor";
95 spi-max-frequency = <10000000>;
98 compatible = "fixed-partitions";
109 label = "u-boot-env";
110 reg = <0x30000 0x10000>;
116 reg = <0x40000 0x10000>;
120 compatible = "fixed-layout";
121 #address-cells = <1>;
124 eeprom_factory_0: eeprom@0 {
128 macaddr_factory_4: macaddr@4 {
135 compatible = "denx,uimage";
137 reg = <0x50000 0x7b0000>;
145 groups = "i2c", "wdt", "pa", "spi refclk", "wled";
151 nvmem-cells = <&macaddr_factory_4>;
152 nvmem-cell-names = "mac-address";
154 mediatek,portmap = "wllll";
158 nvmem-cells = <&eeprom_factory_0>;
159 nvmem-cell-names = "eeprom";