3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic-omni", "ralink,mt7620n-soc";
10 model = "ZyXEL Keenetic Omni";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "keenetic-omni:green:wan";
24 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
28 label = "keenetic-omni:green:usb";
29 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ohci_port1>, <&ehci_port1>;
31 linux,default-trigger = "usbport";
35 label = "keenetic-omni:green:wifi";
36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
40 label = "keenetic-omni:green:power";
41 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
56 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_WPS_BUTTON>;
62 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
68 compatible = "gpio-export";
72 gpio-export,name = "usb";
73 gpio-export,output = <1>;
74 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
96 compatible = "fixed-partitions";
107 label = "u-boot-env";
108 reg = <0x30000 0x10000>;
112 factory: partition@40000 {
114 reg = <0x40000 0x10000>;
119 compatible = "denx,uimage";
121 reg = <0x50000 0x7b0000>;
128 state_default: pinctrl0 {
130 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
131 ralink,function = "gpio";
137 mtd-mac-address = <&factory 0x4>;
138 mediatek,portmap = "llllw";
142 ralink,mtd-eeprom = <&factory 0>;