xref: /linux/scripts/dtc/include-prefixes/arm/vt8500/wm8650.dtsi (revision a1ff5a7d78a036d6c2178ee5acd6ba4946243800)
1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later
2724ba675SRob Herring/*
3724ba675SRob Herring * wm8650.dtsi - Device tree file for Wondermedia WM8650 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,wm8650";
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	};
32724ba675SRob Herring
33724ba675SRob Herring	soc {
34724ba675SRob Herring		#address-cells = <1>;
35724ba675SRob Herring		#size-cells = <1>;
36724ba675SRob Herring		compatible = "simple-bus";
37724ba675SRob Herring		ranges;
38724ba675SRob Herring		interrupt-parent = <&intc0>;
39724ba675SRob Herring
40724ba675SRob Herring		intc0: interrupt-controller@d8140000 {
41724ba675SRob Herring			compatible = "via,vt8500-intc";
42724ba675SRob Herring			interrupt-controller;
43724ba675SRob Herring			reg = <0xd8140000 0x10000>;
44724ba675SRob Herring			#interrupt-cells = <1>;
45724ba675SRob Herring		};
46724ba675SRob Herring
47724ba675SRob Herring		/* Secondary IC cascaded to intc0 */
48724ba675SRob Herring		intc1: interrupt-controller@d8150000 {
49724ba675SRob Herring			compatible = "via,vt8500-intc";
50724ba675SRob Herring			interrupt-controller;
51724ba675SRob Herring			#interrupt-cells = <1>;
52724ba675SRob Herring			reg = <0xD8150000 0x10000>;
53724ba675SRob Herring			interrupts = <56 57 58 59 60 61 62 63>;
54724ba675SRob Herring		};
55724ba675SRob Herring
56724ba675SRob Herring		pinctrl: pinctrl@d8110000 {
57724ba675SRob Herring			compatible = "wm,wm8650-pinctrl";
58724ba675SRob Herring			reg = <0xd8110000 0x10000>;
59724ba675SRob Herring			interrupt-controller;
60724ba675SRob Herring			#interrupt-cells = <2>;
61724ba675SRob Herring			gpio-controller;
62724ba675SRob Herring			#gpio-cells = <2>;
63724ba675SRob Herring		};
64724ba675SRob Herring
65724ba675SRob Herring		pmc@d8130000 {
66724ba675SRob Herring			compatible = "via,vt8500-pmc";
67724ba675SRob Herring			reg = <0xd8130000 0x1000>;
68724ba675SRob Herring
69724ba675SRob Herring			clocks {
70724ba675SRob Herring				#address-cells = <1>;
71724ba675SRob Herring				#size-cells = <0>;
72724ba675SRob Herring
73724ba675SRob Herring				ref25: ref25M {
74724ba675SRob Herring					#clock-cells = <0>;
75724ba675SRob Herring					compatible = "fixed-clock";
76724ba675SRob Herring					clock-frequency = <25000000>;
77724ba675SRob Herring				};
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				plla: plla {
86724ba675SRob Herring					#clock-cells = <0>;
87724ba675SRob Herring					compatible = "wm,wm8650-pll-clock";
88724ba675SRob Herring					clocks = <&ref25>;
89724ba675SRob Herring					reg = <0x200>;
90724ba675SRob Herring				};
91724ba675SRob Herring
92724ba675SRob Herring				pllb: pllb {
93724ba675SRob Herring					#clock-cells = <0>;
94724ba675SRob Herring					compatible = "wm,wm8650-pll-clock";
95724ba675SRob Herring					clocks = <&ref25>;
96724ba675SRob Herring					reg = <0x204>;
97724ba675SRob Herring				};
98724ba675SRob Herring
99724ba675SRob Herring				pllc: pllc {
100724ba675SRob Herring					#clock-cells = <0>;
101724ba675SRob Herring					compatible = "wm,wm8650-pll-clock";
102724ba675SRob Herring					clocks = <&ref25>;
103724ba675SRob Herring					reg = <0x208>;
104724ba675SRob Herring				};
105724ba675SRob Herring
106724ba675SRob Herring				plld: plld {
107724ba675SRob Herring					#clock-cells = <0>;
108724ba675SRob Herring					compatible = "wm,wm8650-pll-clock";
109724ba675SRob Herring					clocks = <&ref25>;
110724ba675SRob Herring					reg = <0x20c>;
111724ba675SRob Herring				};
112724ba675SRob Herring
113724ba675SRob Herring				plle: plle {
114724ba675SRob Herring					#clock-cells = <0>;
115724ba675SRob Herring					compatible = "wm,wm8650-pll-clock";
116724ba675SRob Herring					clocks = <&ref25>;
117724ba675SRob Herring					reg = <0x210>;
118724ba675SRob Herring				};
119724ba675SRob Herring
120724ba675SRob Herring				clkarm: arm {
121724ba675SRob Herring					#clock-cells = <0>;
122724ba675SRob Herring					compatible = "via,vt8500-device-clock";
123724ba675SRob Herring					clocks = <&plla>;
124724ba675SRob Herring					divisor-reg = <0x300>;
125724ba675SRob Herring				};
126724ba675SRob Herring
127724ba675SRob Herring				clkahb: ahb {
128724ba675SRob Herring					#clock-cells = <0>;
129724ba675SRob Herring					compatible = "via,vt8500-device-clock";
130724ba675SRob Herring					clocks = <&pllb>;
131724ba675SRob Herring					divisor-reg = <0x304>;
132724ba675SRob Herring				};
133724ba675SRob Herring
134724ba675SRob Herring				clkapb: apb {
135724ba675SRob Herring					#clock-cells = <0>;
136724ba675SRob Herring					compatible = "via,vt8500-device-clock";
137724ba675SRob Herring					clocks = <&pllb>;
138724ba675SRob Herring					divisor-reg = <0x320>;
139724ba675SRob Herring				};
140724ba675SRob Herring
141724ba675SRob Herring				clkddr: ddr {
142724ba675SRob Herring					#clock-cells = <0>;
143724ba675SRob Herring					compatible = "via,vt8500-device-clock";
144724ba675SRob Herring					clocks = <&plld>;
145724ba675SRob Herring					divisor-reg = <0x310>;
146724ba675SRob Herring				};
147724ba675SRob Herring
148724ba675SRob Herring				clkuart0: uart0 {
149724ba675SRob Herring 					#clock-cells = <0>;
150724ba675SRob Herring 					compatible = "via,vt8500-device-clock";
151724ba675SRob Herring					clocks = <&ref24>;
152724ba675SRob Herring					enable-reg = <0x250>;
153724ba675SRob Herring					enable-bit = <1>;
154724ba675SRob Herring 				};
155724ba675SRob Herring
156724ba675SRob Herring				clkuart1: uart1 {
157724ba675SRob Herring					#clock-cells = <0>;
158724ba675SRob Herring					compatible = "via,vt8500-device-clock";
159724ba675SRob Herring					clocks = <&ref24>;
160724ba675SRob Herring					enable-reg = <0x250>;
161724ba675SRob Herring					enable-bit = <2>;
162724ba675SRob Herring				};
163724ba675SRob Herring
164724ba675SRob Herring				clksdhc: sdhc {
165724ba675SRob Herring					#clock-cells = <0>;
166724ba675SRob Herring					compatible = "via,vt8500-device-clock";
167724ba675SRob Herring					clocks = <&pllb>;
168724ba675SRob Herring					divisor-reg = <0x328>;
169724ba675SRob Herring					divisor-mask = <0x3f>;
170724ba675SRob Herring					enable-reg = <0x254>;
171724ba675SRob Herring					enable-bit = <18>;
172724ba675SRob Herring				};
173724ba675SRob Herring			};
174724ba675SRob Herring		};
175724ba675SRob Herring
176724ba675SRob Herring		timer@d8130100 {
177724ba675SRob Herring			compatible = "via,vt8500-timer";
178724ba675SRob Herring			reg = <0xd8130100 0x28>;
179724ba675SRob Herring			interrupts = <36>;
180724ba675SRob Herring		};
181724ba675SRob Herring
182724ba675SRob Herring		ehci@d8007900 {
183724ba675SRob Herring			compatible = "via,vt8500-ehci";
184724ba675SRob Herring			reg = <0xd8007900 0x200>;
185724ba675SRob Herring			interrupts = <43>;
186724ba675SRob Herring		};
187724ba675SRob Herring
188*dd2118bdSMohammad Shehar Yaar Tausif		usb@d8007b00 {
189724ba675SRob Herring			compatible = "platform-uhci";
190724ba675SRob Herring			reg = <0xd8007b00 0x200>;
191724ba675SRob Herring			interrupts = <43>;
192724ba675SRob Herring		};
193724ba675SRob Herring
194724ba675SRob Herring		sdhc@d800a000 {
195724ba675SRob Herring			compatible = "wm,wm8505-sdhc";
196724ba675SRob Herring			reg = <0xd800a000 0x400>;
197724ba675SRob Herring			interrupts = <20>, <21>;
198724ba675SRob Herring			clocks = <&clksdhc>;
199724ba675SRob Herring			bus-width = <4>;
200724ba675SRob Herring			sdon-inverted;
201724ba675SRob Herring		};
202724ba675SRob Herring
203724ba675SRob Herring		fb: fb@d8050800 {
204724ba675SRob Herring			compatible = "wm,wm8505-fb";
205724ba675SRob Herring			reg = <0xd8050800 0x200>;
206724ba675SRob Herring		};
207724ba675SRob Herring
208724ba675SRob Herring		ge_rops@d8050400 {
209724ba675SRob Herring			compatible = "wm,prizm-ge-rops";
210724ba675SRob Herring			reg = <0xd8050400 0x100>;
211724ba675SRob Herring		};
212724ba675SRob Herring
213724ba675SRob Herring		uart0: serial@d8200000 {
214724ba675SRob Herring			compatible = "via,vt8500-uart";
215724ba675SRob Herring			reg = <0xd8200000 0x1040>;
216724ba675SRob Herring			interrupts = <32>;
217724ba675SRob Herring			clocks = <&clkuart0>;
218724ba675SRob Herring			status = "disabled";
219724ba675SRob Herring		};
220724ba675SRob Herring
221724ba675SRob Herring		uart1: serial@d82b0000 {
222724ba675SRob Herring			compatible = "via,vt8500-uart";
223724ba675SRob Herring			reg = <0xd82b0000 0x1040>;
224724ba675SRob Herring			interrupts = <33>;
225724ba675SRob Herring			clocks = <&clkuart1>;
226724ba675SRob Herring			status = "disabled";
227724ba675SRob Herring		};
228724ba675SRob Herring
229724ba675SRob Herring		rtc@d8100000 {
230724ba675SRob Herring			compatible = "via,vt8500-rtc";
231724ba675SRob Herring			reg = <0xd8100000 0x10000>;
232724ba675SRob Herring			interrupts = <48>;
233724ba675SRob Herring		};
234724ba675SRob Herring
235724ba675SRob Herring		ethernet@d8004000 {
236724ba675SRob Herring			compatible = "via,vt8500-rhine";
237724ba675SRob Herring			reg = <0xd8004000 0x100>;
238724ba675SRob Herring			interrupts = <10>;
239724ba675SRob Herring		};
240724ba675SRob Herring	};
241724ba675SRob Herring};
242