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";
82 compatible = "fixed-layout";
86 macaddr_uboot_1fc20: macaddr@1fc20 {
90 macaddr_uboot_1fc40: macaddr@1fc40 {
98 reg = <0x20000 0x10000>;
102 factory: partition@30000 {
104 reg = <0x30000 0x10000>;
108 compatible = "fixed-layout";
109 #address-cells = <1>;
112 eeprom_factory_0: eeprom@0 {
116 eeprom_factory_8000: eeprom@8000 {
117 reg = <0x8000 0x4da8>;
123 compatible = "denx,uimage";
125 reg = <0x40000 0xfc0000>;
133 groups = "i2c", "uart3", "jtag", "wdt";
139 nvmem-cells = <&macaddr_uboot_1fc20>;
140 nvmem-cell-names = "mac-address";
146 phy-handle = <ðphy0>;
148 nvmem-cells = <&macaddr_uboot_1fc40>;
149 nvmem-cell-names = "mac-address";
153 ethphy0: ethernet-phy@0 {
188 compatible = "mediatek,mt76";
189 reg = <0x0000 0 0 0 0>;
190 nvmem-cells = <&eeprom_factory_0>;
191 nvmem-cell-names = "eeprom";
192 ieee80211-freq-limit = <5000000 6000000>;
198 compatible = "mediatek,mt76";
199 reg = <0x0000 0 0 0 0>;
200 nvmem-cells = <&eeprom_factory_8000>;
201 nvmem-cell-names = "eeprom";
202 ieee80211-freq-limit = <2400000 2500000>;