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>
10 led-boot = &led_power_orange;
11 led-failsafe = &led_power_green;
12 led-running = &led_power_green;
13 led-upgrade = &led_net_orange;
17 compatible = "gpio-keys";
21 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_WPS_BUTTON>;
33 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
34 linux,code = <KEY_RFKILL>;
39 compatible = "gpio-leds";
41 led_power_orange: power_orange {
42 label = "orange:power";
43 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
46 led_power_green: power_green {
47 label = "green:power";
48 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
51 led_net_orange: net_orange {
53 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
69 compatible = "mediatek,mt76";
70 reg = <0x0000 0 0 0 0>;
71 nvmem-cells = <&eeprom_factory_0>;
72 nvmem-cell-names = "eeprom";
73 ieee80211-freq-limit = <2400000 2500000>;
83 compatible = "mediatek,mt76";
84 reg = <0x0000 0 0 0 0>;
85 nvmem-cells = <&eeprom_factory_8000>;
86 nvmem-cell-names = "eeprom";
87 ieee80211-freq-limit = <5000000 6000000>;
98 phy-handle = <ðphy4>;
102 ethphy4: ethernet-phy@4 {
133 groups = "i2c", "uart3", "jtag", "wdt";