xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/fsl/t208xqds.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * T2080/T2081 QDS Device Tree Source
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot * Copyright 2013 - 2014 Freescale Semiconductor Inc.
5c66ec88fSEmmanuel Vadot *
6c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer.
10c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer in the
12c66ec88fSEmmanuel Vadot *	 documentation and/or other materials provided with the distribution.
13c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14c66ec88fSEmmanuel Vadot *	 names of its contributors may be used to endorse or promote products
15c66ec88fSEmmanuel Vadot *	 derived from this software without specific prior written permission.
16c66ec88fSEmmanuel Vadot *
17c66ec88fSEmmanuel Vadot *
18c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21c66ec88fSEmmanuel Vadot * later version.
22c66ec88fSEmmanuel Vadot *
23c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33c66ec88fSEmmanuel Vadot */
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot/ {
36c66ec88fSEmmanuel Vadot	model = "fsl,T2080QDS";
37c66ec88fSEmmanuel Vadot	compatible = "fsl,T2080QDS";
38c66ec88fSEmmanuel Vadot	#address-cells = <2>;
39c66ec88fSEmmanuel Vadot	#size-cells = <2>;
40c66ec88fSEmmanuel Vadot	interrupt-parent = <&mpic>;
41c66ec88fSEmmanuel Vadot
42c66ec88fSEmmanuel Vadot	reserved-memory {
43c66ec88fSEmmanuel Vadot		#address-cells = <2>;
44c66ec88fSEmmanuel Vadot		#size-cells = <2>;
45c66ec88fSEmmanuel Vadot		ranges;
46c66ec88fSEmmanuel Vadot
47c66ec88fSEmmanuel Vadot		bman_fbpr: bman-fbpr {
48c66ec88fSEmmanuel Vadot			size = <0 0x1000000>;
49c66ec88fSEmmanuel Vadot			alignment = <0 0x1000000>;
50c66ec88fSEmmanuel Vadot		};
51c66ec88fSEmmanuel Vadot		qman_fqd: qman-fqd {
52c66ec88fSEmmanuel Vadot			size = <0 0x400000>;
53c66ec88fSEmmanuel Vadot			alignment = <0 0x400000>;
54c66ec88fSEmmanuel Vadot		};
55c66ec88fSEmmanuel Vadot		qman_pfdr: qman-pfdr {
56c66ec88fSEmmanuel Vadot			size = <0 0x2000000>;
57c66ec88fSEmmanuel Vadot			alignment = <0 0x2000000>;
58c66ec88fSEmmanuel Vadot		};
59c66ec88fSEmmanuel Vadot	};
60c66ec88fSEmmanuel Vadot
61c66ec88fSEmmanuel Vadot	ifc: localbus@ffe124000 {
62c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe124000 0 0x2000>;
63c66ec88fSEmmanuel Vadot		ranges = <0 0 0xf 0xe8000000 0x08000000
64c66ec88fSEmmanuel Vadot			  2 0 0xf 0xff800000 0x00010000
65c66ec88fSEmmanuel Vadot			  3 0 0xf 0xffdf0000 0x00008000>;
66c66ec88fSEmmanuel Vadot
67c66ec88fSEmmanuel Vadot		nor@0,0 {
68c66ec88fSEmmanuel Vadot			#address-cells = <1>;
69c66ec88fSEmmanuel Vadot			#size-cells = <1>;
70c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
71c66ec88fSEmmanuel Vadot			reg = <0x0 0x0 0x8000000>;
72c66ec88fSEmmanuel Vadot			bank-width = <2>;
73c66ec88fSEmmanuel Vadot			device-width = <1>;
74c66ec88fSEmmanuel Vadot		};
75c66ec88fSEmmanuel Vadot
76c66ec88fSEmmanuel Vadot		nand@2,0 {
77c66ec88fSEmmanuel Vadot			#address-cells = <1>;
78c66ec88fSEmmanuel Vadot			#size-cells = <1>;
79c66ec88fSEmmanuel Vadot			compatible = "fsl,ifc-nand";
80c66ec88fSEmmanuel Vadot			reg = <0x2 0x0 0x10000>;
81c66ec88fSEmmanuel Vadot		};
82c66ec88fSEmmanuel Vadot
83c66ec88fSEmmanuel Vadot		boardctrl: board-control@3,0 {
84c66ec88fSEmmanuel Vadot			#address-cells = <1>;
85c66ec88fSEmmanuel Vadot			#size-cells = <1>;
86c66ec88fSEmmanuel Vadot			compatible = "fsl,fpga-qixis";
87c66ec88fSEmmanuel Vadot			reg = <3 0 0x300>;
88c66ec88fSEmmanuel Vadot			ranges = <0 3 0 0x300>;
89c66ec88fSEmmanuel Vadot		};
90c66ec88fSEmmanuel Vadot	};
91c66ec88fSEmmanuel Vadot
92c66ec88fSEmmanuel Vadot	memory {
93c66ec88fSEmmanuel Vadot		device_type = "memory";
94c66ec88fSEmmanuel Vadot	};
95c66ec88fSEmmanuel Vadot
96c66ec88fSEmmanuel Vadot	dcsr: dcsr@f00000000 {
97c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0x00000000 0x01072000>;
98c66ec88fSEmmanuel Vadot	};
99c66ec88fSEmmanuel Vadot
100c66ec88fSEmmanuel Vadot	bportals: bman-portals@ff4000000 {
101c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf4000000 0x2000000>;
102c66ec88fSEmmanuel Vadot	};
103c66ec88fSEmmanuel Vadot
104c66ec88fSEmmanuel Vadot	qportals: qman-portals@ff6000000 {
105c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf6000000 0x2000000>;
106c66ec88fSEmmanuel Vadot	};
107c66ec88fSEmmanuel Vadot
108c66ec88fSEmmanuel Vadot	soc: soc@ffe000000 {
109c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
110c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe000000 0 0x00001000>;
111c66ec88fSEmmanuel Vadot		spi@110000 {
112c66ec88fSEmmanuel Vadot			flash@0 {
113c66ec88fSEmmanuel Vadot				#address-cells = <1>;
114c66ec88fSEmmanuel Vadot				#size-cells = <1>;
115c66ec88fSEmmanuel Vadot				compatible = "micron,n25q128a11", "jedec,spi-nor"; /* 16MB */
116c66ec88fSEmmanuel Vadot				reg = <0>;
117c66ec88fSEmmanuel Vadot				spi-max-frequency = <40000000>; /* input clock */
118c66ec88fSEmmanuel Vadot			};
119c66ec88fSEmmanuel Vadot
120c66ec88fSEmmanuel Vadot			flash@1 {
121c66ec88fSEmmanuel Vadot				#address-cells = <1>;
122c66ec88fSEmmanuel Vadot				#size-cells = <1>;
123c66ec88fSEmmanuel Vadot				compatible = "sst,sst25wf040", "jedec,spi-nor";
124c66ec88fSEmmanuel Vadot				reg = <1>;
125c66ec88fSEmmanuel Vadot				spi-max-frequency = <35000000>;
126c66ec88fSEmmanuel Vadot			};
127c66ec88fSEmmanuel Vadot
128c66ec88fSEmmanuel Vadot			flash@2 {
129c66ec88fSEmmanuel Vadot				#address-cells = <1>;
130c66ec88fSEmmanuel Vadot				#size-cells = <1>;
131c66ec88fSEmmanuel Vadot				compatible = "eon,en25s64", "jedec,spi-nor";
132c66ec88fSEmmanuel Vadot				reg = <2>;
133c66ec88fSEmmanuel Vadot				spi-max-frequency = <35000000>;
134c66ec88fSEmmanuel Vadot			};
135c66ec88fSEmmanuel Vadot		};
136c66ec88fSEmmanuel Vadot
137c66ec88fSEmmanuel Vadot		i2c@118000 {
138*8bab661aSEmmanuel Vadot			i2c-mux@77 {
139c66ec88fSEmmanuel Vadot				compatible = "nxp,pca9547";
140c66ec88fSEmmanuel Vadot				reg = <0x77>;
141c66ec88fSEmmanuel Vadot				#address-cells = <1>;
142c66ec88fSEmmanuel Vadot				#size-cells = <0>;
143c66ec88fSEmmanuel Vadot
144c66ec88fSEmmanuel Vadot				i2c@0 {
145c66ec88fSEmmanuel Vadot					#address-cells = <1>;
146c66ec88fSEmmanuel Vadot					#size-cells = <0>;
147c66ec88fSEmmanuel Vadot					reg = <0x0>;
148c66ec88fSEmmanuel Vadot
149c66ec88fSEmmanuel Vadot					eeprom@50 {
150c66ec88fSEmmanuel Vadot						compatible = "atmel,24c512";
151c66ec88fSEmmanuel Vadot						reg = <0x50>;
152c66ec88fSEmmanuel Vadot					};
153c66ec88fSEmmanuel Vadot
154c66ec88fSEmmanuel Vadot					eeprom@51 {
155c66ec88fSEmmanuel Vadot						compatible = "atmel,24c02";
156c66ec88fSEmmanuel Vadot						reg = <0x51>;
157c66ec88fSEmmanuel Vadot					};
158c66ec88fSEmmanuel Vadot
159c66ec88fSEmmanuel Vadot					eeprom@57 {
160c66ec88fSEmmanuel Vadot						compatible = "atmel,24c02";
161c66ec88fSEmmanuel Vadot						reg = <0x57>;
162c66ec88fSEmmanuel Vadot					};
163c66ec88fSEmmanuel Vadot
164c66ec88fSEmmanuel Vadot					rtc@68 {
165c66ec88fSEmmanuel Vadot						compatible = "dallas,ds3232";
166c66ec88fSEmmanuel Vadot						reg = <0x68>;
167c66ec88fSEmmanuel Vadot						interrupts = <0xb 0x1 0 0>;
168c66ec88fSEmmanuel Vadot					};
169c66ec88fSEmmanuel Vadot				};
170c66ec88fSEmmanuel Vadot
171c66ec88fSEmmanuel Vadot				i2c@1 {
172c66ec88fSEmmanuel Vadot					#address-cells = <1>;
173c66ec88fSEmmanuel Vadot					#size-cells = <0>;
174c66ec88fSEmmanuel Vadot					reg = <0x1>;
175c66ec88fSEmmanuel Vadot
176c66ec88fSEmmanuel Vadot					eeprom@55 {
177c66ec88fSEmmanuel Vadot						compatible = "atmel,24c02";
178c66ec88fSEmmanuel Vadot						reg = <0x55>;
179c66ec88fSEmmanuel Vadot					};
180c66ec88fSEmmanuel Vadot				};
181c66ec88fSEmmanuel Vadot
182c66ec88fSEmmanuel Vadot				i2c@2 {
183c66ec88fSEmmanuel Vadot					#address-cells = <1>;
184c66ec88fSEmmanuel Vadot					#size-cells = <0>;
185c66ec88fSEmmanuel Vadot					reg = <0x2>;
186c66ec88fSEmmanuel Vadot
187c66ec88fSEmmanuel Vadot					ina220@40 {
188c66ec88fSEmmanuel Vadot						compatible = "ti,ina220";
189c66ec88fSEmmanuel Vadot						reg = <0x40>;
190c66ec88fSEmmanuel Vadot						shunt-resistor = <1000>;
191c66ec88fSEmmanuel Vadot					};
192c66ec88fSEmmanuel Vadot
193c66ec88fSEmmanuel Vadot					ina220@41 {
194c66ec88fSEmmanuel Vadot						compatible = "ti,ina220";
195c66ec88fSEmmanuel Vadot						reg = <0x41>;
196c66ec88fSEmmanuel Vadot						shunt-resistor = <1000>;
197c66ec88fSEmmanuel Vadot					};
198c66ec88fSEmmanuel Vadot				};
199c66ec88fSEmmanuel Vadot
200c66ec88fSEmmanuel Vadot				i2c@3 {
201c66ec88fSEmmanuel Vadot					#address-cells = <1>;
202c66ec88fSEmmanuel Vadot					#size-cells = <0>;
203c66ec88fSEmmanuel Vadot					reg = <0x3>;
204c66ec88fSEmmanuel Vadot
205c66ec88fSEmmanuel Vadot					adt7461@4c {
206c66ec88fSEmmanuel Vadot						compatible = "adi,adt7461";
207c66ec88fSEmmanuel Vadot						reg = <0x4c>;
208c66ec88fSEmmanuel Vadot					};
209c66ec88fSEmmanuel Vadot				};
210c66ec88fSEmmanuel Vadot			};
211c66ec88fSEmmanuel Vadot		};
212c66ec88fSEmmanuel Vadot
213c66ec88fSEmmanuel Vadot		sdhc@114000 {
214c66ec88fSEmmanuel Vadot			voltage-ranges = <1800 1800 3300 3300>;
215c66ec88fSEmmanuel Vadot		};
216c66ec88fSEmmanuel Vadot	};
217c66ec88fSEmmanuel Vadot
218c66ec88fSEmmanuel Vadot	pci0: pcie@ffe240000 {
219c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe240000 0 0x10000>;
220c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
221c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
222c66ec88fSEmmanuel Vadot		pcie@0 {
223c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
224c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
225c66ec88fSEmmanuel Vadot				  0 0x20000000
226c66ec88fSEmmanuel Vadot
227c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
228c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
229c66ec88fSEmmanuel Vadot				  0 0x00010000>;
230c66ec88fSEmmanuel Vadot		};
231c66ec88fSEmmanuel Vadot	};
232c66ec88fSEmmanuel Vadot
233c66ec88fSEmmanuel Vadot	pci1: pcie@ffe250000 {
234c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe250000 0 0x10000>;
235c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x10000000
236c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
237c66ec88fSEmmanuel Vadot		pcie@0 {
238c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
239c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
240c66ec88fSEmmanuel Vadot				  0 0x20000000
241c66ec88fSEmmanuel Vadot
242c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
243c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
244c66ec88fSEmmanuel Vadot				  0 0x00010000>;
245c66ec88fSEmmanuel Vadot		};
246c66ec88fSEmmanuel Vadot	};
247c66ec88fSEmmanuel Vadot
248c66ec88fSEmmanuel Vadot	pci2: pcie@ffe260000 {
249c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe260000 0 0x1000>;
250c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
251c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
252c66ec88fSEmmanuel Vadot		pcie@0 {
253c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
254c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
255c66ec88fSEmmanuel Vadot				  0 0x20000000
256c66ec88fSEmmanuel Vadot
257c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
258c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
259c66ec88fSEmmanuel Vadot				  0 0x00010000>;
260c66ec88fSEmmanuel Vadot		};
261c66ec88fSEmmanuel Vadot	};
262c66ec88fSEmmanuel Vadot
263c66ec88fSEmmanuel Vadot	pci3: pcie@ffe270000 {
264c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe270000 0 0x10000>;
265c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x10000000
266c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
267c66ec88fSEmmanuel Vadot		pcie@0 {
268c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
269c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
270c66ec88fSEmmanuel Vadot				  0 0x20000000
271c66ec88fSEmmanuel Vadot
272c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
273c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
274c66ec88fSEmmanuel Vadot				  0 0x00010000>;
275c66ec88fSEmmanuel Vadot		};
276c66ec88fSEmmanuel Vadot	};
277c66ec88fSEmmanuel Vadot};
278