ramips: add support for TP-Link RE200 v1
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_tplink_archer-c20i.dts
1 /dts-v1/;
2
3 #include "mt7620a_tplink_archer.dtsi"
4
5 / {
6         compatible = "tplink,archer-c20i", "ralink,mt7620a-soc";
7         model = "TP-Link Archer C20i";
8
9         aliases {
10                 label-mac-device = &ethernet;
11         };
12
13         leds {
14                 compatible = "gpio-leds";
15
16                 lan {
17                         label = "archer-c20i:blue:lan";
18                         gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
19                 };
20
21                 usb {
22                         label = "archer-c20i:blue:usb";
23                         gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
24                         trigger-sources = <&ohci_port1>, <&ehci_port1>;
25                         linux,default-trigger = "usbport";
26                 };
27
28                 wps {
29                         label = "archer-c20i:blue:wps";
30                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
31                 };
32
33                 wan {
34                         label = "archer-c20i:blue:wan";
35                         gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
36                 };
37
38                 wlan {
39                         label = "archer-c20i:blue:wlan";
40                         gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
41                 };
42         };
43 };
44
45 &state_default {
46         gpio {
47                 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
48                 ralink,function = "gpio";
49         };
50 };