2019-12-08 12:51:20 +01:00
|
|
|
#include "mt7620a_tplink_archer.dtsi"
|
2016-11-11 22:43:08 +01:00
|
|
|
|
2015-01-09 15:40:51 +00:00
|
|
|
/ {
|
2019-07-03 23:21:54 +02:00
|
|
|
compatible = "tplink,archer-c20i", "ralink,mt7620a-soc";
|
2015-01-09 15:40:51 +00:00
|
|
|
model = "TP-Link Archer C20i";
|
|
|
|
|
2019-12-08 12:28:22 +01:00
|
|
|
aliases {
|
2020-01-02 19:10:50 +01:00
|
|
|
led-boot = &led_wps;
|
|
|
|
led-failsafe = &led_wps;
|
|
|
|
led-running = &led_wps;
|
|
|
|
led-upgrade = &led_wps;
|
2019-12-08 12:28:22 +01:00
|
|
|
label-mac-device = ðernet;
|
|
|
|
};
|
|
|
|
|
2018-12-30 12:42:53 +01:00
|
|
|
leds {
|
2016-05-10 13:41:46 +03:00
|
|
|
compatible = "gpio-leds";
|
2019-09-20 14:03:02 +02:00
|
|
|
|
2016-07-26 06:44:19 +02:00
|
|
|
lan {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:lan";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
|
2016-07-26 06:44:19 +02:00
|
|
|
};
|
2019-09-20 14:03:02 +02:00
|
|
|
|
2016-07-26 06:44:19 +02:00
|
|
|
usb {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:usb";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
|
2018-08-13 17:14:08 +02:00
|
|
|
trigger-sources = <&ohci_port1>, <&ehci_port1>;
|
|
|
|
linux,default-trigger = "usbport";
|
2016-07-26 06:44:19 +02:00
|
|
|
};
|
2019-09-20 14:03:02 +02:00
|
|
|
|
2020-01-02 19:10:50 +01:00
|
|
|
led_wps: wps {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:wps";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
|
2016-07-26 06:44:19 +02:00
|
|
|
};
|
2019-09-20 14:03:02 +02:00
|
|
|
|
2016-07-26 06:44:19 +02:00
|
|
|
wan {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:wan";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
|
2016-07-26 06:44:19 +02:00
|
|
|
};
|
2019-09-20 14:03:02 +02:00
|
|
|
|
2016-07-26 06:44:19 +02:00
|
|
|
wlan {
|
2020-09-27 19:40:51 +02:00
|
|
|
label = "blue:wlan";
|
2017-07-29 10:14:07 +08:00
|
|
|
gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
|
2020-01-02 03:11:39 +01:00
|
|
|
linux,default-trigger = "phy1tpt";
|
2016-07-26 06:44:19 +02:00
|
|
|
};
|
2016-05-10 13:41:46 +03:00
|
|
|
};
|
|
|
|
};
|
2015-01-09 15:40:51 +00:00
|
|
|
|
2019-12-22 21:26:01 +01:00
|
|
|
&state_default {
|
|
|
|
gpio {
|
2020-04-12 20:58:29 +08:00
|
|
|
groups = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
|
|
|
|
function = "gpio";
|
2015-01-09 15:40:51 +00:00
|
|
|
};
|
2016-05-10 13:41:46 +03:00
|
|
|
};
|
2020-01-02 19:27:54 +01:00
|
|
|
|
|
|
|
&wmac {
|
|
|
|
mtd-mac-address = <&rom 0xf100>;
|
|
|
|
};
|
|
|
|
|
|
|
|
&wifi {
|
|
|
|
mtd-mac-address = <&rom 0xf100>;
|
|
|
|
mtd-mac-address-increment = <(-1)>;
|
|
|
|
};
|