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";
18 label = "archer-c20-v4:green:lan";
19 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
23 label = "archer-c20-v4:green:power";
24 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
28 label = "archer-c20-v4:green:wan";
29 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
33 label = "archer-c20-v4:orange:wan";
34 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
38 label = "archer-c20-v4:green:wlan5g";
39 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
40 linux,default-trigger = "phy1tpt";
44 label = "archer-c20-v4:green:wlan2g";
45 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
46 linux,default-trigger = "phy0tpt";
50 label = "archer-c20-v4:green:wps";
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>;
73 mtd-mac-address-increment = <(-2)>;
77 mediatek,portmap = <0x3e>;
82 groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
93 reg = <0x0000 0 0 0 0>;
94 mediatek,mtd-eeprom = <&factory 0x28000>;
95 ieee80211-freq-limit = <5000000 6000000>;
96 mtd-mac-address = <&factory 0xf100>;
97 mtd-mac-address-increment = <(-1)>;