BB: lantiq: vr9: - modify dts to support vmmc
[14.07/openwrt.git] / target / linux / lantiq / dts / vr9.dtsi
1 / {
2         #address-cells = <1>;
3         #size-cells = <1>;
4         compatible = "lantiq,xway", "lantiq,vr9";
5
6         cpus {
7                 cpu@0 {
8                         compatible = "mips,mips34Kc";
9                 };
10         };
11
12         biu@1F800000 {
13                 #address-cells = <1>;
14                 #size-cells = <1>;
15                 compatible = "lantiq,biu", "simple-bus";
16                 reg = <0x1F800000 0x800000>;
17                 ranges = <0x0 0x1F800000 0x7FFFFF>;
18
19                 icu0: icu@80200 {
20                         #interrupt-cells = <1>;
21                         interrupt-controller;
22                         compatible = "lantiq,icu";
23                         reg = <0x80200 0x28
24                                 0x80228 0x28
25                                 0x80250 0x28
26                                 0x80278 0x28
27                                 0x802a0 0x28>;
28                 };
29
30                 watchdog@803F0 {
31                         compatible = "lantiq,wdt";
32                         reg = <0x803F0 0x10>;
33                 };
34         };
35
36         sram@1F000000 {
37                 #address-cells = <1>;
38                 #size-cells = <1>;
39                 compatible = "lantiq,sram", "simple-bus";
40                 reg = <0x1F000000 0x800000>;
41                 ranges = <0x0 0x1F000000 0x7FFFFF>;
42
43                 eiu0: eiu@101000 {
44                         #interrupt-cells = <1>;
45                         interrupt-controller;
46                         compatible = "lantiq,eiu-xway";
47                         reg = <0x101000 0x1000>;
48                         interrupt-parent = <&icu0>;
49                         interrupts = <166 135 66 40 41 42>;
50                 };
51
52                 pmu0: pmu@102000 {
53                         compatible = "lantiq,pmu-xway";
54                         reg = <0x102000 0x1000>;
55                 };
56
57                 cgu0: cgu@103000 {
58                         compatible = "lantiq,cgu-xway";
59                         reg = <0x103000 0x1000>;
60                 };
61
62                 dcdc@106a00 {
63                         compatible = "lantiq,dcdc-xrx200";
64                         reg = <0x106a00 0x200>;
65                 };
66
67                 vmmc@107000 {
68                         status = "disabled";
69                         compatible = "lantiq,vmmc";
70                         reg = <0x103000 0x400>;
71                         interrupt-parent = <&icu0>;
72                         interrupts = <150 151 152 153 154 155>;
73                 };
74
75                 rcu0: rcu@203000 {
76                         compatible = "lantiq,rcu-xrx200";
77                         reg = <0x203000 0x1000>;
78                         /* irq for thermal sensor */
79                         interrupt-parent = <&icu0>;
80                         interrupts = <115>;
81                 };
82         };
83
84         fpi@10000000 {
85                 #address-cells = <1>;
86                 #size-cells = <1>;
87                 compatible = "lantiq,fpi", "simple-bus";
88                 ranges = <0x0 0x10000000 0xEEFFFFF>;
89                 reg = <0x10000000 0xEF00000>;
90
91                 localbus@0 {
92                         #address-cells = <2>;
93                         #size-cells = <1>;
94                         ranges = <0 0 0x0 0x3ffffff /* addrsel0 */
95                                 1 0 0x4000000 0x4000010>; /* addsel1 */
96                         compatible = "lantiq,localbus", "simple-bus";
97                 };
98
99                 gptu@E100A00 {
100                         compatible = "lantiq,gptu-xway";
101                         reg = <0xE100A00 0x100>;
102                         interrupt-parent = <&icu0>;
103                         interrupts = <126 127 128 129 130 131>;
104                 };
105
106                 asc0: serial@E100400 {
107                         compatible = "lantiq,asc";
108                         reg = <0xE100400 0x400>;
109                         interrupt-parent = <&icu0>;
110                         interrupts = <104 105 106>;
111                         status = "disabled";
112                 };
113
114                 gpio: pinmux@E100B10 {
115                         compatible = "lantiq,pinctrl-xr9";
116                         #gpio-cells = <2>;
117                         gpio-controller;
118                         reg = <0xE100B10 0xA0>;
119                 };
120
121                 asc1: serial@E100C00 {
122                         compatible = "lantiq,asc";
123                         reg = <0xE100C00 0x400>;
124                         interrupt-parent = <&icu0>;
125                         interrupts = <112 113 114>;
126                 };
127
128                 deu@E103100 {
129                         compatible = "lantiq,deu-xrx200";
130                         reg = <0xE103100 0xf00>;
131                 };
132
133                 dma0: dma@E104100 {
134                         compatible = "lantiq,dma-xway";
135                         reg = <0xE104100 0x800>;
136                 };
137
138                 ebu0: ebu@E105300 {
139                         compatible = "lantiq,ebu-xway";
140                         reg = <0xE105300 0x100>;
141                 };
142
143                 ifxhcd@E101000 {
144                         status = "disabled";
145                         compatible = "lantiq,ifxhcd-xrx200";
146                         reg = <0xE101000 0x1000
147                                 0xE120000 0x3f000>;
148                         interrupt-parent = <&icu0>;
149                         interrupts = <62 91>;
150                 };
151
152                 mei@E116000 {
153                         compatible = "lantiq,mei-xrx200";
154                         interrupt-parent = <&icu0>;
155                         interrupts = <63>;
156                 };
157
158                 ppe@E234000 {
159                         compatible = "lantiq,ppe-xrx200";
160                         interrupt-parent = <&icu0>;
161                         interrupts = <96>;
162                 };
163
164                 pcie@d900000 {
165                         interrupt-parent = <&icu0>;
166                         interrupts = <161 144>;
167                         compatible = "lantiq,pcie-xrx200";
168                 };
169
170                 pci0: pci@E105400 {
171                         #address-cells = <3>;
172                         #size-cells = <2>;
173                         #interrupt-cells = <1>;
174                         compatible = "lantiq,pci-xway";
175                         bus-range = <0x0 0x0>;
176                         ranges = <0x2000000 0 0x8000000 0x8000000 0 0x2000000   /* pci memory */
177                                 0x1000000 0 0x00000000 0xAE00000 0 0x200000>; /* io space */
178                         reg = <0x7000000 0x8000         /* config space */
179                                 0xE105400 0x400>;       /* pci bridge */
180                         status = "disabled";
181                 };
182
183         };
184
185         vdsl {
186                 compatible = "lantiq,vdsl-vrx200";
187         };
188 };