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>
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,57600";
21 palmbus: palmbus@1E000000 {
28 compatible = "gpio-keys";
32 gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio0 6 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_WPS_BUTTON>;
44 compatible = "gpio-leds";
47 label = "rt-ac85p:blue:power";
48 gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy0tpt";
52 label = "rt-ac85p:blue:wlan2g";
53 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy0radio";
58 label = "rt-ac85p:blue:wlan5g";
59 gpios = <&gpio0 8 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy1radio";
73 compatible = "fixed-partitions";
85 reg = <0xe0000 0x100000>;
89 factory: partition@1e0000 {
91 reg = <0x1e0000 0x100000>;
95 factory2: partition@2e0000 {
97 reg = <0x2e0000 0x100000>;
103 reg = <0x3e0000 0x400000>;
108 reg = <0x7e0000 0x2e00000>;
113 reg = <0x35e0000 0x3200000>;
124 compatible = "pci14c3,7615";
125 reg = <0x0000 0 0 0 0>;
126 mediatek,mtd-eeprom = <&factory 0x0000>;
127 ieee80211-freq-limit = <2400000 2500000>;
133 compatible = "pci14c3,7615";
134 reg = <0x0000 0 0 0 0>;
135 mediatek,mtd-eeprom = <&factory 0x8000>;
136 ieee80211-freq-limit = <5000000 6000000>;
141 mtd-mac-address = <&factory 0xe000>;
142 mediatek,portmap = "wllll";
153 state_default: pinctrl0 {
155 ralink,group = "uart2", "uart3", "i2c";
156 ralink,function = "gpio";