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_orange;
12 led-failsafe = &led_power_green;
13 led-running = &led_power_green;
14 led-upgrade = &led_net_orange;
18 compatible = "gpio-keys";
22 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
28 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
29 linux,code = <KEY_WPS_BUTTON>;
34 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RFKILL>;
40 compatible = "gpio-leds";
42 led_power_orange: power_orange {
43 function = LED_FUNCTION_POWER;
44 color = <LED_COLOR_ID_ORANGE>;
45 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
48 led_power_green: power_green {
49 function = LED_FUNCTION_POWER;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
54 led_net_orange: net_orange {
56 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
72 compatible = "mediatek,mt76";
73 reg = <0x0000 0 0 0 0>;
74 nvmem-cells = <&eeprom_factory_0>;
75 nvmem-cell-names = "eeprom";
76 ieee80211-freq-limit = <2400000 2500000>;
86 compatible = "mediatek,mt76";
87 reg = <0x0000 0 0 0 0>;
88 nvmem-cells = <&eeprom_factory_8000>;
89 nvmem-cell-names = "eeprom";
90 ieee80211-freq-limit = <5000000 6000000>;
101 phy-handle = <ðphy4>;
105 ethphy4: ethernet-phy@4 {
136 groups = "i2c", "uart3", "jtag", "wdt";