1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an.dtsi"
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;
15 label-mac-device = ðernet;
19 compatible = "gpio-keys";
23 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_RESTART>;
29 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_WPS_BUTTON>;
35 compatible = "gpio-leds";
38 function = LED_FUNCTION_POWER;
39 color = <LED_COLOR_ID_BLUE>;
40 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
44 label = "blue:wlan2g";
45 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "blue:wlan5g";
51 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy1tpt";
57 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
69 groups = "refclk", "wdt", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an";
80 compatible = "mediatek,mt76";
81 reg = <0x0000 0 0 0 0>;
82 ieee80211-freq-limit = <5000000 6000000>;