kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7620a_iptime.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "mt7620a.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
14 &gpio1 {
15         status = "okay";
16 };
17
18 &spi0 {
19         status = "okay";
20
21         flash@0 {
22                 compatible = "jedec,spi-nor";
23                 reg = <0>;
24                 spi-max-frequency = <40000000>;
25
26                 partitions {
27                         compatible = "fixed-partitions";
28                         #address-cells = <1>;
29                         #size-cells = <1>;
30
31                         uboot: partition@0 {
32                                 label = "u-boot";
33                                 reg = <0x0 0x20000>;
34                                 read-only;
35                         };
36
37                         partition@20000 {
38                                 label = "config";
39                                 reg = <0x20000 0x10000>;
40                                 read-only;
41                         };
42
43                         firmware: partition@30000 {
44                                 compatible = "denx,uimage";
45                                 label = "firmware";
46                         };
47                 };
48         };
49 };
50
51 &ethernet {
52         mtd-mac-address = <&uboot 0x1fc20>;
53 };
54
55 &ehci {
56         status = "okay";
57 };
58
59 &ohci {
60         status = "okay";
61 };
62
63 &pcie {
64         status = "okay";
65 };
66
67 &pcie0 {
68         wifi@0,0 {
69                 compatible = "mediatek,mt76";
70                 reg = <0x0000 0 0 0 0>;
71                 mediatek,mtd-eeprom = <&uboot 0x1f800>;
72                 ieee80211-freq-limit = <5000000 6000000>;
73
74                 led {
75                         led-sources = <0>;
76                         led-active-low;
77                 };
78         };
79 };
80
81 &wmac {
82         pinctrl-names = "default";
83         pinctrl-0 = <&wled_pins>;
84
85         ralink,mtd-eeprom = <&uboot 0x1f400>;
86 };