kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_tplink_8m-split-uboot.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 #include "mt7628an.dtsi"
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 / {
8         chosen {
9                 bootargs = "console=ttyS0,115200";
10         };
11
12         aliases {
13                 label-mac-device = &ethernet;
14         };
15 };
16
17 &spi0 {
18         status = "okay";
19
20         flash@0 {
21                 compatible = "jedec,spi-nor";
22                 reg = <0>;
23                 spi-max-frequency = <10000000>;
24
25                 partitions {
26                         compatible = "fixed-partitions";
27                         #address-cells = <1>;
28                         #size-cells = <1>;
29
30                         partition@0 {
31                                 label = "factory-uboot";
32                                 reg = <0x0 0x30000>;
33                                 read-only;
34                         };
35
36                         partition@30000 {
37                                 label = "boot";
38                                 reg = <0x30000 0x20000>;
39                                 read-only;
40                         };
41
42                         partition@50000 {
43                                 compatible = "tplink,firmware";
44                                 label = "firmware";
45                                 reg = <0x50000 0x770000>;
46                         };
47
48                         partition@7c0000 {
49                                 label = "config";
50                                 reg = <0x7c0000 0x10000>;
51                                 read-only;
52                         };
53
54                         rom: partition@7d0000 {
55                                 label = "rom";
56                                 reg = <0x7d0000 0x10000>;
57                                 read-only;
58                         };
59
60                         partition@7e0000 {
61                                 label = "romfile";
62                                 reg = <0x7e0000 0x10000>;
63                         };
64
65                         radio: partition@7f0000 {
66                                 label = "radio";
67                                 reg = <0x7f0000 0x10000>;
68                                 read-only;
69                         };
70                 };
71         };
72 };
73
74 &ehci {
75         status = "disabled";
76 };
77
78 &ohci {
79         status = "disabled";
80 };
81
82 &wmac {
83         status = "okay";
84         mtd-mac-address = <&rom 0xf100>;
85         mediatek,mtd-eeprom = <&radio 0x0>;
86 };
87
88 &ethernet {
89         mtd-mac-address = <&rom 0xf100>;
90 };
91
92 &esw {
93         mediatek,portmap = <0x3e>;
94 };