1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "asus,rt-ac57u", "mediatek,mt7621-soc";
11 model = "ASUS RT-AC57U";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
28 label = "rt-ac57u:blue:power";
29 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
33 label = "rt-ac57u:blue:usb";
34 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
35 trigger-sources = <&ehci_port2>;
36 linux,default-trigger = "usbport";
41 compatible = "gpio-keys";
45 gpios = <&gpio1 11 GPIO_ACTIVE_HIGH>;
46 linux,code = <KEY_WPS_BUTTON>;
47 debounce-interval = <60>;
52 gpios = <&gpio1 9 GPIO_ACTIVE_LOW>;
53 linux,code = <KEY_RESTART>;
54 debounce-interval = <60>;
59 compatible = "regulator-fixed";
60 regulator-name = "LED-Power";
61 gpio = <&gpio1 14 GPIO_ACTIVE_LOW>;
62 regulator-min-microvolt = <3300000>;
63 regulator-max-microvolt = <3300000>;
72 compatible = "jedec,spi-nor";
74 spi-max-frequency = <10000000>;
77 compatible = "fixed-partitions";
89 reg = <0x30000 0x10000>;
93 factory: partition@40000 {
95 reg = <0x40000 0x10000>;
100 compatible = "denx,uimage";
102 reg = <0x50000 0xfb0000>;
114 compatible = "mediatek,mt76";
115 reg = <0x0000 0 0 0 0>;
116 mediatek,mtd-eeprom = <&factory 0x8000>;
127 compatible = "mediatek,mt76";
128 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&factory 0x0000>;
138 mtd-mac-address = <&factory 0xe000>;
143 ralink,group = "sdhci";
144 ralink,function = "gpio";