xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/t208xrdb.dtsi (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * T2080PCIe-RDB Board Device Tree Source
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot * Copyright 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,T2080RDB";
37c66ec88fSEmmanuel Vadot	compatible = "fsl,T2080RDB";
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
73c66ec88fSEmmanuel Vadot			bank-width = <2>;
74c66ec88fSEmmanuel Vadot			device-width = <1>;
75c66ec88fSEmmanuel Vadot		};
76c66ec88fSEmmanuel Vadot
77c66ec88fSEmmanuel Vadot		nand@1,0 {
78c66ec88fSEmmanuel Vadot			#address-cells = <1>;
79c66ec88fSEmmanuel Vadot			#size-cells = <1>;
80c66ec88fSEmmanuel Vadot			compatible = "fsl,ifc-nand";
81c66ec88fSEmmanuel Vadot			reg = <0x2 0x0 0x10000>;
82c66ec88fSEmmanuel Vadot		};
83c66ec88fSEmmanuel Vadot
84c66ec88fSEmmanuel Vadot		boardctrl: board-control@2,0 {
85c66ec88fSEmmanuel Vadot			#address-cells = <1>;
86c66ec88fSEmmanuel Vadot			#size-cells = <1>;
87c66ec88fSEmmanuel Vadot			compatible = "fsl,t2080-cpld";
88c66ec88fSEmmanuel Vadot			reg = <3 0 0x300>;
89c66ec88fSEmmanuel Vadot			ranges = <0 3 0 0x300>;
90c66ec88fSEmmanuel Vadot		};
91c66ec88fSEmmanuel Vadot	};
92c66ec88fSEmmanuel Vadot
93c66ec88fSEmmanuel Vadot	memory {
94c66ec88fSEmmanuel Vadot		device_type = "memory";
95c66ec88fSEmmanuel Vadot	};
96c66ec88fSEmmanuel Vadot
97c66ec88fSEmmanuel Vadot	dcsr: dcsr@f00000000 {
98c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0x00000000 0x01072000>;
99c66ec88fSEmmanuel Vadot	};
100c66ec88fSEmmanuel Vadot
101c66ec88fSEmmanuel Vadot	bportals: bman-portals@ff4000000 {
102c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf4000000 0x2000000>;
103c66ec88fSEmmanuel Vadot	};
104c66ec88fSEmmanuel Vadot
105c66ec88fSEmmanuel Vadot	qportals: qman-portals@ff6000000 {
106c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf6000000 0x2000000>;
107c66ec88fSEmmanuel Vadot	};
108c66ec88fSEmmanuel Vadot
109c66ec88fSEmmanuel Vadot	soc: soc@ffe000000 {
110c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
111c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe000000 0 0x00001000>;
112c66ec88fSEmmanuel Vadot		spi@110000 {
113c66ec88fSEmmanuel Vadot			flash@0 {
114c66ec88fSEmmanuel Vadot				#address-cells = <1>;
115c66ec88fSEmmanuel Vadot				#size-cells = <1>;
116c66ec88fSEmmanuel Vadot				compatible = "micron,n25q512ax3", "jedec,spi-nor";
117c66ec88fSEmmanuel Vadot				reg = <0>;
118c66ec88fSEmmanuel Vadot				spi-max-frequency = <10000000>; /* input clock */
119c66ec88fSEmmanuel Vadot			};
120c66ec88fSEmmanuel Vadot		};
121c66ec88fSEmmanuel Vadot
122c66ec88fSEmmanuel Vadot		i2c@118000 {
123c66ec88fSEmmanuel Vadot			adt7481@4c {
124c66ec88fSEmmanuel Vadot				compatible = "adi,adt7481";
125c66ec88fSEmmanuel Vadot				reg = <0x4c>;
126c66ec88fSEmmanuel Vadot			};
127c66ec88fSEmmanuel Vadot
128c66ec88fSEmmanuel Vadot			rtc@68 {
129c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1339";
130c66ec88fSEmmanuel Vadot				reg = <0x68>;
131c66ec88fSEmmanuel Vadot				interrupts = <0x1 0x1 0 0>;
132c66ec88fSEmmanuel Vadot			};
133c66ec88fSEmmanuel Vadot
134c66ec88fSEmmanuel Vadot			eeprom@50 {
135c66ec88fSEmmanuel Vadot				compatible = "atmel,24c256";
136c66ec88fSEmmanuel Vadot				reg = <0x50>;
137c66ec88fSEmmanuel Vadot			};
138c66ec88fSEmmanuel Vadot		};
139c66ec88fSEmmanuel Vadot
140c66ec88fSEmmanuel Vadot		i2c@118100 {
141*8bab661aSEmmanuel Vadot			i2c-mux@77 {
142c66ec88fSEmmanuel Vadot				compatible = "nxp,pca9546";
143c66ec88fSEmmanuel Vadot				reg = <0x77>;
144c66ec88fSEmmanuel Vadot			};
145c66ec88fSEmmanuel Vadot		};
146c66ec88fSEmmanuel Vadot
147c66ec88fSEmmanuel Vadot		sdhc@114000 {
148c66ec88fSEmmanuel Vadot			voltage-ranges = <1800 1800 3300 3300>;
149c66ec88fSEmmanuel Vadot		};
150c66ec88fSEmmanuel Vadot	};
151c66ec88fSEmmanuel Vadot
152c66ec88fSEmmanuel Vadot	pci0: pcie@ffe240000 {
153c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe240000 0 0x10000>;
154c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
155c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
156c66ec88fSEmmanuel Vadot		pcie@0 {
157c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
158c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
159c66ec88fSEmmanuel Vadot				  0 0x20000000
160c66ec88fSEmmanuel Vadot
161c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
162c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
163c66ec88fSEmmanuel Vadot				  0 0x00010000>;
164c66ec88fSEmmanuel Vadot		};
165c66ec88fSEmmanuel Vadot	};
166c66ec88fSEmmanuel Vadot
167c66ec88fSEmmanuel Vadot	pci1: pcie@ffe250000 {
168c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe250000 0 0x10000>;
169c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x10000000
170c66ec88fSEmmanuel Vadot			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
171c66ec88fSEmmanuel Vadot		pcie@0 {
172c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
173c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
174c66ec88fSEmmanuel Vadot				  0 0x20000000
175c66ec88fSEmmanuel Vadot
176c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
177c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
178c66ec88fSEmmanuel Vadot				  0 0x00010000>;
179c66ec88fSEmmanuel Vadot		};
180c66ec88fSEmmanuel Vadot	};
181c66ec88fSEmmanuel Vadot
182c66ec88fSEmmanuel Vadot	pci2: pcie@ffe260000 {
183c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe260000 0 0x1000>;
184c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
185c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
186c66ec88fSEmmanuel Vadot		pcie@0 {
187c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
188c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
189c66ec88fSEmmanuel Vadot				  0 0x20000000
190c66ec88fSEmmanuel Vadot
191c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
192c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
193c66ec88fSEmmanuel Vadot				  0 0x00010000>;
194c66ec88fSEmmanuel Vadot		};
195c66ec88fSEmmanuel Vadot	};
196c66ec88fSEmmanuel Vadot
197c66ec88fSEmmanuel Vadot	pci3: pcie@ffe270000 {
198c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe270000 0 0x10000>;
199c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x10000000
200c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
201c66ec88fSEmmanuel Vadot		pcie@0 {
202c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
203c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
204c66ec88fSEmmanuel Vadot				  0 0x20000000
205c66ec88fSEmmanuel Vadot
206c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
207c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
208c66ec88fSEmmanuel Vadot				  0 0x00010000>;
209c66ec88fSEmmanuel Vadot		};
210c66ec88fSEmmanuel Vadot	};
211c66ec88fSEmmanuel Vadot};
212