xref: /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/fsl/t208xrdb.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * T2080PCIe-RDB Board Device Tree Source
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * Copyright 2014 Freescale Semiconductor Inc.
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * Redistribution and use in source and binary forms, with or without
7*4882a593Smuzhiyun * modification, are permitted provided that the following conditions are met:
8*4882a593Smuzhiyun *     * Redistributions of source code must retain the above copyright
9*4882a593Smuzhiyun *	 notice, this list of conditions and the following disclaimer.
10*4882a593Smuzhiyun *     * Redistributions in binary form must reproduce the above copyright
11*4882a593Smuzhiyun *	 notice, this list of conditions and the following disclaimer in the
12*4882a593Smuzhiyun *	 documentation and/or other materials provided with the distribution.
13*4882a593Smuzhiyun *     * Neither the name of Freescale Semiconductor nor the
14*4882a593Smuzhiyun *	 names of its contributors may be used to endorse or promote products
15*4882a593Smuzhiyun *	 derived from this software without specific prior written permission.
16*4882a593Smuzhiyun *
17*4882a593Smuzhiyun *
18*4882a593Smuzhiyun * ALTERNATIVELY, this software may be distributed under the terms of the
19*4882a593Smuzhiyun * GNU General Public License ("GPL") as published by the Free Software
20*4882a593Smuzhiyun * Foundation, either version 2 of that License or (at your option) any
21*4882a593Smuzhiyun * later version.
22*4882a593Smuzhiyun *
23*4882a593Smuzhiyun * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24*4882a593Smuzhiyun * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*4882a593Smuzhiyun * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*4882a593Smuzhiyun * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*4882a593Smuzhiyun * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*4882a593Smuzhiyun * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*4882a593Smuzhiyun * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*4882a593Smuzhiyun * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*4882a593Smuzhiyun * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*4882a593Smuzhiyun * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*4882a593Smuzhiyun */
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun/ {
36*4882a593Smuzhiyun	model = "fsl,T2080RDB";
37*4882a593Smuzhiyun	compatible = "fsl,T2080RDB";
38*4882a593Smuzhiyun	#address-cells = <2>;
39*4882a593Smuzhiyun	#size-cells = <2>;
40*4882a593Smuzhiyun	interrupt-parent = <&mpic>;
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun	reserved-memory {
43*4882a593Smuzhiyun		#address-cells = <2>;
44*4882a593Smuzhiyun		#size-cells = <2>;
45*4882a593Smuzhiyun		ranges;
46*4882a593Smuzhiyun
47*4882a593Smuzhiyun		bman_fbpr: bman-fbpr {
48*4882a593Smuzhiyun			size = <0 0x1000000>;
49*4882a593Smuzhiyun			alignment = <0 0x1000000>;
50*4882a593Smuzhiyun		};
51*4882a593Smuzhiyun		qman_fqd: qman-fqd {
52*4882a593Smuzhiyun			size = <0 0x400000>;
53*4882a593Smuzhiyun			alignment = <0 0x400000>;
54*4882a593Smuzhiyun		};
55*4882a593Smuzhiyun		qman_pfdr: qman-pfdr {
56*4882a593Smuzhiyun			size = <0 0x2000000>;
57*4882a593Smuzhiyun			alignment = <0 0x2000000>;
58*4882a593Smuzhiyun		};
59*4882a593Smuzhiyun	};
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun	ifc: localbus@ffe124000 {
62*4882a593Smuzhiyun		reg = <0xf 0xfe124000 0 0x2000>;
63*4882a593Smuzhiyun		ranges = <0 0 0xf 0xe8000000 0x08000000
64*4882a593Smuzhiyun			  2 0 0xf 0xff800000 0x00010000
65*4882a593Smuzhiyun			  3 0 0xf 0xffdf0000 0x00008000>;
66*4882a593Smuzhiyun
67*4882a593Smuzhiyun		nor@0,0 {
68*4882a593Smuzhiyun			#address-cells = <1>;
69*4882a593Smuzhiyun			#size-cells = <1>;
70*4882a593Smuzhiyun			compatible = "cfi-flash";
71*4882a593Smuzhiyun			reg = <0x0 0x0 0x8000000>;
72*4882a593Smuzhiyun
73*4882a593Smuzhiyun			bank-width = <2>;
74*4882a593Smuzhiyun			device-width = <1>;
75*4882a593Smuzhiyun		};
76*4882a593Smuzhiyun
77*4882a593Smuzhiyun		nand@1,0 {
78*4882a593Smuzhiyun			#address-cells = <1>;
79*4882a593Smuzhiyun			#size-cells = <1>;
80*4882a593Smuzhiyun			compatible = "fsl,ifc-nand";
81*4882a593Smuzhiyun			reg = <0x2 0x0 0x10000>;
82*4882a593Smuzhiyun		};
83*4882a593Smuzhiyun
84*4882a593Smuzhiyun		boardctrl: board-control@2,0 {
85*4882a593Smuzhiyun			#address-cells = <1>;
86*4882a593Smuzhiyun			#size-cells = <1>;
87*4882a593Smuzhiyun			compatible = "fsl,t2080-cpld";
88*4882a593Smuzhiyun			reg = <3 0 0x300>;
89*4882a593Smuzhiyun			ranges = <0 3 0 0x300>;
90*4882a593Smuzhiyun		};
91*4882a593Smuzhiyun	};
92*4882a593Smuzhiyun
93*4882a593Smuzhiyun	memory {
94*4882a593Smuzhiyun		device_type = "memory";
95*4882a593Smuzhiyun	};
96*4882a593Smuzhiyun
97*4882a593Smuzhiyun	dcsr: dcsr@f00000000 {
98*4882a593Smuzhiyun		ranges = <0x00000000 0xf 0x00000000 0x01072000>;
99*4882a593Smuzhiyun	};
100*4882a593Smuzhiyun
101*4882a593Smuzhiyun	bportals: bman-portals@ff4000000 {
102*4882a593Smuzhiyun		ranges = <0x0 0xf 0xf4000000 0x2000000>;
103*4882a593Smuzhiyun	};
104*4882a593Smuzhiyun
105*4882a593Smuzhiyun	qportals: qman-portals@ff6000000 {
106*4882a593Smuzhiyun		ranges = <0x0 0xf 0xf6000000 0x2000000>;
107*4882a593Smuzhiyun	};
108*4882a593Smuzhiyun
109*4882a593Smuzhiyun	soc: soc@ffe000000 {
110*4882a593Smuzhiyun		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
111*4882a593Smuzhiyun		reg = <0xf 0xfe000000 0 0x00001000>;
112*4882a593Smuzhiyun		spi@110000 {
113*4882a593Smuzhiyun			flash@0 {
114*4882a593Smuzhiyun				#address-cells = <1>;
115*4882a593Smuzhiyun				#size-cells = <1>;
116*4882a593Smuzhiyun				compatible = "micron,n25q512ax3", "jedec,spi-nor";
117*4882a593Smuzhiyun				reg = <0>;
118*4882a593Smuzhiyun				spi-max-frequency = <10000000>; /* input clock */
119*4882a593Smuzhiyun			};
120*4882a593Smuzhiyun		};
121*4882a593Smuzhiyun
122*4882a593Smuzhiyun		i2c@118000 {
123*4882a593Smuzhiyun			adt7481@4c {
124*4882a593Smuzhiyun				compatible = "adi,adt7481";
125*4882a593Smuzhiyun				reg = <0x4c>;
126*4882a593Smuzhiyun			};
127*4882a593Smuzhiyun
128*4882a593Smuzhiyun			rtc@68 {
129*4882a593Smuzhiyun				compatible = "dallas,ds1339";
130*4882a593Smuzhiyun				reg = <0x68>;
131*4882a593Smuzhiyun				interrupts = <0x1 0x1 0 0>;
132*4882a593Smuzhiyun			};
133*4882a593Smuzhiyun
134*4882a593Smuzhiyun			eeprom@50 {
135*4882a593Smuzhiyun				compatible = "atmel,24c256";
136*4882a593Smuzhiyun				reg = <0x50>;
137*4882a593Smuzhiyun			};
138*4882a593Smuzhiyun		};
139*4882a593Smuzhiyun
140*4882a593Smuzhiyun		i2c@118100 {
141*4882a593Smuzhiyun			pca9546@77 {
142*4882a593Smuzhiyun				compatible = "nxp,pca9546";
143*4882a593Smuzhiyun				reg = <0x77>;
144*4882a593Smuzhiyun			};
145*4882a593Smuzhiyun		};
146*4882a593Smuzhiyun
147*4882a593Smuzhiyun		sdhc@114000 {
148*4882a593Smuzhiyun			voltage-ranges = <1800 1800 3300 3300>;
149*4882a593Smuzhiyun		};
150*4882a593Smuzhiyun	};
151*4882a593Smuzhiyun
152*4882a593Smuzhiyun	pci0: pcie@ffe240000 {
153*4882a593Smuzhiyun		reg = <0xf 0xfe240000 0 0x10000>;
154*4882a593Smuzhiyun		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
155*4882a593Smuzhiyun			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
156*4882a593Smuzhiyun		pcie@0 {
157*4882a593Smuzhiyun			ranges = <0x02000000 0 0xe0000000
158*4882a593Smuzhiyun				  0x02000000 0 0xe0000000
159*4882a593Smuzhiyun				  0 0x20000000
160*4882a593Smuzhiyun
161*4882a593Smuzhiyun				  0x01000000 0 0x00000000
162*4882a593Smuzhiyun				  0x01000000 0 0x00000000
163*4882a593Smuzhiyun				  0 0x00010000>;
164*4882a593Smuzhiyun		};
165*4882a593Smuzhiyun	};
166*4882a593Smuzhiyun
167*4882a593Smuzhiyun	pci1: pcie@ffe250000 {
168*4882a593Smuzhiyun		reg = <0xf 0xfe250000 0 0x10000>;
169*4882a593Smuzhiyun		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x10000000
170*4882a593Smuzhiyun			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
171*4882a593Smuzhiyun		pcie@0 {
172*4882a593Smuzhiyun			ranges = <0x02000000 0 0xe0000000
173*4882a593Smuzhiyun				  0x02000000 0 0xe0000000
174*4882a593Smuzhiyun				  0 0x20000000
175*4882a593Smuzhiyun
176*4882a593Smuzhiyun				  0x01000000 0 0x00000000
177*4882a593Smuzhiyun				  0x01000000 0 0x00000000
178*4882a593Smuzhiyun				  0 0x00010000>;
179*4882a593Smuzhiyun		};
180*4882a593Smuzhiyun	};
181*4882a593Smuzhiyun
182*4882a593Smuzhiyun	pci2: pcie@ffe260000 {
183*4882a593Smuzhiyun		reg = <0xf 0xfe260000 0 0x1000>;
184*4882a593Smuzhiyun		ranges = <0x02000000 0 0xe0000000 0xc 0x30000000 0 0x10000000
185*4882a593Smuzhiyun			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
186*4882a593Smuzhiyun		pcie@0 {
187*4882a593Smuzhiyun			ranges = <0x02000000 0 0xe0000000
188*4882a593Smuzhiyun				  0x02000000 0 0xe0000000
189*4882a593Smuzhiyun				  0 0x20000000
190*4882a593Smuzhiyun
191*4882a593Smuzhiyun				  0x01000000 0 0x00000000
192*4882a593Smuzhiyun				  0x01000000 0 0x00000000
193*4882a593Smuzhiyun				  0 0x00010000>;
194*4882a593Smuzhiyun		};
195*4882a593Smuzhiyun	};
196*4882a593Smuzhiyun
197*4882a593Smuzhiyun	pci3: pcie@ffe270000 {
198*4882a593Smuzhiyun		reg = <0xf 0xfe270000 0 0x10000>;
199*4882a593Smuzhiyun		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x10000000
200*4882a593Smuzhiyun			  0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
201*4882a593Smuzhiyun		pcie@0 {
202*4882a593Smuzhiyun			ranges = <0x02000000 0 0xe0000000
203*4882a593Smuzhiyun				  0x02000000 0 0xe0000000
204*4882a593Smuzhiyun				  0 0x20000000
205*4882a593Smuzhiyun
206*4882a593Smuzhiyun				  0x01000000 0 0x00000000
207*4882a593Smuzhiyun				  0x01000000 0 0x00000000
208*4882a593Smuzhiyun				  0 0x00010000>;
209*4882a593Smuzhiyun		};
210*4882a593Smuzhiyun	};
211*4882a593Smuzhiyun};
212