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-ac85p", "mediatek,mt7621-soc";
11 model = "ASUS RT-AC85P";
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";
24 palmbus: palmbus@1E000000 {
31 compatible = "gpio-keys";
35 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
47 compatible = "gpio-leds";
50 label = "rt-ac85p:blue:power";
51 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
55 label = "rt-ac85p:blue:wlan2g";
56 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
57 linux,default-trigger = "phy0radio";
61 label = "rt-ac85p:blue:wlan5g";
62 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy1radio";
76 compatible = "fixed-partitions";
88 reg = <0xe0000 0x100000>;
92 factory: partition@1e0000 {
94 reg = <0x1e0000 0x100000>;
98 factory2: partition@2e0000 {
100 reg = <0x2e0000 0x100000>;
106 reg = <0x3e0000 0x400000>;
111 reg = <0x7e0000 0x2e00000>;
116 reg = <0x35e0000 0x3200000>;
127 compatible = "pci14c3,7615";
128 reg = <0x0000 0 0 0 0>;
129 mediatek,mtd-eeprom = <&factory 0x0000>;
130 ieee80211-freq-limit = <2400000 2500000>;
136 compatible = "pci14c3,7615";
137 reg = <0x0000 0 0 0 0>;
138 mediatek,mtd-eeprom = <&factory 0x8000>;
139 ieee80211-freq-limit = <5000000 6000000>;
144 mtd-mac-address = <&factory 0xe000>;
145 mediatek,portmap = "wllll";
156 state_default: pinctrl0 {
158 ralink,group = "uart2", "uart3", "i2c";
159 ralink,function = "gpio";