3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "zyxel,keenetic-omni-ii", "ralink,mt7620n-soc";
10 model = "ZyXEL Keenetic Omni II";
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 = <&gpio0 20 GPIO_ACTIVE_LOW>;
27 trigger-sources = <&ohci_port1>, <&ehci_port1>;
28 linux,default-trigger = "usbport";
32 label = "kn_rc:green:wifi";
33 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
37 label = "kn_rc:green:power";
38 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
43 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>;
89 compatible = "jedec,spi-nor";
91 spi-max-frequency = <10000000>;
94 compatible = "fixed-partitions";
105 label = "u-boot-env";
106 reg = <0x30000 0x10000>;
110 factory: partition@40000 {
112 reg = <0x40000 0x10000>;
118 reg = <0x50000 0x7b0000>;
125 state_default: pinctrl0 {
127 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
128 ralink,function = "gpio";
134 mtd-mac-address = <&factory 0x4>;
135 mediatek,portmap = "wllll";
139 ralink,mtd-eeprom = <&factory 0>;