xref: /linux/scripts/dtc/include-prefixes/arm/vt8500/wm8505.dtsi (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * wm8505.dtsi - Device tree file for Wondermedia WM8505 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,wm8505";
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,arm926ej-s";
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 	};
36724ba675SRob Herring
37724ba675SRob Herring	soc {
38724ba675SRob Herring		#address-cells = <1>;
39724ba675SRob Herring		#size-cells = <1>;
40724ba675SRob Herring		compatible = "simple-bus";
41724ba675SRob Herring		ranges;
42724ba675SRob Herring		interrupt-parent = <&intc0>;
43724ba675SRob Herring
44724ba675SRob Herring		intc0: interrupt-controller@d8140000 {
45724ba675SRob Herring			compatible = "via,vt8500-intc";
46724ba675SRob Herring			interrupt-controller;
47724ba675SRob Herring			reg = <0xd8140000 0x10000>;
48724ba675SRob Herring			#interrupt-cells = <1>;
49724ba675SRob Herring		};
50724ba675SRob Herring
51724ba675SRob Herring		/* Secondary IC cascaded to intc0 */
52724ba675SRob Herring		intc1: interrupt-controller@d8150000 {
53724ba675SRob Herring			compatible = "via,vt8500-intc";
54724ba675SRob Herring			interrupt-controller;
55724ba675SRob Herring			#interrupt-cells = <1>;
56724ba675SRob Herring			reg = <0xD8150000 0x10000>;
57724ba675SRob Herring			interrupts = <56 57 58 59 60 61 62 63>;
58724ba675SRob Herring		};
59724ba675SRob Herring
60724ba675SRob Herring		pinctrl: pinctrl@d8110000 {
61724ba675SRob Herring			compatible = "wm,wm8505-pinctrl";
62724ba675SRob Herring			reg = <0xd8110000 0x10000>;
63724ba675SRob Herring			interrupt-controller;
64724ba675SRob Herring			#interrupt-cells = <2>;
65724ba675SRob Herring			gpio-controller;
66724ba675SRob Herring			#gpio-cells = <2>;
67724ba675SRob Herring		};
68724ba675SRob Herring
69724ba675SRob Herring		pmc@d8130000 {
70724ba675SRob Herring			compatible = "via,vt8500-pmc";
71724ba675SRob Herring			reg = <0xd8130000 0x1000>;
72724ba675SRob Herring			clocks {
73724ba675SRob Herring				#address-cells = <1>;
74724ba675SRob Herring				#size-cells = <0>;
75724ba675SRob Herring
76724ba675SRob Herring				ref24: ref24M {
77724ba675SRob Herring					#clock-cells = <0>;
78724ba675SRob Herring					compatible = "fixed-clock";
79724ba675SRob Herring					clock-frequency = <24000000>;
80724ba675SRob Herring				};
81724ba675SRob Herring
82724ba675SRob Herring				ref25: ref25M {
83724ba675SRob Herring					#clock-cells = <0>;
84724ba675SRob Herring					compatible = "fixed-clock";
85724ba675SRob Herring					clock-frequency = <25000000>;
86724ba675SRob Herring				};
87724ba675SRob Herring
88724ba675SRob Herring				plla: plla {
89724ba675SRob Herring					#clock-cells = <0>;
90724ba675SRob Herring					compatible = "via,vt8500-pll-clock";
91724ba675SRob Herring					clocks = <&ref25>;
92724ba675SRob Herring					reg = <0x200>;
93724ba675SRob Herring				};
94724ba675SRob Herring
95724ba675SRob Herring				pllb: pllb {
96724ba675SRob Herring					#clock-cells = <0>;
97724ba675SRob Herring					compatible = "via,vt8500-pll-clock";
98724ba675SRob Herring					clocks = <&ref25>;
99724ba675SRob Herring					reg = <0x204>;
100724ba675SRob Herring				};
101724ba675SRob Herring
102724ba675SRob Herring				pllc: pllc {
103724ba675SRob Herring					#clock-cells = <0>;
104724ba675SRob Herring					compatible = "via,vt8500-pll-clock";
105724ba675SRob Herring					clocks = <&ref25>;
106724ba675SRob Herring					reg = <0x208>;
107724ba675SRob Herring				};
108724ba675SRob Herring
109724ba675SRob Herring				plld: plld {
110724ba675SRob Herring					#clock-cells = <0>;
111724ba675SRob Herring					compatible = "via,vt8500-pll-clock";
112724ba675SRob Herring					clocks = <&ref25>;
113724ba675SRob Herring					reg = <0x20c>;
114724ba675SRob Herring				};
115724ba675SRob Herring
116724ba675SRob Herring				clkarm: arm {
117724ba675SRob Herring					#clock-cells = <0>;
118724ba675SRob Herring					compatible = "via,vt8500-device-clock";
119724ba675SRob Herring					clocks = <&plla>;
120724ba675SRob Herring					divisor-reg = <0x300>;
121724ba675SRob Herring				};
122724ba675SRob Herring
123724ba675SRob Herring				clkahb: ahb {
124724ba675SRob Herring					#clock-cells = <0>;
125724ba675SRob Herring					compatible = "via,vt8500-device-clock";
126724ba675SRob Herring					clocks = <&pllb>;
127724ba675SRob Herring					divisor-reg = <0x304>;
128724ba675SRob Herring				};
129724ba675SRob Herring
130724ba675SRob Herring				clkapb: apb {
131724ba675SRob Herring					#clock-cells = <0>;
132724ba675SRob Herring					compatible = "via,vt8500-device-clock";
133724ba675SRob Herring					clocks = <&pllb>;
134724ba675SRob Herring					divisor-reg = <0x350>;
135724ba675SRob Herring				};
136724ba675SRob Herring
137724ba675SRob Herring				clkddr: ddr {
138724ba675SRob Herring					#clock-cells = <0>;
139724ba675SRob Herring					compatible = "via,vt8500-device-clock";
140724ba675SRob Herring					clocks = <&plld>;
141724ba675SRob Herring					divisor-reg = <0x310>;
142724ba675SRob Herring				};
143724ba675SRob Herring
144724ba675SRob Herring				clkuart0: uart0 {
145724ba675SRob Herring					#clock-cells = <0>;
146724ba675SRob Herring					compatible = "via,vt8500-device-clock";
147724ba675SRob Herring					clocks = <&ref24>;
148724ba675SRob Herring					enable-reg = <0x250>;
149724ba675SRob Herring					enable-bit = <1>;
150724ba675SRob Herring				};
151724ba675SRob Herring
152724ba675SRob Herring				clkuart1: uart1 {
153724ba675SRob Herring					#clock-cells = <0>;
154724ba675SRob Herring					compatible = "via,vt8500-device-clock";
155724ba675SRob Herring					clocks = <&ref24>;
156724ba675SRob Herring					enable-reg = <0x250>;
157724ba675SRob Herring					enable-bit = <2>;
158724ba675SRob Herring				};
159724ba675SRob Herring
160724ba675SRob Herring				clkuart2: uart2 {
161724ba675SRob Herring					#clock-cells = <0>;
162724ba675SRob Herring					compatible = "via,vt8500-device-clock";
163724ba675SRob Herring					clocks = <&ref24>;
164724ba675SRob Herring					enable-reg = <0x250>;
165724ba675SRob Herring					enable-bit = <3>;
166724ba675SRob Herring				};
167724ba675SRob Herring
168724ba675SRob Herring				clkuart3: uart3 {
169724ba675SRob Herring					#clock-cells = <0>;
170724ba675SRob Herring					compatible = "via,vt8500-device-clock";
171724ba675SRob Herring					clocks = <&ref24>;
172724ba675SRob Herring					enable-reg = <0x250>;
173724ba675SRob Herring					enable-bit = <4>;
174724ba675SRob Herring				};
175724ba675SRob Herring
176724ba675SRob Herring				clkuart4: uart4 {
177724ba675SRob Herring					#clock-cells = <0>;
178724ba675SRob Herring					compatible = "via,vt8500-device-clock";
179724ba675SRob Herring					clocks = <&ref24>;
180724ba675SRob Herring					enable-reg = <0x250>;
181724ba675SRob Herring					enable-bit = <22>;
182724ba675SRob Herring				};
183724ba675SRob Herring
184724ba675SRob Herring				clkuart5: uart5 {
185724ba675SRob Herring					#clock-cells = <0>;
186724ba675SRob Herring					compatible = "via,vt8500-device-clock";
187724ba675SRob Herring					clocks = <&ref24>;
188724ba675SRob Herring					enable-reg = <0x250>;
189724ba675SRob Herring					enable-bit = <23>;
190724ba675SRob Herring				};
191724ba675SRob Herring
192724ba675SRob Herring				clksdhc: sdhc {
193724ba675SRob Herring					#clock-cells = <0>;
194724ba675SRob Herring					compatible = "via,vt8500-device-clock";
195724ba675SRob Herring					clocks = <&pllb>;
196724ba675SRob Herring					divisor-reg = <0x328>;
197724ba675SRob Herring					divisor-mask = <0x3f>;
198724ba675SRob Herring					enable-reg = <0x254>;
199724ba675SRob Herring					enable-bit = <18>;
200724ba675SRob Herring				};
201724ba675SRob Herring			};
202724ba675SRob Herring		};
203724ba675SRob Herring
204724ba675SRob Herring		timer@d8130100 {
205724ba675SRob Herring			compatible = "via,vt8500-timer";
206724ba675SRob Herring			reg = <0xd8130100 0x28>;
207724ba675SRob Herring			interrupts = <36>;
208724ba675SRob Herring		};
209724ba675SRob Herring
210724ba675SRob Herring		ehci@d8007100 {
211724ba675SRob Herring			compatible = "via,vt8500-ehci";
212724ba675SRob Herring			reg = <0xd8007100 0x200>;
213724ba675SRob Herring			interrupts = <1>;
214724ba675SRob Herring		};
215724ba675SRob Herring
216*dd2118bdSMohammad Shehar Yaar Tausif		usb@d8007300 {
217724ba675SRob Herring			compatible = "platform-uhci";
218724ba675SRob Herring			reg = <0xd8007300 0x200>;
219724ba675SRob Herring			interrupts = <0>;
220724ba675SRob Herring		};
221724ba675SRob Herring
222724ba675SRob Herring		fb: fb@d8050800 {
223724ba675SRob Herring			compatible = "wm,wm8505-fb";
224724ba675SRob Herring			reg = <0xd8050800 0x200>;
225724ba675SRob Herring		};
226724ba675SRob Herring
227724ba675SRob Herring		ge_rops@d8050400 {
228724ba675SRob Herring			compatible = "wm,prizm-ge-rops";
229724ba675SRob Herring			reg = <0xd8050400 0x100>;
230724ba675SRob Herring		};
231724ba675SRob Herring
232724ba675SRob Herring		uart0: serial@d8200000 {
233724ba675SRob Herring			compatible = "via,vt8500-uart";
234724ba675SRob Herring			reg = <0xd8200000 0x1040>;
235724ba675SRob Herring			interrupts = <32>;
236724ba675SRob Herring			clocks = <&clkuart0>;
237724ba675SRob Herring			status = "disabled";
238724ba675SRob Herring		};
239724ba675SRob Herring
240724ba675SRob Herring		uart1: serial@d82b0000 {
241724ba675SRob Herring			compatible = "via,vt8500-uart";
242724ba675SRob Herring			reg = <0xd82b0000 0x1040>;
243724ba675SRob Herring			interrupts = <33>;
244724ba675SRob Herring			clocks = <&clkuart1>;
245724ba675SRob Herring			status = "disabled";
246724ba675SRob Herring		};
247724ba675SRob Herring
248724ba675SRob Herring		uart2: serial@d8210000 {
249724ba675SRob Herring			compatible = "via,vt8500-uart";
250724ba675SRob Herring			reg = <0xd8210000 0x1040>;
251724ba675SRob Herring			interrupts = <47>;
252724ba675SRob Herring			clocks = <&clkuart2>;
253724ba675SRob Herring			status = "disabled";
254724ba675SRob Herring		};
255724ba675SRob Herring
256724ba675SRob Herring		uart3: serial@d82c0000 {
257724ba675SRob Herring			compatible = "via,vt8500-uart";
258724ba675SRob Herring			reg = <0xd82c0000 0x1040>;
259724ba675SRob Herring			interrupts = <50>;
260724ba675SRob Herring			clocks = <&clkuart3>;
261724ba675SRob Herring			status = "disabled";
262724ba675SRob Herring		};
263724ba675SRob Herring
264724ba675SRob Herring		uart4: serial@d8370000 {
265724ba675SRob Herring			compatible = "via,vt8500-uart";
266724ba675SRob Herring			reg = <0xd8370000 0x1040>;
267724ba675SRob Herring			interrupts = <31>;
268724ba675SRob Herring			clocks = <&clkuart4>;
269724ba675SRob Herring			status = "disabled";
270724ba675SRob Herring		};
271724ba675SRob Herring
272724ba675SRob Herring		uart5: serial@d8380000 {
273724ba675SRob Herring			compatible = "via,vt8500-uart";
274724ba675SRob Herring			reg = <0xd8380000 0x1040>;
275724ba675SRob Herring			interrupts = <30>;
276724ba675SRob Herring			clocks = <&clkuart5>;
277724ba675SRob Herring			status = "disabled";
278724ba675SRob Herring		};
279724ba675SRob Herring
280724ba675SRob Herring		rtc@d8100000 {
281724ba675SRob Herring			compatible = "via,vt8500-rtc";
282724ba675SRob Herring			reg = <0xd8100000 0x10000>;
283724ba675SRob Herring			interrupts = <48>;
284724ba675SRob Herring		};
285724ba675SRob Herring
286724ba675SRob Herring		sdhc@d800a000 {
287724ba675SRob Herring			compatible = "wm,wm8505-sdhc";
288724ba675SRob Herring			reg = <0xd800a000 0x400>;
289724ba675SRob Herring			interrupts = <20>, <21>;
290724ba675SRob Herring			clocks = <&clksdhc>;
291724ba675SRob Herring			bus-width = <4>;
292724ba675SRob Herring		};
293724ba675SRob Herring	};
294724ba675SRob Herring};
295