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-status = &led_power;
17 compatible = "gpio-leds";
20 label = "kn_rc:green:wan";
21 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
25 label = "kn_rc:green:usb";
26 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
30 label = "kn_rc:green:wifi";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
35 label = "kn_rc:green:power";
36 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
48 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
49 linux,code = <KEY_RESTART>;
54 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
55 linux,code = <KEY_WPS_BUTTON>;
60 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
66 compatible = "gpio-export";
70 gpio-export,name = "usb";
71 gpio-export,output = <1>;
72 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
91 compatible = "jedec,spi-nor";
93 spi-max-frequency = <10000000>;
102 label = "u-boot-env";
103 reg = <0x30000 0x10000>;
107 factory: partition@40000 {
109 reg = <0x40000 0x10000>;
115 reg = <0x50000 0x7b0000>;
121 state_default: pinctrl0 {
123 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
124 ralink,function = "gpio";
130 mtd-mac-address = <&factory 0x4>;
131 mediatek,portmap = "llllw";
135 ralink,mtd-eeprom = <&factory 0>;