1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "mt7628an_tplink_8m-split-uboot.dtsi"
6 compatible = "tplink,archer-c20-v5", "mediatek,mt7628an-soc";
7 model = "TP-Link Archer C20 v5";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-keys";
21 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
22 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RFKILL>;
33 compatible = "gpio-leds";
36 label = "green:power";
37 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 label = "green:wlan2g";
42 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
43 linux,default-trigger = "phy0tpt";
47 label = "green:wlan5g";
48 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
49 linux,default-trigger = "phy1tpt";
54 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
76 groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an",
77 "p2led_an", "p3led_an", "p4led_an", "wdt";
88 reg = <0x0000 0 0 0 0>;
89 mediatek,mtd-eeprom = <&radio 0x8000>;
90 ieee80211-freq-limit = <5000000 6000000>;
91 mtd-mac-address = <&rom 0xf100>;
92 mtd-mac-address-increment = <(-1)>;