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 compatible = "gpio-leds";
16 label = "kn_rc:green:wan";
17 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
21 label = "kn_rc:green:usb";
22 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
26 label = "kn_rc:green:wifi";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
31 label = "kn_rc:green:power";
32 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
37 compatible = "gpio-keys";
44 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RESTART>;
50 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
56 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-export";
66 gpio-export,name = "usb";
67 gpio-export,output = <1>;
68 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
99 reg = <0x30000 0x10000>;
103 factory: partition@40000 {
105 reg = <0x40000 0x10000>;
111 reg = <0x50000 0x7b0000>;
117 state_default: pinctrl0 {
119 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
120 ralink,function = "gpio";
126 mtd-mac-address = <&factory 0x4>;
127 mediatek,portmap = "llllw";
131 ralink,mtd-eeprom = <&factory 0>;