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>;
37 compatible = "gpio-keys";
41 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_RESTART>;
47 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
48 linux,code = <KEY_WPS_BUTTON>;
57 compatible = "fixed-partitions";
69 reg = <0xe0000 0x100000>;
73 factory: partition@1e0000 {
75 reg = <0x1e0000 0x100000>;
78 compatible = "nvmem-cells";
82 macaddr_factory_4: macaddr@4 {
87 factory2: partition@2e0000 {
89 reg = <0x2e0000 0x100000>;
95 reg = <0x3e0000 0x400000>;
100 reg = <0x7e0000 0x2e00000>;
105 reg = <0x35e0000 0x3200000>;
108 /* Last 8M possibly store the bad block table */
118 compatible = "mediatek,mt76";
119 reg = <0x0000 0 0 0 0>;
120 mediatek,mtd-eeprom = <&factory 0x0000>;
125 nvmem-cells = <&macaddr_factory_4>;
126 nvmem-cell-names = "mac-address";
132 phy-handle = <ðphy0>;
134 nvmem-cells = <&macaddr_factory_4>;
135 nvmem-cell-names = "mac-address";
139 ethphy0: ethernet-phy@0 {
170 groups = "i2c", "uart2", "uart3", "jtag", "wdt";