1 #include "mt7620a_tplink_archer.dtsi"
4 compatible = "tplink,archer-c20-v1", "ralink,mt7620a-soc";
5 model = "TP-Link Archer C20 v1";
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
15 compatible = "gpio-leds";
18 label = "archer-c20-v1:blue:lan";
19 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
23 label = "archer-c20-v1:blue:power";
24 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
25 default-state = "keep";
29 label = "archer-c20-v1:blue:usb";
30 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
31 trigger-sources = <&ohci_port1>, <&ehci_port1>;
32 linux,default-trigger = "usbport";
36 label = "archer-c20-v1:blue:wan";
37 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
41 label = "archer-c20-v1:orange:wan";
42 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
46 label = "archer-c20-v1:blue:wlan5g";
47 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
48 linux,default-trigger = "phy0tpt";
52 label = "archer-c20-v1:blue:wlan2g";
53 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
54 linux,default-trigger = "phy1tpt";
58 label = "archer-c20-v1:blue:wps";
59 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
66 groups = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
72 pinctrl-names = "default";
73 pinctrl-0 = <&pa_pins>;
75 mtd-mac-address = <&rom 0xf100>;
76 mtd-mac-address-increment = <(-2)>;
80 mtd-mac-address = <&rom 0xf100>;
81 mtd-mac-address-increment = <(-1)>;