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-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-ac51u:blue:power";
24 gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
28 label = "rt-ac51u:blue:usb";
29 gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ohci_port1>, <&ehci_port1>;
31 linux,default-trigger = "usbport";
35 label = "rt-ac51u:blue:wifi";
36 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
41 compatible = "gpio-keys";
45 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RESTART>;
51 gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
61 compatible = "jedec,spi-nor";
63 spi-max-frequency = <10000000>;
66 compatible = "fixed-partitions";
78 reg = <0x30000 0x10000>;
82 factory: partition@40000 {
84 reg = <0x40000 0x10000>;
89 compatible = "denx,uimage";
91 reg = <0x50000 0xfb0000>;
108 line-name = "enable-leds";
110 gpios = <10 GPIO_ACTIVE_HIGH>;
120 mtd-mac-address = <&factory 0x4>;
121 mediatek,portmap = "wllll";
125 ralink,mtd-eeprom = <&factory 0>;
129 state_default: pinctrl0 {
131 ralink,group = "i2c", "wled", "uartf";
132 ralink,function = "gpio";
143 reg = <0x0000 0 0 0 0>;
144 mediatek,mtd-eeprom = <&factory 0x8000>;