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";
51 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_RESTART>;
57 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
58 linux,code = <KEY_WPS_BUTTON>;
63 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
69 compatible = "gpio-export";
73 gpio-export,name = "usb";
74 gpio-export,output = <1>;
75 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
92 compatible = "jedec,spi-nor";
94 spi-max-frequency = <10000000>;
97 compatible = "fixed-partitions";
108 label = "u-boot-env";
109 reg = <0x30000 0x10000>;
113 factory: partition@40000 {
115 reg = <0x40000 0x10000>;
120 compatible = "denx,uimage";
122 reg = <0x50000 0x7b0000>;
129 state_default: pinctrl0 {
131 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
132 ralink,function = "gpio";
138 mtd-mac-address = <&factory 0x4>;
139 mediatek,portmap = "llllw";
143 ralink,mtd-eeprom = <&factory 0>;