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 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "rt-n14u:blue:wan";
21 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
25 label = "rt-n14u:blue:lan";
26 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
30 label = "rt-n14u:blue:usb";
31 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
32 trigger-sources = <&ohci_port1>, <&ehci_port1>;
33 linux,default-trigger = "usbport";
37 label = "rt-n14u:blue:power";
38 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
42 label = "rt-n14u:blue:air";
43 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
48 compatible = "gpio-keys-polled";
53 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
54 linux,code = <KEY_RESTART>;
59 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
60 linux,code = <KEY_WPS_BUTTON>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <10000000>;
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
98 factory: partition@40000 {
100 reg = <0x40000 0x10000>;
106 reg = <0x50000 0xfb0000>;
121 mtd-mac-address = <&factory 0x4>;
122 mediatek,portmap = "wllll";
126 ralink,mtd-eeprom = <&factory 0>;
130 state_default: pinctrl0 {
132 ralink,group = "ephy", "wled", "i2c";
133 ralink,function = "gpio";