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-ax53u", "mediatek,mt7621-soc";
11 model = "ASUS RT-AX53U";
14 led-boot = &led_power;
15 led-failsafe = &led_power;
16 led-running = &led_power;
17 led-upgrade = &led_power;
18 label-mac-device = &gmac0;
22 bootargs = "console=ttyS0,115200";
23 bootargs-override = "console=ttyS0,115200";
27 compatible = "gpio-leds";
30 color = <LED_COLOR_ID_BLUE>;
31 function = LED_FUNCTION_POWER;
32 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
36 color = <LED_COLOR_ID_BLUE>;
37 function = LED_FUNCTION_USB;
38 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
39 trigger-sources = <&ehci_port2>;
40 linux,default-trigger = "usbport";
45 compatible = "gpio-keys";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_RESTART>;
55 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
65 mediatek,bmt-remap-range =
67 <0x35e0000 0x7800000>;
70 compatible = "fixed-partitions";
81 * u-boot gets split here while keeping u-boot read-only,
82 * which allows safe usage of fw_setenv
86 reg = <0x80000 0x60000>;
91 reg = <0xe0000 0x100000>;
95 factory: partition@1e0000 {
97 reg = <0x1e0000 0x100000>;
101 compatible = "fixed-layout";
102 #address-cells = <1>;
105 eeprom_factory_0: eeprom@0 {
109 macaddr_factory_4: macaddr@4 {
113 precal_factory_e10: precal@e10 {
114 reg = <0xe10 0x19c10>;
119 factory2: partition@2e0000 {
121 reg = <0x2e0000 0x100000>;
127 reg = <0x3e0000 0x3200000>;
129 compatible = "fixed-partitions";
130 #address-cells = <1>;
135 reg = <0x0 0x400000>;
140 reg = <0x400000 0x2e00000>;
146 reg = <0x35e0000 0x3200000>;
151 reg = <0x67e0000 0x1020000>;
154 /* Last 8M are reserved for NMBM management (bad blocks) */
164 compatible = "mediatek,mt76";
165 reg = <0x0000 0 0 0 0>;
166 nvmem-cells = <&eeprom_factory_0>, <&precal_factory_e10>;
167 nvmem-cell-names = "eeprom", "precal";
168 mediatek,disable-radar-background;
173 nvmem-cells = <&macaddr_factory_4>;
174 nvmem-cell-names = "mac-address";
180 phy-handle = <ðphy0>;
182 nvmem-cells = <&macaddr_factory_4>;
183 nvmem-cell-names = "mac-address";
187 ethphy0: ethernet-phy@0 {
213 groups = "i2c", "uart2", "uart3", "jtag", "wdt";