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>
7 #include <dt-bindings/leds/common.h>
10 compatible = "asus,rt-ac57u-v1", "mediatek,mt7621-soc";
11 model = "ASUS RT-AC57U v1";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
21 compatible = "gpio-leds";
24 function = LED_FUNCTION_POWER;
25 color = <LED_COLOR_ID_BLUE>;
26 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
30 function = LED_FUNCTION_USB;
31 color = <LED_COLOR_ID_BLUE>;
32 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ehci_port2>;
34 linux,default-trigger = "usbport";
39 compatible = "gpio-keys";
43 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
45 debounce-interval = <60>;
50 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RESTART>;
52 debounce-interval = <60>;
57 compatible = "regulator-fixed";
58 regulator-name = "LED-Power";
59 gpio = <&gpio 46 GPIO_ACTIVE_LOW>;
60 regulator-min-microvolt = <3300000>;
61 regulator-max-microvolt = <3300000>;
70 compatible = "jedec,spi-nor";
72 spi-max-frequency = <10000000>;
75 compatible = "fixed-partitions";
87 reg = <0x30000 0x10000>;
93 reg = <0x40000 0x10000>;
97 compatible = "fixed-layout";
101 eeprom_factory_0: eeprom@0 {
105 eeprom_factory_8000: eeprom@8000 {
106 reg = <0x8000 0x200>;
109 macaddr_factory_e000: macaddr@e000 {
113 macaddr_factory_e006: macaddr@e006 {
120 compatible = "denx,uimage";
122 reg = <0x50000 0xfb0000>;
134 compatible = "mediatek,mt76";
135 reg = <0x0000 0 0 0 0>;
136 nvmem-cells = <&eeprom_factory_8000>;
137 nvmem-cell-names = "eeprom";
148 compatible = "mediatek,mt76";
149 reg = <0x0000 0 0 0 0>;
150 nvmem-cells = <&eeprom_factory_0>;
151 nvmem-cell-names = "eeprom";
160 nvmem-cells = <&macaddr_factory_e000>;
161 nvmem-cell-names = "mac-address";
167 phy-handle = <ðphy0>;
169 nvmem-cells = <&macaddr_factory_e006>;
170 nvmem-cell-names = "mac-address";
174 ethphy0: ethernet-phy@0 {