kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7621_mediatek_ap-mt7621a-v60.dts
1 /dts-v1/;
2
3 #include "mt7621.dtsi"
4
5 / {
6         compatible = "mediatek,ap-mt7621a-v60", "mediatek,mt7621-soc";
7         model = "Mediatek AP-MT7621A-V60 EVB";
8
9         chosen {
10                 bootargs = "console=ttyS0,57600";
11         };
12
13         sound {
14                 compatible = "simple-audio-card";
15                 simple-audio-card,name = "Audio-I2S";
16                 simple-audio-card,format = "i2s";
17                 simple-audio-card,bitclock-master = <&dailink0_master>;
18                 simple-audio-card,frame-master = <&dailink0_master>;
19                 simple-audio-card,widgets =
20                         "Microphone", "Microphone Jack",
21                         "Headphone", "Headphone Jack";
22                 simple-audio-card,routing =
23                         "LINPUT1", "Microphone Jack",
24                         "RINPUT1", "Microphone Jack",
25                         "Headphone Jack", "HP_L",
26                         "Headphone Jack", "HP_R";
27                 simple-audio-card,mclk-fs = <256>;
28
29                 simple-audio-card,cpu {
30                         sound-dai = <&i2s>;
31                 };
32
33                 dailink0_master: simple-audio-card,codec {
34                         sound-dai = <&codec>;
35                 };
36         };
37 };
38
39 &state_default {
40         gpio {
41                 groups = "uart2", "rgmii2";
42                 function = "gpio";
43         };
44 };
45
46 &pinctrl {
47         i2s_pins: i2s {
48                 i2s {
49                         groups = "uart3";
50                         function = "i2s";
51                 };
52         };
53 };
54
55 &i2c {
56         status = "okay";
57
58         codec: wm8960@1a {
59                 #sound-dai-cells = <0>;
60                 compatible = "wlf,wm8960";
61                 reg = <0x1a>;
62                 wlf,shared-lrclk;
63         };
64 };
65
66 &gdma {
67         status = "okay";
68 };
69
70 &i2s {
71         #sound-dai-cells = <0>;
72         status = "okay";
73         pinctrl-names = "default";
74         pinctrl-0 = <&i2s_pins>;
75 };
76
77 &spi0 {
78         status = "okay";
79
80         mx25l6405d@0 {
81                 compatible = "mx25l6405d","jedec,spi-nor";
82                 reg = <0 0>;
83                 spi-max-frequency = <10000000>;
84
85                 partitions {
86                         compatible = "fixed-partitions";
87                         #address-cells = <1>;
88                         #size-cells = <1>;
89
90                         partition@0 {
91                                 label = "u-boot";
92                                 reg = <0x0 0x30000>;
93                                 read-only;
94                         };
95
96                         partition@30000 {
97                                 label = "u-boot-env";
98                                 reg = <0x30000 0x10000>;
99                                 read-only;
100                         };
101
102                         factory: partition@40000 {
103                                 label = "factory";
104                                 reg = <0x40000 0x10000>;
105                                 read-only;
106                         };
107
108                         partition@50000 {
109                                 compatible = "denx,uimage";
110                                 label = "firmware";
111                                 reg = <0x50000 0x7b0000>;
112                         };
113                 };
114         };
115 };
116
117 &sdhci {
118         status = "okay";
119 };
120
121 &gmac0 {
122         mtd-mac-address = <&factory 0x5>;
123 };
124
125 &switch0 {
126         ports {
127                 port@0 {
128                         status = "okay";
129                         label = "lan1";
130                 };
131
132                 port@1 {
133                         status = "okay";
134                         label = "lan2";
135                 };
136
137                 port@2 {
138                         status = "okay";
139                         label = "lan3";
140                 };
141
142                 port@3 {
143                         status = "okay";
144                         label = "lan4";
145                 };
146
147                 port@4 {
148                         status = "okay";
149                         label = "wan";
150                         mtd-mac-address = <&factory 0x5>;
151                         mtd-mac-address-increment = <1>;
152                 };
153         };
154 };
155
156 &pcie {
157         status = "okay";
158 };