3 #include "mt7620a.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-ac51u", "ralink,mt7620a-soc";
10 model = "Asus RT-AC51U";
13 led-status = &led_power;
17 compatible = "gpio-leds";
20 label = "rt-ac51u:blue:power";
21 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
25 label = "rt-ac51u:blue:usb";
26 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
30 label = "rt-ac51u:blue:wifi";
31 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
36 compatible = "gpio-keys-polled";
43 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_RESTART>;
49 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 compatible = "gpio-export";
59 gpio-export,name = "enable-leds";
60 gpio-export,output = <1>;
61 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
96 reg = <0x50000 0xfb0000>;
115 mtd-mac-address = <&factory 0x4>;
116 mediatek,portmap = "wllll";
120 ralink,mtd-eeprom = <&factory 0>;
124 state_default: pinctrl0 {
126 ralink,group = "i2c", "wled", "uartf";
127 ralink,function = "gpio";