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>
7 #include <dt-bindings/leds/common.h>
11 led-boot = &led_power;
12 led-failsafe = &led_power;
13 led-running = &led_power;
14 led-upgrade = &led_power;
18 compatible = "gpio-leds";
21 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
22 color = <LED_COLOR_ID_RED>;
23 function = LED_FUNCTION_WPS;
27 gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
28 color = <LED_COLOR_ID_WHITE>;
29 function = LED_FUNCTION_POWER;
33 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
34 color = <LED_COLOR_ID_WHITE>;
35 function = LED_FUNCTION_WLAN;
36 function-enumerator = <1>;
37 linux,default-trigger = "phy0tpt";
41 gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
42 color = <LED_COLOR_ID_WHITE>;
43 function = LED_FUNCTION_WLAN;
44 function-enumerator = <2>;
45 linux,default-trigger = "phy1tpt";
50 compatible = "gpio-keys";
54 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
56 linux,input-type = <EV_SW>;
61 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_RESTART>;
67 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_WPS_BUTTON>;
77 compatible = "jedec,spi-nor";
79 spi-max-frequency = <40000000>;
81 partitions: partitions {
82 compatible = "fixed-partitions";
94 reg = <0x30000 0x10000>;
100 reg = <0x40000 0x10000>;
104 compatible = "fixed-layout";
105 #address-cells = <1>;
108 eeprom_factory_0: eeprom@0 {
112 eeprom_factory_8000: eeprom@8000 {
113 reg = <0x8000 0x4da8>;
124 phy-handle = <ðphy0>;
128 ethphy0: ethernet-phy@0 {
159 groups = "uart2", "uart3", "jtag", "wdt";
170 compatible = "mediatek,mt76";
171 reg = <0x0000 0 0 0 0>;
172 nvmem-cells = <&eeprom_factory_0>;
173 nvmem-cell-names = "eeprom";
174 ieee80211-freq-limit = <2400000 2500000>;
180 compatible = "mediatek,mt76";
181 reg = <0x0000 0 0 0 0>;
182 nvmem-cells = <&eeprom_factory_8000>;
183 nvmem-cell-names = "eeprom";
184 ieee80211-freq-limit = <5000000 6000000>;