3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "ZyXEL Keenetic Omni";
12 compatible = "gpio-leds";
15 label = "kn_rc:green:wan";
16 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
20 label = "kn_rc:green:usb";
21 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
25 label = "kn_rc:green:wifi";
26 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
30 label = "kn_rc:green:power";
31 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
61 compatible = "gpio-export";
65 gpio-export,name = "usb";
66 gpio-export,output = <1>;
67 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
86 compatible = "jedec,spi-nor";
88 spi-max-frequency = <10000000>;
98 reg = <0x30000 0x10000>;
102 factory: partition@40000 {
104 reg = <0x40000 0x10000>;
110 reg = <0x50000 0x7b0000>;
116 state_default: pinctrl0 {
118 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
119 ralink,function = "gpio";
125 mtd-mac-address = <&factory 0x4>;
126 mediatek,portmap = "llllw";
130 ralink,mtd-eeprom = <&factory 0>;