xref: /linux/scripts/dtc/include-prefixes/arm/vt8500/wm8750.dtsi (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * wm8750.dtsi - Device tree file for Wondermedia WM8750 SoC
4724ba675SRob Herring *
5724ba675SRob Herring * Copyright (C) 2012 Tony Prisk <linux@prisktech.co.nz>
6724ba675SRob Herring */
7724ba675SRob Herring
8724ba675SRob Herring/ {
9724ba675SRob Herring	#address-cells = <1>;
10724ba675SRob Herring	#size-cells = <1>;
11724ba675SRob Herring	compatible = "wm,wm8750";
12724ba675SRob Herring
13724ba675SRob Herring	cpus {
14724ba675SRob Herring		#address-cells = <0>;
15724ba675SRob Herring		#size-cells = <0>;
16724ba675SRob Herring
17724ba675SRob Herring		cpu {
18724ba675SRob Herring			device_type = "cpu";
19724ba675SRob Herring			compatible = "arm,arm1176jzf";
20724ba675SRob Herring		};
21724ba675SRob Herring	};
22724ba675SRob Herring
23724ba675SRob Herring	memory {
24724ba675SRob Herring		device_type = "memory";
25724ba675SRob Herring		reg = <0x0 0x0>;
26724ba675SRob Herring	};
27724ba675SRob Herring
28724ba675SRob Herring	aliases {
29724ba675SRob Herring		serial0 = &uart0;
30724ba675SRob Herring		serial1 = &uart1;
31724ba675SRob Herring		serial2 = &uart2;
32724ba675SRob Herring		serial3 = &uart3;
33724ba675SRob Herring		serial4 = &uart4;
34724ba675SRob Herring		serial5 = &uart5;
35724ba675SRob Herring		i2c0 = &i2c_0;
36724ba675SRob Herring		i2c1 = &i2c_1;
37724ba675SRob Herring	};
38724ba675SRob Herring
39724ba675SRob Herring	soc {
40724ba675SRob Herring		#address-cells = <1>;
41724ba675SRob Herring		#size-cells = <1>;
42724ba675SRob Herring		compatible = "simple-bus";
43724ba675SRob Herring		ranges;
44724ba675SRob Herring		interrupt-parent = <&intc0>;
45724ba675SRob Herring
46724ba675SRob Herring		intc0: interrupt-controller@d8140000 {
47724ba675SRob Herring			compatible = "via,vt8500-intc";
48724ba675SRob Herring			interrupt-controller;
49724ba675SRob Herring			reg = <0xd8140000 0x10000>;
50724ba675SRob Herring			#interrupt-cells = <1>;
51724ba675SRob Herring		};
52724ba675SRob Herring
53724ba675SRob Herring		/* Secondary IC cascaded to intc0 */
54724ba675SRob Herring		intc1: interrupt-controller@d8150000 {
55724ba675SRob Herring			compatible = "via,vt8500-intc";
56724ba675SRob Herring			interrupt-controller;
57724ba675SRob Herring			#interrupt-cells = <1>;
58724ba675SRob Herring			reg = <0xD8150000 0x10000>;
59724ba675SRob Herring			interrupts = <56 57 58 59 60 61 62 63>;
60724ba675SRob Herring		};
61724ba675SRob Herring
62724ba675SRob Herring		pinctrl: pinctrl@d8110000 {
63724ba675SRob Herring			compatible = "wm,wm8750-pinctrl";
64724ba675SRob Herring			reg = <0xd8110000 0x10000>;
65724ba675SRob Herring			interrupt-controller;
66724ba675SRob Herring			#interrupt-cells = <2>;
67724ba675SRob Herring			gpio-controller;
68724ba675SRob Herring			#gpio-cells = <2>;
69724ba675SRob Herring		};
70724ba675SRob Herring
71724ba675SRob Herring		pmc@d8130000 {
72724ba675SRob Herring			compatible = "via,vt8500-pmc";
73724ba675SRob Herring			reg = <0xd8130000 0x1000>;
74724ba675SRob Herring
75724ba675SRob Herring			clocks {
76724ba675SRob Herring				#address-cells = <1>;
77724ba675SRob Herring				#size-cells = <0>;
78724ba675SRob Herring
79724ba675SRob Herring				ref24: ref24M {
80724ba675SRob Herring					#clock-cells = <0>;
81724ba675SRob Herring					compatible = "fixed-clock";
82724ba675SRob Herring					clock-frequency = <24000000>;
83724ba675SRob Herring				};
84724ba675SRob Herring
85724ba675SRob Herring				ref25: ref25M {
86724ba675SRob Herring					#clock-cells = <0>;
87724ba675SRob Herring					compatible = "fixed-clock";
88724ba675SRob Herring					clock-frequency = <25000000>;
89724ba675SRob Herring				};
90724ba675SRob Herring
91724ba675SRob Herring				plla: plla {
92724ba675SRob Herring					#clock-cells = <0>;
93724ba675SRob Herring					compatible = "wm,wm8750-pll-clock";
94724ba675SRob Herring					clocks = <&ref25>;
95724ba675SRob Herring					reg = <0x200>;
96724ba675SRob Herring				};
97724ba675SRob Herring
98724ba675SRob Herring				pllb: pllb {
99724ba675SRob Herring					#clock-cells = <0>;
100724ba675SRob Herring					compatible = "wm,wm8750-pll-clock";
101724ba675SRob Herring					clocks = <&ref25>;
102724ba675SRob Herring					reg = <0x204>;
103724ba675SRob Herring				};
104724ba675SRob Herring
105724ba675SRob Herring				pllc: pllc {
106724ba675SRob Herring					#clock-cells = <0>;
107724ba675SRob Herring					compatible = "wm,wm8750-pll-clock";
108724ba675SRob Herring					clocks = <&ref25>;
109724ba675SRob Herring					reg = <0x208>;
110724ba675SRob Herring				};
111724ba675SRob Herring
112724ba675SRob Herring				plld: plld {
113724ba675SRob Herring					#clock-cells = <0>;
114724ba675SRob Herring					compatible = "wm,wm8750-pll-clock";
115724ba675SRob Herring					clocks = <&ref25>;
116724ba675SRob Herring					reg = <0x20C>;
117724ba675SRob Herring				};
118724ba675SRob Herring
119724ba675SRob Herring				plle: plle {
120724ba675SRob Herring					#clock-cells = <0>;
121724ba675SRob Herring					compatible = "wm,wm8750-pll-clock";
122724ba675SRob Herring					clocks = <&ref25>;
123724ba675SRob Herring					reg = <0x210>;
124724ba675SRob Herring				};
125724ba675SRob Herring
126724ba675SRob Herring				clkarm: arm {
127724ba675SRob Herring					#clock-cells = <0>;
128724ba675SRob Herring					compatible = "via,vt8500-device-clock";
129724ba675SRob Herring					clocks = <&plla>;
130724ba675SRob Herring					divisor-reg = <0x300>;
131724ba675SRob Herring				};
132724ba675SRob Herring
133724ba675SRob Herring				clkahb: ahb {
134724ba675SRob Herring					#clock-cells = <0>;
135724ba675SRob Herring					compatible = "via,vt8500-device-clock";
136724ba675SRob Herring					clocks = <&pllb>;
137724ba675SRob Herring					divisor-reg = <0x304>;
138724ba675SRob Herring				};
139724ba675SRob Herring
140724ba675SRob Herring				clkapb: apb {
141724ba675SRob Herring					#clock-cells = <0>;
142724ba675SRob Herring					compatible = "via,vt8500-device-clock";
143724ba675SRob Herring					clocks = <&pllb>;
144724ba675SRob Herring					divisor-reg = <0x320>;
145724ba675SRob Herring				};
146724ba675SRob Herring
147724ba675SRob Herring				clkddr: ddr {
148724ba675SRob Herring					#clock-cells = <0>;
149724ba675SRob Herring					compatible = "via,vt8500-device-clock";
150724ba675SRob Herring					clocks = <&plld>;
151724ba675SRob Herring					divisor-reg = <0x310>;
152724ba675SRob Herring				};
153724ba675SRob Herring
154724ba675SRob Herring				clkuart0: uart0 {
155724ba675SRob Herring					#clock-cells = <0>;
156724ba675SRob Herring					compatible = "via,vt8500-device-clock";
157724ba675SRob Herring					clocks = <&ref24>;
158724ba675SRob Herring					enable-reg = <0x254>;
159724ba675SRob Herring					enable-bit = <24>;
160724ba675SRob Herring				};
161724ba675SRob Herring
162724ba675SRob Herring				clkuart1: uart1 {
163724ba675SRob Herring					#clock-cells = <0>;
164724ba675SRob Herring					compatible = "via,vt8500-device-clock";
165724ba675SRob Herring					clocks = <&ref24>;
166724ba675SRob Herring					enable-reg = <0x254>;
167724ba675SRob Herring					enable-bit = <25>;
168724ba675SRob Herring				};
169724ba675SRob Herring
170724ba675SRob Herring                                clkuart2: uart2 {
171724ba675SRob Herring                                        #clock-cells = <0>;
172724ba675SRob Herring                                        compatible = "via,vt8500-device-clock";
173724ba675SRob Herring                                        clocks = <&ref24>;
174724ba675SRob Herring                                        enable-reg = <0x254>;
175724ba675SRob Herring                                        enable-bit = <26>;
176724ba675SRob Herring                                };
177724ba675SRob Herring
178724ba675SRob Herring                                clkuart3: uart3 {
179724ba675SRob Herring                                        #clock-cells = <0>;
180724ba675SRob Herring                                        compatible = "via,vt8500-device-clock";
181724ba675SRob Herring                                        clocks = <&ref24>;
182724ba675SRob Herring                                        enable-reg = <0x254>;
183724ba675SRob Herring                                        enable-bit = <27>;
184724ba675SRob Herring                                };
185724ba675SRob Herring
186724ba675SRob Herring                                clkuart4: uart4 {
187724ba675SRob Herring                                        #clock-cells = <0>;
188724ba675SRob Herring                                        compatible = "via,vt8500-device-clock";
189724ba675SRob Herring                                        clocks = <&ref24>;
190724ba675SRob Herring                                        enable-reg = <0x254>;
191724ba675SRob Herring                                        enable-bit = <28>;
192724ba675SRob Herring                                };
193724ba675SRob Herring
194724ba675SRob Herring                                clkuart5: uart5 {
195724ba675SRob Herring                                        #clock-cells = <0>;
196724ba675SRob Herring                                        compatible = "via,vt8500-device-clock";
197724ba675SRob Herring                                        clocks = <&ref24>;
198724ba675SRob Herring                                        enable-reg = <0x254>;
199724ba675SRob Herring                                        enable-bit = <29>;
200724ba675SRob Herring                                };
201724ba675SRob Herring
202724ba675SRob Herring				clkpwm: pwm {
203724ba675SRob Herring					#clock-cells = <0>;
204724ba675SRob Herring					compatible = "via,vt8500-device-clock";
205724ba675SRob Herring					clocks = <&pllb>;
206724ba675SRob Herring					divisor-reg = <0x350>;
207724ba675SRob Herring					enable-reg = <0x250>;
208724ba675SRob Herring					enable-bit = <17>;
209724ba675SRob Herring				};
210724ba675SRob Herring
211724ba675SRob Herring				clksdhc: sdhc {
212724ba675SRob Herring					#clock-cells = <0>;
213724ba675SRob Herring					compatible = "via,vt8500-device-clock";
214724ba675SRob Herring					clocks = <&pllb>;
215724ba675SRob Herring					divisor-reg = <0x330>;
216724ba675SRob Herring					divisor-mask = <0x3f>;
217724ba675SRob Herring					enable-reg = <0x250>;
218724ba675SRob Herring					enable-bit = <0>;
219724ba675SRob Herring				};
220724ba675SRob Herring
221724ba675SRob Herring				clki2c0: i2c0clk {
222724ba675SRob Herring					#clock-cells = <0>;
223724ba675SRob Herring					compatible = "via,vt8500-device-clock";
224724ba675SRob Herring					clocks = <&pllb>;
225724ba675SRob Herring					divisor-reg = <0x3A0>;
226724ba675SRob Herring					enable-reg = <0x250>;
227724ba675SRob Herring					enable-bit = <8>;
228724ba675SRob Herring				};
229724ba675SRob Herring
230724ba675SRob Herring				clki2c1: i2c1clk {
231724ba675SRob Herring					#clock-cells = <0>;
232724ba675SRob Herring					compatible = "via,vt8500-device-clock";
233724ba675SRob Herring					clocks = <&pllb>;
234724ba675SRob Herring					divisor-reg = <0x3A4>;
235724ba675SRob Herring					enable-reg = <0x250>;
236724ba675SRob Herring					enable-bit = <9>;
237724ba675SRob Herring				};
238724ba675SRob Herring			};
239724ba675SRob Herring		};
240724ba675SRob Herring
241724ba675SRob Herring		pwm: pwm@d8220000 {
242724ba675SRob Herring			#pwm-cells = <3>;
243724ba675SRob Herring			compatible = "via,vt8500-pwm";
244724ba675SRob Herring			reg = <0xd8220000 0x100>;
245724ba675SRob Herring			clocks = <&clkpwm>;
246724ba675SRob Herring		};
247724ba675SRob Herring
248724ba675SRob Herring		timer@d8130100 {
249724ba675SRob Herring			compatible = "via,vt8500-timer";
250724ba675SRob Herring			reg = <0xd8130100 0x28>;
251724ba675SRob Herring			interrupts = <36>;
252724ba675SRob Herring		};
253724ba675SRob Herring
254724ba675SRob Herring		ehci@d8007900 {
255724ba675SRob Herring			compatible = "via,vt8500-ehci";
256724ba675SRob Herring			reg = <0xd8007900 0x200>;
257724ba675SRob Herring			interrupts = <26>;
258724ba675SRob Herring		};
259724ba675SRob Herring
260*dd2118bdSMohammad Shehar Yaar Tausif		usb@d8007b00 {
261724ba675SRob Herring			compatible = "platform-uhci";
262724ba675SRob Herring			reg = <0xd8007b00 0x200>;
263724ba675SRob Herring			interrupts = <26>;
264724ba675SRob Herring		};
265724ba675SRob Herring
266*dd2118bdSMohammad Shehar Yaar Tausif		usb@d8008d00 {
267724ba675SRob Herring			compatible = "platform-uhci";
268724ba675SRob Herring			reg = <0xd8008d00 0x200>;
269724ba675SRob Herring			interrupts = <26>;
270724ba675SRob Herring		};
271724ba675SRob Herring
272724ba675SRob Herring		uart0: serial@d8200000 {
273724ba675SRob Herring			compatible = "via,vt8500-uart";
274724ba675SRob Herring			reg = <0xd8200000 0x1040>;
275724ba675SRob Herring			interrupts = <32>;
276724ba675SRob Herring			clocks = <&clkuart0>;
277724ba675SRob Herring			status = "disabled";
278724ba675SRob Herring		};
279724ba675SRob Herring
280724ba675SRob Herring		uart1: serial@d82b0000 {
281724ba675SRob Herring			compatible = "via,vt8500-uart";
282724ba675SRob Herring			reg = <0xd82b0000 0x1040>;
283724ba675SRob Herring			interrupts = <33>;
284724ba675SRob Herring			clocks = <&clkuart1>;
285724ba675SRob Herring			status = "disabled";
286724ba675SRob Herring		};
287724ba675SRob Herring
288724ba675SRob Herring                uart2: serial@d8210000 {
289724ba675SRob Herring                        compatible = "via,vt8500-uart";
290724ba675SRob Herring                        reg = <0xd8210000 0x1040>;
291724ba675SRob Herring                        interrupts = <47>;
292724ba675SRob Herring                        clocks = <&clkuart2>;
293724ba675SRob Herring			status = "disabled";
294724ba675SRob Herring                };
295724ba675SRob Herring
296724ba675SRob Herring                uart3: serial@d82c0000 {
297724ba675SRob Herring                        compatible = "via,vt8500-uart";
298724ba675SRob Herring                        reg = <0xd82c0000 0x1040>;
299724ba675SRob Herring                        interrupts = <50>;
300724ba675SRob Herring                        clocks = <&clkuart3>;
301724ba675SRob Herring			status = "disabled";
302724ba675SRob Herring                };
303724ba675SRob Herring
304724ba675SRob Herring                uart4: serial@d8370000 {
305724ba675SRob Herring                        compatible = "via,vt8500-uart";
306724ba675SRob Herring                        reg = <0xd8370000 0x1040>;
307724ba675SRob Herring                        interrupts = <30>;
308724ba675SRob Herring                        clocks = <&clkuart4>;
309724ba675SRob Herring			status = "disabled";
310724ba675SRob Herring                };
311724ba675SRob Herring
312724ba675SRob Herring                uart5: serial@d8380000 {
313724ba675SRob Herring                        compatible = "via,vt8500-uart";
314724ba675SRob Herring                        reg = <0xd8380000 0x1040>;
315724ba675SRob Herring                        interrupts = <43>;
316724ba675SRob Herring                        clocks = <&clkuart5>;
317724ba675SRob Herring			status = "disabled";
318724ba675SRob Herring                };
319724ba675SRob Herring
320724ba675SRob Herring		rtc@d8100000 {
321724ba675SRob Herring			compatible = "via,vt8500-rtc";
322724ba675SRob Herring			reg = <0xd8100000 0x10000>;
323724ba675SRob Herring			interrupts = <48>;
324724ba675SRob Herring		};
325724ba675SRob Herring
326724ba675SRob Herring		sdhc@d800a000 {
327724ba675SRob Herring			compatible = "wm,wm8505-sdhc";
328724ba675SRob Herring			reg = <0xd800a000 0x1000>;
329724ba675SRob Herring			interrupts = <20 21>;
330724ba675SRob Herring			clocks = <&clksdhc>;
331724ba675SRob Herring			bus-width = <4>;
332724ba675SRob Herring			sdon-inverted;
333724ba675SRob Herring		};
334724ba675SRob Herring
335724ba675SRob Herring		i2c_0: i2c@d8280000 {
336724ba675SRob Herring			compatible = "wm,wm8505-i2c";
337724ba675SRob Herring			reg = <0xd8280000 0x1000>;
338724ba675SRob Herring			interrupts = <19>;
339724ba675SRob Herring			clocks = <&clki2c0>;
340724ba675SRob Herring			clock-frequency = <400000>;
341724ba675SRob Herring		};
342724ba675SRob Herring
343724ba675SRob Herring		i2c_1: i2c@d8320000 {
344724ba675SRob Herring			compatible = "wm,wm8505-i2c";
345724ba675SRob Herring			reg = <0xd8320000 0x1000>;
346724ba675SRob Herring			interrupts = <18>;
347724ba675SRob Herring			clocks = <&clki2c1>;
348724ba675SRob Herring			clock-frequency = <400000>;
349724ba675SRob Herring		};
350724ba675SRob Herring	};
351724ba675SRob Herring};
352