kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_re200.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         aliases {
10                 label-mac-device = &ethernet;
11         };
12
13         chosen {
14                 bootargs = "console=ttyS0,57600n8";
15         };
16
17         keys {
18                 compatible = "gpio-keys";
19
20                 reset {
21                         label = "reset";
22                         gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
23                         linux,code = <KEY_RESTART>;
24                 };
25
26                 wps {
27                         label = "wps";
28                         gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
29                         linux,code = <KEY_WPS_BUTTON>;
30                 };
31         };
32 };
33
34 &spi0 {
35         status = "okay";
36
37         m25p80@0 {
38                 compatible = "jedec,spi-nor";
39                 reg = <0>;
40                 spi-max-frequency = <50000000>;
41
42                 partitions {
43                         compatible = "fixed-partitions";
44                         #address-cells = <1>;
45                         #size-cells = <1>;
46
47                         partition@0 {
48                                 label = "u-boot";
49                                 reg = <0x0 0x20000>;
50                                 read-only;
51                         };
52
53                         partition@20000 {
54                                 compatible = "tplink,firmware";
55                                 label = "firmware";
56                                 reg = <0x20000 0x7a0000>;
57                         };
58
59                         config: partition@7c0000 {
60                                 label = "config";
61                                 reg = <0x7c0000 0x30000>;
62                                 read-only;
63                         };
64
65                         radio: partition@7f0000 {
66                                 label = "radio";
67                                 reg = <0x7f0000 0x10000>;
68                                 read-only;
69                         };
70                 };
71         };
72 };
73
74 &ethernet {
75         mtd-mac-address = <&config 0x2008>;
76 };
77
78 &wmac {
79         status = "okay";
80
81         mediatek,mtd-eeprom = <&radio 0x0>;
82         mtd-mac-address = <&config 0x2008>;
83         mtd-mac-address-increment = <1>;
84 };
85
86 &pcie {
87         status = "okay";
88 };
89
90 &pcie0 {
91         mt76@0,0 {
92                 reg = <0x0000 0 0 0 0>;
93                 mediatek,mtd-eeprom = <&radio 0x8000>;
94                 ieee80211-freq-limit = <5000000 6000000>;
95                 mtd-mac-address = <&config 0x2008>;
96                 mtd-mac-address-increment = <2>;
97         };
98 };