kernel: remove non-existant symbols
[oweals/openwrt.git] / target / linux / ramips / dts / mt7628an_duzun_dm06.dts
1 /dts-v1/;
2
3 #include "mt7628an.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7
8 / {
9         compatible = "duzun,dm06", "mediatek,mt7628an-soc";
10         model = "DuZun DM06";
11
12         keys {
13                 compatible = "gpio-keys";
14
15                 reset {
16                         label = "reset";
17                         gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
18                         linux,code = <KEY_RESTART>;
19                 };
20
21                 wps {
22                         label = "wps";
23                         gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
24                         linux,code = <KEY_WPS_BUTTON>;
25                 };
26         };
27
28         sound {
29                 compatible = "simple-audio-card";
30                 simple-audio-card,name = "Audio-I2S";
31                 simple-audio-card,format = "i2s";
32                 simple-audio-card,bitclock-master = <&dailink0_master>;
33                 simple-audio-card,frame-master = <&dailink0_master>;
34                 simple-audio-card,widgets =
35                         "Headphone", "Headphones";
36                 simple-audio-card,routing =
37                         "Headphones", "HP_L",
38                         "Headphones", "HP_R";
39                 simple-audio-card,mclk-fs = <256>;
40
41                 simple-audio-card,cpu {
42                         sound-dai = <&i2s>;
43                 };
44
45                 dailink0_master: simple-audio-card,codec {
46                         sound-dai = <&codec>;
47                 };
48         };
49 };
50
51 &state_default {
52         gpio {
53                 groups = "wdt", "uart1";
54                 function = "gpio";
55         };
56 };
57
58 &i2c {
59         status = "okay";
60
61         codec: wm8960@1a {
62                 #sound-dai-cells = <0>;
63                 compatible = "wlf,wm8960";
64                 reg = <0x1a>;
65
66                 wlf,shared-lrclk;
67         };
68 };
69
70 &ethernet {
71         mtd-mac-address = <&factory 0x4>;
72 };
73
74 &esw {
75         mediatek,portmap = <0x3>;
76         mediatek,portdisable = <0x3c>;
77 };
78
79 &i2s {
80         #sound-dai-cells = <0>;
81         status = "okay";
82         pinctrl-names = "default";
83         pinctrl-0 = <&i2s_pins>, <&refclk_pins>;
84 };
85
86 &sdhci {
87         status = "okay";
88 };
89
90 &gdma {
91         status = "okay";
92 };
93
94 &spi0 {
95         status = "okay";
96
97         m25p80@0 {
98                 compatible = "jedec,spi-nor";
99                 reg = <0>;
100                 spi-max-frequency = <60000000>;
101                 m25p,fast-read;
102
103                 partitions {
104                         compatible = "fixed-partitions";
105                         #address-cells = <1>;
106                         #size-cells = <1>;
107
108                         partition@0 {
109                                 label = "u-boot";
110                                 reg = <0x0 0x30000>;
111                                 read-only;
112                         };
113
114                         partition@30000 {
115                                 label = "u-boot-env";
116                                 reg = <0x30000 0x10000>;
117                                 read-only;
118                         };
119
120                         factory: partition@40000 {
121                                 label = "factory";
122                                 reg = <0x40000 0x10000>;
123                                 read-only;
124                         };
125
126                         partition@50000 {
127                                 compatible = "denx,uimage";
128                                 label = "firmware";
129                                 reg = <0x50000 0x7b0000>;
130                         };
131                 };
132         };
133 };