3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "ZyXEL Keenetic Omni II";
12 compatible = "gpio-leds";
15 label = "kn_rc:green:wan";
16 gpios = <&gpio0 38 GPIO_ACTIVE_LOW>;
20 label = "kn_rc:green:usb";
21 gpios = <&gpio0 20 GPIO_ACTIVE_LOW>;
25 label = "kn_rc:green:wifi";
26 gpios = <&gpio0 72 GPIO_ACTIVE_LOW>;
30 label = "kn_rc:green:power";
31 gpios = <&gpio0 39 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>;
78 compatible = "jedec,spi-nor";
80 spi-max-frequency = <10000000>;
90 reg = <0x30000 0x10000>;
94 factory: partition@40000 {
96 reg = <0x40000 0x10000>;
102 reg = <0x50000 0x7b0000>;
108 state_default: pinctrl0 {
110 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
111 ralink,function = "gpio";
117 mtd-mac-address = <&factory 0x4>;
118 ralink,port-map = "wllll";
122 ralink,mtd-eeprom = <&factory 0>;