Merge tag 'usb-5.11-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[linux/fpc-iii.git] / arch / arm / boot / dts / wm8505.dtsi
blob168cd12b07bc9d71374e54dcd5f448d0ce88334e
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3  * wm8505.dtsi - Device tree file for Wondermedia WM8505 SoC
4  *
5  * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
6  */
8 / {
9         #address-cells = <1>;
10         #size-cells = <1>;
11         compatible = "wm,wm8505";
13         cpus {
14                 #address-cells = <0>;
15                 #size-cells = <0>;
17                 cpu {
18                         device_type = "cpu";
19                         compatible = "arm,arm926ej-s";
20                 };
21         };
23         memory {
24                 device_type = "memory";
25                 reg = <0x0 0x0>;
26         };
28         aliases {
29                 serial0 = &uart0;
30                 serial1 = &uart1;
31                 serial2 = &uart2;
32                 serial3 = &uart3;
33                 serial4 = &uart4;
34                 serial5 = &uart5;
35         };
37         soc {
38                 #address-cells = <1>;
39                 #size-cells = <1>;
40                 compatible = "simple-bus";
41                 ranges;
42                 interrupt-parent = <&intc0>;
44                 intc0: interrupt-controller@d8140000 {
45                         compatible = "via,vt8500-intc";
46                         interrupt-controller;
47                         reg = <0xd8140000 0x10000>;
48                         #interrupt-cells = <1>;
49                 };
51                 /* Secondary IC cascaded to intc0 */
52                 intc1: interrupt-controller@d8150000 {
53                         compatible = "via,vt8500-intc";
54                         interrupt-controller;
55                         #interrupt-cells = <1>;
56                         reg = <0xD8150000 0x10000>;
57                         interrupts = <56 57 58 59 60 61 62 63>;
58                 };
60                 pinctrl: pinctrl@d8110000 {
61                         compatible = "wm,wm8505-pinctrl";
62                         reg = <0xd8110000 0x10000>;
63                         interrupt-controller;
64                         #interrupt-cells = <2>;
65                         gpio-controller;
66                         #gpio-cells = <2>;
67                 };
69                 pmc@d8130000 {
70                         compatible = "via,vt8500-pmc";
71                         reg = <0xd8130000 0x1000>;
72                         clocks {
73                                 #address-cells = <1>;
74                                 #size-cells = <0>;
76                                 ref24: ref24M {
77                                         #clock-cells = <0>;
78                                         compatible = "fixed-clock";
79                                         clock-frequency = <24000000>;
80                                 };
82                                 ref25: ref25M {
83                                         #clock-cells = <0>;
84                                         compatible = "fixed-clock";
85                                         clock-frequency = <25000000>;
86                                 };
88                                 plla: plla {
89                                         #clock-cells = <0>;
90                                         compatible = "via,vt8500-pll-clock";
91                                         clocks = <&ref25>;
92                                         reg = <0x200>;
93                                 };
95                                 pllb: pllb {
96                                         #clock-cells = <0>;
97                                         compatible = "via,vt8500-pll-clock";
98                                         clocks = <&ref25>;
99                                         reg = <0x204>;
100                                 };
102                                 pllc: pllc {
103                                         #clock-cells = <0>;
104                                         compatible = "via,vt8500-pll-clock";
105                                         clocks = <&ref25>;
106                                         reg = <0x208>;
107                                 };
109                                 plld: plld {
110                                         #clock-cells = <0>;
111                                         compatible = "via,vt8500-pll-clock";
112                                         clocks = <&ref25>;
113                                         reg = <0x20c>;
114                                 };
116                                 clkarm: arm {
117                                         #clock-cells = <0>;
118                                         compatible = "via,vt8500-device-clock";
119                                         clocks = <&plla>;
120                                         divisor-reg = <0x300>;
121                                 };
123                                 clkahb: ahb {
124                                         #clock-cells = <0>;
125                                         compatible = "via,vt8500-device-clock";
126                                         clocks = <&pllb>;
127                                         divisor-reg = <0x304>;
128                                 };
130                                 clkapb: apb {
131                                         #clock-cells = <0>;
132                                         compatible = "via,vt8500-device-clock";
133                                         clocks = <&pllb>;
134                                         divisor-reg = <0x350>;
135                                 };
137                                 clkddr: ddr {
138                                         #clock-cells = <0>;
139                                         compatible = "via,vt8500-device-clock";
140                                         clocks = <&plld>;
141                                         divisor-reg = <0x310>;
142                                 };
144                                 clkuart0: uart0 {
145                                         #clock-cells = <0>;
146                                         compatible = "via,vt8500-device-clock";
147                                         clocks = <&ref24>;
148                                         enable-reg = <0x250>;
149                                         enable-bit = <1>;
150                                 };
152                                 clkuart1: uart1 {
153                                         #clock-cells = <0>;
154                                         compatible = "via,vt8500-device-clock";
155                                         clocks = <&ref24>;
156                                         enable-reg = <0x250>;
157                                         enable-bit = <2>;
158                                 };
160                                 clkuart2: uart2 {
161                                         #clock-cells = <0>;
162                                         compatible = "via,vt8500-device-clock";
163                                         clocks = <&ref24>;
164                                         enable-reg = <0x250>;
165                                         enable-bit = <3>;
166                                 };
168                                 clkuart3: uart3 {
169                                         #clock-cells = <0>;
170                                         compatible = "via,vt8500-device-clock";
171                                         clocks = <&ref24>;
172                                         enable-reg = <0x250>;
173                                         enable-bit = <4>;
174                                 };
176                                 clkuart4: uart4 {
177                                         #clock-cells = <0>;
178                                         compatible = "via,vt8500-device-clock";
179                                         clocks = <&ref24>;
180                                         enable-reg = <0x250>;
181                                         enable-bit = <22>;
182                                 };
184                                 clkuart5: uart5 {
185                                         #clock-cells = <0>;
186                                         compatible = "via,vt8500-device-clock";
187                                         clocks = <&ref24>;
188                                         enable-reg = <0x250>;
189                                         enable-bit = <23>;
190                                 };
192                                 clksdhc: sdhc {
193                                         #clock-cells = <0>;
194                                         compatible = "via,vt8500-device-clock";
195                                         clocks = <&pllb>;
196                                         divisor-reg = <0x328>;
197                                         divisor-mask = <0x3f>;
198                                         enable-reg = <0x254>;
199                                         enable-bit = <18>;
200                                 };
201                         };
202                 };
204                 timer@d8130100 {
205                         compatible = "via,vt8500-timer";
206                         reg = <0xd8130100 0x28>;
207                         interrupts = <36>;
208                 };
210                 ehci@d8007100 {
211                         compatible = "via,vt8500-ehci";
212                         reg = <0xd8007100 0x200>;
213                         interrupts = <1>;
214                 };
216                 uhci@d8007300 {
217                         compatible = "platform-uhci";
218                         reg = <0xd8007300 0x200>;
219                         interrupts = <0>;
220                 };
222                 fb: fb@d8050800 {
223                         compatible = "wm,wm8505-fb";
224                         reg = <0xd8050800 0x200>;
225                 };
227                 ge_rops@d8050400 {
228                         compatible = "wm,prizm-ge-rops";
229                         reg = <0xd8050400 0x100>;
230                 };
232                 uart0: serial@d8200000 {
233                         compatible = "via,vt8500-uart";
234                         reg = <0xd8200000 0x1040>;
235                         interrupts = <32>;
236                         clocks = <&clkuart0>;
237                         status = "disabled";
238                 };
240                 uart1: serial@d82b0000 {
241                         compatible = "via,vt8500-uart";
242                         reg = <0xd82b0000 0x1040>;
243                         interrupts = <33>;
244                         clocks = <&clkuart1>;
245                         status = "disabled";
246                 };
248                 uart2: serial@d8210000 {
249                         compatible = "via,vt8500-uart";
250                         reg = <0xd8210000 0x1040>;
251                         interrupts = <47>;
252                         clocks = <&clkuart2>;
253                         status = "disabled";
254                 };
256                 uart3: serial@d82c0000 {
257                         compatible = "via,vt8500-uart";
258                         reg = <0xd82c0000 0x1040>;
259                         interrupts = <50>;
260                         clocks = <&clkuart3>;
261                         status = "disabled";
262                 };
264                 uart4: serial@d8370000 {
265                         compatible = "via,vt8500-uart";
266                         reg = <0xd8370000 0x1040>;
267                         interrupts = <31>;
268                         clocks = <&clkuart4>;
269                         status = "disabled";
270                 };
272                 uart5: serial@d8380000 {
273                         compatible = "via,vt8500-uart";
274                         reg = <0xd8380000 0x1040>;
275                         interrupts = <30>;
276                         clocks = <&clkuart5>;
277                         status = "disabled";
278                 };
280                 rtc@d8100000 {
281                         compatible = "via,vt8500-rtc";
282                         reg = <0xd8100000 0x10000>;
283                         interrupts = <48>;
284                 };
286                 sdhc@d800a000 {
287                         compatible = "wm,wm8505-sdhc";
288                         reg = <0xd800a000 0x400>;
289                         interrupts = <20>, <21>;
290                         clocks = <&clksdhc>;
291                         bus-width = <4>;
292                 };
293         };