3 #include "mt7620a.dtsi"
5 #include <dt-bindings/input/input.h>
8 compatible = "ralink,mt7620a-soc";
9 model = "TP-Link Archer C20i";
12 bootargs = "console=ttyS0,115200";
16 compatible = "gpio-leds";
18 label = "c20i:blue:lan";
22 label = "c20i:blue:usb";
23 gpios = <&gpio0 11 1>;
26 label = "c20i:blue:wps";
27 gpios = <&gpio1 15 1>;
30 label = "c20i:blue:wan";
34 label = "c20i:blue:wlan";
40 compatible = "gpio-keys";
46 linux,code = <KEY_RFKILL>;
50 gpios = <&gpio0 13 1>;
51 linux,code = <KEY_RESTART>;
74 compatible = "jedec,spi-nor";
76 spi-max-frequency = <10000000>;
86 reg = <0x20000 0x7a0000>;
91 reg = <0x7c0000 0x10000>;
94 rom: partition@7d0000 {
96 reg = <0x7d0000 0x10000>;
101 reg = <0x7e0000 0x10000>;
104 radio: partition@7f0000 {
106 reg = <0x7f0000 0x10000>;
112 state_default: pinctrl0 {
114 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
115 ralink,function = "gpio";
121 pinctrl-names = "default";
122 mtd-mac-address = <&rom 0xf100>;
123 mediatek,portmap = "wllll";
135 mediatek,port4 = "ephy";
139 ralink,mtd-eeprom = <&radio 0>;
147 reg = <0x0000 0 0 0 0>;
149 mediatek,mtd-eeprom = <&radio 32768>;