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 {
|
2020-01-02 18:10:50 +00:00
|
|
|
led-boot = &led_wps;
|
|
|
|
led-failsafe = &led_wps;
|
|
|
|
led-running = &led_wps;
|
|
|
|
led-upgrade = &led_wps;
|
2019-12-08 11:28:22 +00:00
|
|
|
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
|
|
|
|
2020-01-02 18:10:50 +00:00
|
|
|
led_wps: 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>;
|
2020-01-02 02:11:39 +00:00
|
|
|
linux,default-trigger = "phy1tpt";
|
2016-07-26 04:44:19 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
|
|
|
};
|
2015-01-09 15:40:51 +00:00
|
|
|
|
2019-12-22 20:26:01 +00:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
|
|
|
ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
|
|
|
|
ralink,function = "gpio";
|
2015-01-09 15:40:51 +00:00
|
|
|
};
|
2016-05-10 10:41:46 +00:00
|
|
|
};
|
2020-01-02 18:27:54 +00:00
|
|
|
|
|
|
|
&wmac {
|
|
|
|
mtd-mac-address = <&rom 0xf100>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wifi {
|
|
|
|
mtd-mac-address = <&rom 0xf100>;
|
|
|
|
mtd-mac-address-increment = <(-1)>;
|
|
|
|
};
|