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 linux,modalias = "m25p80", "mx25l6405d";
77 spi-max-frequency = <10000000>;
87 reg = <0x20000 0x7a0000>;
92 reg = <0x7c0000 0x10000>;
95 rom: partition@7d0000 {
97 reg = <0x7d0000 0x10000>;
102 reg = <0x7e0000 0x10000>;
105 radio: partition@7f0000 {
107 reg = <0x7f0000 0x10000>;
113 state_default: pinctrl0 {
115 ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd", "ephy", "spi refclk";
116 ralink,function = "gpio";
122 pinctrl-names = "default";
123 mtd-mac-address = <&rom 0xf100>;
124 mediatek,portmap = "wllll";
136 mediatek,port4 = "ephy";
140 ralink,mtd-eeprom = <&radio 0>;
148 reg = <0x0000 0 0 0 0>;
150 mediatek,mtd-eeprom = <&radio 32768>;