3 #include "mt7620a_tplink_archer.dtsi"
6 compatible = "tplink,archer-c20-v1", "ralink,mt7620a-soc";
7 model = "TP-Link Archer C20 v1";
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-v1:blue:lan";
21 gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
25 label = "archer-c20-v1:blue:power";
26 gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
27 default-state = "keep";
31 label = "archer-c20-v1:blue:usb";
32 gpios = <&gpio2 4 GPIO_ACTIVE_LOW>;
33 trigger-sources = <&ohci_port1>, <&ehci_port1>;
34 linux,default-trigger = "usbport";
38 label = "archer-c20-v1:blue:wan";
39 gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
43 label = "archer-c20-v1:orange:wan";
44 gpios = <&gpio0 9 GPIO_ACTIVE_HIGH>;
48 label = "archer-c20-v1:blue:wlan5g";
49 gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
53 label = "archer-c20-v1:blue:wlan2g";
54 gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
58 label = "archer-c20-v1:blue:wps";
59 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
66 ralink,group = "i2c", "uartf", "wled", "ephy", "spi refclk", "wdt";
67 ralink,function = "gpio";
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)>;