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>
11 led-failsafe = &led_cpu;
12 led-running = &led_cpu;
13 led-upgrade = &led_cpu;
14 label-mac-device = &gmac0;
18 compatible = "gpio-leds";
22 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
23 trigger-sources = <&xhci_ehci_port1>;
24 linux,default-trigger = "usbport";
28 label = "blue:wlan5g";
29 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
30 linux,default-trigger = "phy0radio";
34 label = "blue:wlan2g";
35 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
36 linux,default-trigger = "phy1radio";
41 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
46 compatible = "gpio-keys";
50 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
57 linux,code = <KEY_RESTART>;
66 compatible = "jedec,spi-nor";
68 spi-max-frequency = <80000000>;
72 compatible = "fixed-partitions";
84 reg = <0x20000 0x10000>;
88 factory: partition@30000 {
90 reg = <0x30000 0x10000>;
95 compatible = "denx,uimage";
97 reg = <0x40000 0xfc0000>;
105 groups = "i2c", "uart3", "jtag", "wdt";
111 nvmem-cells = <&macaddr_uboot_1fc20>;
112 nvmem-cell-names = "mac-address";
120 nvmem-cells = <&macaddr_uboot_1fc40>;
121 nvmem-cell-names = "mac-address";
152 compatible = "mediatek,mt76";
153 reg = <0x0000 0 0 0 0>;
154 mediatek,mtd-eeprom = <&factory 0x0>;
155 ieee80211-freq-limit = <5000000 6000000>;
161 compatible = "mediatek,mt76";
162 reg = <0x0000 0 0 0 0>;
163 mediatek,mtd-eeprom = <&factory 0x8000>;
164 ieee80211-freq-limit = <2400000 2500000>;
169 compatible = "nvmem-cells";
170 #address-cells = <1>;
173 macaddr_uboot_1fc20: macaddr@1fc20 {
177 macaddr_uboot_1fc40: macaddr@1fc40 {