kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_archer-c20-v4.dts
1 /dts-v1/;
2
3 #include "mt7628an_tplink_8m.dtsi"
4
5 / {
6         compatible = "tplink,archer-c20-v4", "mediatek,mt7628an-soc";
7         model = "TP-Link Archer C20 v4";
8
9         aliases {
10                 led-boot = &led_power;
11                 led-failsafe = &led_power;
12                 led-running = &led_power;
13                 led-upgrade = &led_power;
14         };
15
16         leds {
17                 compatible = "gpio-leds";
18
19                 lan {
20                         label = "archer-c20-v4:green:lan";
21                         gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
22                 };
23
24                 led_power: power {
25                         label = "archer-c20-v4:green:power";
26                         gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
27                 };
28
29                 wan {
30                         label = "archer-c20-v4:green:wan";
31                         gpios = <&gpio 43 GPIO_ACTIVE_LOW>;
32                 };
33
34                 wan_orange {
35                         label = "archer-c20-v4:orange:wan";
36                         gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
37                 };
38
39                 wlan5g {
40                         label = "archer-c20-v4:green:wlan5g";
41                         gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
42                         linux,default-trigger = "phy1tpt";
43                 };
44
45                 wlan2g {
46                         label = "archer-c20-v4:green:wlan2g";
47                         gpios = <&gpio 39 GPIO_ACTIVE_LOW>;
48                         linux,default-trigger = "phy0tpt";
49                 };
50
51                 wps {
52                         label = "archer-c20-v4:green:wps";
53                         gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
54                 };
55         };
56
57         keys {
58                 compatible = "gpio-keys";
59
60                 reset {
61                         label = "reset";
62                         gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63                         linux,code = <KEY_RESTART>;
64                 };
65
66                 rfkill {
67                         label = "rfkill";
68                         gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
69                         linux,code = <KEY_RFKILL>;
70                 };
71         };
72 };
73
74 &wmac {
75         mtd-mac-address-increment = <(-2)>;
76 };
77
78 &esw {
79         mediatek,portmap = <0x3e>;
80 };
81
82 &state_default {
83         gpio {
84                 groups = "i2s", "gpio", "refclk", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "wdt";
85                 function = "gpio";
86         };
87 };
88
89 &pcie {
90         status = "okay";
91 };
92
93 &pcie0 {
94         mt76@0,0 {
95                 reg = <0x0000 0 0 0 0>;
96                 mediatek,mtd-eeprom = <&factory 0x28000>;
97                 ieee80211-freq-limit = <5000000 6000000>;
98                 mtd-mac-address = <&factory 0xf100>;
99                 mtd-mac-address-increment = <(-1)>;
100         };
101 };