1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "asus,rt-ac57u-v1", "mediatek,mt7621-soc";
10 model = "ASUS RT-AC57U v1";
13 led-boot = &led_power;
14 led-failsafe = &led_power;
15 led-running = &led_power;
16 led-upgrade = &led_power;
20 compatible = "gpio-leds";
24 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
30 trigger-sources = <&ehci_port2>;
31 linux,default-trigger = "usbport";
36 compatible = "gpio-keys";
40 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_WPS_BUTTON>;
42 debounce-interval = <60>;
47 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_RESTART>;
49 debounce-interval = <60>;
54 compatible = "regulator-fixed";
55 regulator-name = "LED-Power";
56 gpio = <&gpio 46 GPIO_ACTIVE_LOW>;
57 regulator-min-microvolt = <3300000>;
58 regulator-max-microvolt = <3300000>;
67 compatible = "jedec,spi-nor";
69 spi-max-frequency = <10000000>;
72 compatible = "fixed-partitions";
84 reg = <0x30000 0x10000>;
88 factory: partition@40000 {
90 reg = <0x40000 0x10000>;
94 compatible = "fixed-layout";
98 eeprom_factory_0: eeprom@0 {
102 eeprom_factory_8000: eeprom@8000 {
103 reg = <0x8000 0x200>;
106 macaddr_factory_e000: macaddr@e000 {
110 macaddr_factory_e006: macaddr@e006 {
117 compatible = "denx,uimage";
119 reg = <0x50000 0xfb0000>;
131 compatible = "mediatek,mt76";
132 reg = <0x0000 0 0 0 0>;
133 nvmem-cells = <&eeprom_factory_8000>;
134 nvmem-cell-names = "eeprom";
145 compatible = "mediatek,mt76";
146 reg = <0x0000 0 0 0 0>;
147 nvmem-cells = <&eeprom_factory_0>;
148 nvmem-cell-names = "eeprom";
157 nvmem-cells = <&macaddr_factory_e000>;
158 nvmem-cell-names = "mac-address";
164 phy-handle = <ðphy0>;
166 nvmem-cells = <&macaddr_factory_e006>;
167 nvmem-cell-names = "mac-address";
171 ethphy0: ethernet-phy@0 {