3 #include "mt7628an_tplink_8m.dtsi"
6 compatible = "tplink,archer-c20-v4", "mediatek,mt7628an-soc";
7 model = "TP-Link Archer C20 v4";
10 led-boot = &led_power;
11 led-failsafe = &led_power;
12 led-running = &led_power;
13 led-upgrade = &led_power;
17 compatible = "gpio-leds";
20 label = "archer-c20-v4:green:lan";
21 gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
25 label = "archer-c20-v4:green:power";
26 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
30 label = "archer-c20-v4:green:wan";
31 gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
35 label = "archer-c20-v4:orange:wan";
36 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
40 label = "archer-c20-v4:green:wlan5g";
41 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
42 linux,default-trigger = "phy1tpt";
46 label = "archer-c20-v4:green:wlan2g";
47 gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
52 label = "archer-c20-v4:green:wps";
53 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
58 compatible = "gpio-keys";
62 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63 linux,code = <KEY_RESTART>;
68 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
69 linux,code = <KEY_RFKILL>;
75 mtd-mac-address-increment = <(-2)>;
79 mediatek,portmap = <0x3e>;
84 ralink,group = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
85 ralink,function = "gpio";
95 reg = <0x0000 0 0 0 0>;
96 mediatek,mtd-eeprom = <&factory 0x28000>;
97 ieee80211-freq-limit = <5000000 6000000>;
98 mtd-mac-address = <&factory 0xf100>;
99 mtd-mac-address-increment = <(-1)>;