1 #include "mt7628an_tplink_8m.dtsi"
4 compatible = "tplink,archer-c20-v4", "mediatek,mt7628an-soc";
5 model = "TP-Link Archer C20 v4";
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
15 compatible = "gpio-leds";
19 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
23 label = "green:power";
24 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
29 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 label = "green:wlan5g";
39 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1tpt";
44 label = "green:wlan2g";
45 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
51 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
56 compatible = "gpio-keys";
60 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
61 linux,code = <KEY_RESTART>;
66 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
67 linux,code = <KEY_RFKILL>;
81 mac-address-increment = <(-2)>;
85 mediatek,portmap = <0x3e>;
90 groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
101 reg = <0x0000 0 0 0 0>;
102 mediatek,mtd-eeprom = <&factory 0x28000>;
103 ieee80211-freq-limit = <5000000 6000000>;
104 nvmem-cells = <&macaddr_factory_f100>;
105 nvmem-cell-names = "mac-address";
106 mac-address-increment = <(-1)>;