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";
46 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RESTART>;
52 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_WPS_BUTTON>;
58 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
64 compatible = "gpio-export";
68 gpio-export,name = "usb";
69 gpio-export,output = <1>;
70 gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
87 compatible = "jedec,spi-nor";
89 spi-max-frequency = <10000000>;
92 compatible = "fixed-partitions";
103 label = "u-boot-env";
104 reg = <0x30000 0x10000>;
108 factory: partition@40000 {
110 reg = <0x40000 0x10000>;
116 reg = <0x50000 0x7b0000>;
123 state_default: pinctrl0 {
125 ralink,group = "i2c", "wdt", "pa", "spi refclk", "wled";
126 ralink,function = "gpio";
132 mtd-mac-address = <&factory 0x4>;
133 mediatek,portmap = "llllw";
137 ralink,mtd-eeprom = <&factory 0>;