3 #include "mt7620n.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
10 model = "Asus RT-N14U";
13 compatible = "gpio-leds";
16 label = "rt-n14u:blue:wan";
17 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
21 label = "rt-n14u:blue:lan";
22 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
26 label = "rt-n14u:blue:usb";
27 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
31 label = "rt-n14u:blue:power";
32 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
36 label = "rt-n14u:blue:air";
37 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
42 compatible = "gpio-keys-polled";
49 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
75 compatible = "jedec,spi-nor";
77 spi-max-frequency = <10000000>;
87 reg = <0x30000 0x10000>;
91 factory: partition@40000 {
93 reg = <0x40000 0x10000>;
99 reg = <0x50000 0xfb0000>;
113 mtd-mac-address = <&factory 0x4>;
114 mediatek,portmap = "wllll";
118 ralink,mtd-eeprom = <&factory 0>;
122 state_default: pinctrl0 {
124 ralink,group = "ephy", "wled", "i2c";
125 ralink,function = "gpio";