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 label-mac-device = &gmac0;
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 label = "orange:power";
44 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
47 led_power_green: power_green {
48 label = "green:power";
49 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
52 led_net_orange: net_orange {
54 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
70 compatible = "mediatek,mt76";
71 reg = <0x0000 0 0 0 0>;
72 mediatek,mtd-eeprom = <&factory 0x0000>;
73 ieee80211-freq-limit = <2400000 2500000>;
83 compatible = "mediatek,mt76";
84 reg = <0x0000 0 0 0 0>;
85 mediatek,mtd-eeprom = <&factory 0x8000>;
86 ieee80211-freq-limit = <5000000 6000000>;
95 mtd-mac-address = <&factory 0xe000>;
123 mtd-mac-address = <&factory 0xe006>;
130 groups = "i2c", "uart3", "jtag", "wdt";