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-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
23 label = "rt-n14u:blue:wan";
24 gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
28 label = "rt-n14u:blue:lan";
29 gpios = <&gpio2 1 GPIO_ACTIVE_LOW>;
33 label = "rt-n14u:blue:usb";
34 gpios = <&gpio2 2 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&ohci_port1>, <&ehci_port1>;
36 linux,default-trigger = "usbport";
40 label = "rt-n14u:blue:power";
41 gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
45 label = "rt-n14u:blue:air";
46 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
51 compatible = "gpio-keys-polled";
56 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
62 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_WPS_BUTTON>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <10000000>;
85 compatible = "fixed-partitions";
97 reg = <0x30000 0x10000>;
101 factory: partition@40000 {
103 reg = <0x40000 0x10000>;
108 compatible = "denx,uimage";
110 reg = <0x50000 0xfb0000>;
125 mtd-mac-address = <&factory 0x4>;
126 mediatek,portmap = "wllll";
130 ralink,mtd-eeprom = <&factory 0>;
134 state_default: pinctrl0 {
136 ralink,group = "ephy", "wled", "i2c";
137 ralink,function = "gpio";