1 // SPDX-License-Identifier: GPL-2.0-only
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;
19 compatible = "gpio-keys";
23 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
24 linux,code = <KEY_WPS_BUTTON>;
29 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RFKILL>;
35 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 compatible = "gpio-leds";
44 label = "green:power";
45 gpios = <&gpio 18 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
51 trigger-sources = <&xhci_ehci_port1>, <&ehci_port2>;
52 linux,default-trigger = "usbport";
57 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
68 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
72 reg_usb_vbus: regulator {
73 compatible = "regulator-fixed";
74 regulator-name = "usb_vbus";
75 regulator-min-microvolt = <5000000>;
76 regulator-max-microvolt = <5000000>;
77 gpio = <&gpio 10 GPIO_ACTIVE_HIGH>;
83 vbus-supply = <®_usb_vbus>;
92 compatible = "mediatek,mt76";
94 ieee80211-freq-limit = <5000000 6000000>;
95 nvmem-cells = <&eeprom1>;
96 nvmem-cell-names = "eeprom";
102 compatible = "mediatek,mt76";
104 ieee80211-freq-limit = <2400000 2500000>;
105 nvmem-cells = <&eeprom0>;
106 nvmem-cell-names = "eeprom";
113 phy-handle = <ðphy4>;
117 ethphy4: ethernet-phy@4 {
148 groups = "uart3", "uart2", "jtag", "wdt";