1 // SPDX-License-Identifier: GPL-2.0-only
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 label-mac-device = &gmac0;
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 bootargs = "console=ttyS0,115200n8";
22 compatible = "gpio-keys";
26 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
27 debounce-interval = <60>;
28 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
34 debounce-interval = <60>;
35 linux,code = <KEY_RESTART>;
40 compatible = "gpio-leds";
43 label = "green:power";
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
54 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
58 label = "green:wifi5g";
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy1tpt";
64 label = "green:wifi2g";
65 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
66 linux,default-trigger = "phy0tpt";
71 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
80 compatible = "jedec,spi-nor";
82 spi-max-frequency = <40000000>;
85 compatible = "fixed-partitions";
97 compatible = "denx,uimage";
98 reg = <0x40000 0xf60000>;
101 config: partition@fa0000 {
103 reg = <0xfa0000 0x50000>;
107 radio: partition@ff0000 {
109 reg = <0xff0000 0x10000>;
118 groups = "i2c", "rgmii2", "uart2", "uart3", "jtag", "wdt";
129 compatible = "mediatek,mt76";
130 reg = <0x0000 0 0 0 0>;
131 mediatek,mtd-eeprom = <&radio 0x0>;
132 nvmem-cells = <&macaddr_config_8>;
133 nvmem-cell-names = "mac-address";
134 mac-address-increment = <1>;
135 ieee80211-freq-limit = <2400000 2500000>;
141 compatible = "mediatek,mt76";
142 reg = <0x0000 0 0 0 0>;
143 mediatek,mtd-eeprom = <&radio 0x8000>;
144 nvmem-cells = <&macaddr_config_8>;
145 nvmem-cell-names = "mac-address";
146 mac-address-increment = <2>;
147 ieee80211-freq-limit = <5000000 6000000>;
152 pinctrl-0 = <&mdio_pins>, <&rgmii1_pins>;
156 nvmem-cells = <&macaddr_config_8>;
157 nvmem-cell-names = "mac-address";
190 compatible = "nvmem-cells";
191 #address-cells = <1>;
194 macaddr_config_8: macaddr@8 {