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 compatible = "gpio-leds";
16 label = "rt-ac51u:blue:power";
17 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
21 label = "rt-ac51u:blue:usb";
22 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
26 label = "rt-ac51u:blue:wifi";
27 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-keys-polled";
39 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RESTART>;
45 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "gpio-export";
55 gpio-export,name = "enable-leds";
56 gpio-export,output = <1>;
57 gpios = <&gpio0 10 GPIO_ACTIVE_HIGH>;
68 compatible = "jedec,spi-nor";
70 spi-max-frequency = <10000000>;
80 reg = <0x30000 0x10000>;
84 factory: partition@40000 {
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0xfb0000>;
111 mtd-mac-address = <&factory 0x4>;
112 mediatek,portmap = "wllll";
116 ralink,mtd-eeprom = <&factory 0>;
120 state_default: pinctrl0 {
122 ralink,group = "i2c", "wled", "uartf";
123 ralink,function = "gpio";