1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "mediatek,mt7621-soc";
12 led-boot = &led_power;
13 led-failsafe = &led_power;
14 led-running = &led_power;
15 led-upgrade = &led_power;
16 label-mac-device = &gmac0;
20 compatible = "gpio-keys";
24 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
25 linux,code = <KEY_WPS_BUTTON>;
30 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
31 linux,code = <KEY_RFKILL>;
36 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 compatible = "gpio-leds";
45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
49 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
50 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
51 linux,default-trigger = "usbport";
54 led_internet: internet {
55 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
60 linux,default-trigger = "phy0tpt";
64 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
68 reg_usb_vbus: regulator {
69 compatible = "regulator-fixed";
70 regulator-name = "usb_vbus";
71 regulator-min-microvolt = <5000000>;
72 regulator-max-microvolt = <5000000>;
73 gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
79 vbus-supply = <®_usb_vbus>;
88 compatible = "mediatek,mt76";
90 mediatek,mtd-eeprom = <&factory 0x8000>;
91 ieee80211-freq-limit = <5000000 6000000>;
97 compatible = "mediatek,mt76";
99 mediatek,mtd-eeprom = <&factory 0x0>;
100 ieee80211-freq-limit = <2400000 2500000>;
105 mtd-mac-address = <&factory 0x4>;
133 mtd-mac-address = <&factory 0x4>;
134 mtd-mac-address-increment = <1>;
141 groups = "uart3", "uart2", "jtag", "wdt";