2015-01-09 15:40:51 +00:00
|
|
|
/dts-v1/;
|
|
|
|
|
2019-12-08 11:51:20 +00:00
|
|
|
#include "mt7620a_tplink_archer.dtsi"
|
2016-11-11 21:43:08 +00:00
|
|
|
|
2015-01-09 15:40:51 +00:00
|
|
|
/ {
|
2019-07-03 21:21:54 +00:00
|
|
|
compatible = "tplink,archer-c20i", "ralink,mt7620a-soc";
|
2015-01-09 15:40:51 +00:00
|
|
|
model = "TP-Link Archer C20i";
|
|
|
|
|
2019-12-08 11:28:22 +00:00
|
|
|
aliases {
|
|
|
|
label-mac-device = ðernet;
|
|
|
|
};
|
|
|
|
|
2018-12-30 11:42:53 +00:00
|
|
|
leds {
|
2016-05-10 10:41:46 +00:00
|
|
|
compatible = "gpio-leds";
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2016-07-26 04:44:19 +00:00
|
|
|
lan {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "archer-c20i:blue:lan";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2016-07-26 04:44:19 +00:00
|
|
|
usb {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "archer-c20i:blue:usb";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2018-08-13 15:14:08 +00:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2016-07-26 04:44:19 +00:00
|
|
|
wps {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "archer-c20i:blue:wps";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2016-07-26 04:44:19 +00:00
|
|
|
wan {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "archer-c20i:blue:wan";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2019-09-20 12:03:02 +00:00
|
|
|
|
2016-07-26 04:44:19 +00:00
|
|
|
wlan {
|
2019-08-06 12:30:42 +00:00
|
|
|
label = "archer-c20i:blue:wlan";
|
2017-07-29 02:14:07 +00:00
|
|
|
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-09 15:40:51 +00:00
|
|
|
|
2016-05-10 10:41:46 +00:00
|
|
|
&pinctrl {
|
|
|
|
state_default: pinctrl0 {
|
|
|
|
gpio {
|
2016-07-26 04:44:19 +00:00
|
|
|
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
|
2016-05-10 10:41:46 +00:00
|
|
|
ralink,function = "gpio";
|
2015-01-09 15:40:51 +00:00
|
|
|
};
|
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|