xref: /openbmc/linux/arch/powerpc/boot/dts/fsl/p1020si-post.dtsi (revision 4e36afa7c5cd7d4585048263cbdc2b955117f590)
1*4e36afa7SKumar Gala/*
2*4e36afa7SKumar Gala * P1020/P1011 Silicon/SoC Device Tree Source (post include)
3*4e36afa7SKumar Gala *
4*4e36afa7SKumar Gala * Copyright 2011 Freescale Semiconductor Inc.
5*4e36afa7SKumar Gala *
6*4e36afa7SKumar Gala * Redistribution and use in source and binary forms, with or without
7*4e36afa7SKumar Gala * modification, are permitted provided that the following conditions are met:
8*4e36afa7SKumar Gala *     * Redistributions of source code must retain the above copyright
9*4e36afa7SKumar Gala *       notice, this list of conditions and the following disclaimer.
10*4e36afa7SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
11*4e36afa7SKumar Gala *       notice, this list of conditions and the following disclaimer in the
12*4e36afa7SKumar Gala *       documentation and/or other materials provided with the distribution.
13*4e36afa7SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
14*4e36afa7SKumar Gala *       names of its contributors may be used to endorse or promote products
15*4e36afa7SKumar Gala *       derived from this software without specific prior written permission.
16*4e36afa7SKumar Gala *
17*4e36afa7SKumar Gala *
18*4e36afa7SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
19*4e36afa7SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
20*4e36afa7SKumar Gala * Foundation, either version 2 of that License or (at your option) any
21*4e36afa7SKumar Gala * later version.
22*4e36afa7SKumar Gala *
23*4e36afa7SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*4e36afa7SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*4e36afa7SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*4e36afa7SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*4e36afa7SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*4e36afa7SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*4e36afa7SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*4e36afa7SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*4e36afa7SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*4e36afa7SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*4e36afa7SKumar Gala */
34*4e36afa7SKumar Gala
35*4e36afa7SKumar Gala&lbc {
36*4e36afa7SKumar Gala	#address-cells = <2>;
37*4e36afa7SKumar Gala	#size-cells = <1>;
38*4e36afa7SKumar Gala	compatible = "fsl,p1020-elbc", "fsl,elbc", "simple-bus";
39*4e36afa7SKumar Gala	interrupts = <19 2 0 0>;
40*4e36afa7SKumar Gala};
41*4e36afa7SKumar Gala
42*4e36afa7SKumar Gala/* controller at 0x9000 */
43*4e36afa7SKumar Gala&pci0 {
44*4e36afa7SKumar Gala	compatible = "fsl,mpc8548-pcie";
45*4e36afa7SKumar Gala	device_type = "pci";
46*4e36afa7SKumar Gala	#size-cells = <2>;
47*4e36afa7SKumar Gala	#address-cells = <3>;
48*4e36afa7SKumar Gala	bus-range = <0 255>;
49*4e36afa7SKumar Gala	clock-frequency = <33333333>;
50*4e36afa7SKumar Gala	interrupts = <16 2 0 0>;
51*4e36afa7SKumar Gala
52*4e36afa7SKumar Gala	pcie@0 {
53*4e36afa7SKumar Gala		reg = <0 0 0 0 0>;
54*4e36afa7SKumar Gala		#interrupt-cells = <1>;
55*4e36afa7SKumar Gala		#size-cells = <2>;
56*4e36afa7SKumar Gala		#address-cells = <3>;
57*4e36afa7SKumar Gala		device_type = "pci";
58*4e36afa7SKumar Gala		interrupts = <16 2 0 0>;
59*4e36afa7SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
60*4e36afa7SKumar Gala		interrupt-map = <
61*4e36afa7SKumar Gala			/* IDSEL 0x0 */
62*4e36afa7SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x4 0x1 0x0 0x0
63*4e36afa7SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x5 0x1 0x0 0x0
64*4e36afa7SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x6 0x1 0x0 0x0
65*4e36afa7SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x7 0x1 0x0 0x0
66*4e36afa7SKumar Gala			>;
67*4e36afa7SKumar Gala	};
68*4e36afa7SKumar Gala};
69*4e36afa7SKumar Gala
70*4e36afa7SKumar Gala/* controller at 0xa000 */
71*4e36afa7SKumar Gala&pci1 {
72*4e36afa7SKumar Gala	compatible = "fsl,mpc8548-pcie";
73*4e36afa7SKumar Gala	device_type = "pci";
74*4e36afa7SKumar Gala	#size-cells = <2>;
75*4e36afa7SKumar Gala	#address-cells = <3>;
76*4e36afa7SKumar Gala	bus-range = <0 255>;
77*4e36afa7SKumar Gala	clock-frequency = <33333333>;
78*4e36afa7SKumar Gala	interrupts = <16 2 0 0>;
79*4e36afa7SKumar Gala
80*4e36afa7SKumar Gala	pcie@0 {
81*4e36afa7SKumar Gala		reg = <0 0 0 0 0>;
82*4e36afa7SKumar Gala		#interrupt-cells = <1>;
83*4e36afa7SKumar Gala		#size-cells = <2>;
84*4e36afa7SKumar Gala		#address-cells = <3>;
85*4e36afa7SKumar Gala		device_type = "pci";
86*4e36afa7SKumar Gala		interrupts = <16 2 0 0>;
87*4e36afa7SKumar Gala		interrupt-map-mask = <0xf800 0 0 7>;
88*4e36afa7SKumar Gala
89*4e36afa7SKumar Gala		interrupt-map = <
90*4e36afa7SKumar Gala			/* IDSEL 0x0 */
91*4e36afa7SKumar Gala			0000 0x0 0x0 0x1 &mpic 0x0 0x1 0x0 0x0
92*4e36afa7SKumar Gala			0000 0x0 0x0 0x2 &mpic 0x1 0x1 0x0 0x0
93*4e36afa7SKumar Gala			0000 0x0 0x0 0x3 &mpic 0x2 0x1 0x0 0x0
94*4e36afa7SKumar Gala			0000 0x0 0x0 0x4 &mpic 0x3 0x1 0x0 0x0
95*4e36afa7SKumar Gala			>;
96*4e36afa7SKumar Gala	};
97*4e36afa7SKumar Gala};
98*4e36afa7SKumar Gala
99*4e36afa7SKumar Gala&soc {
100*4e36afa7SKumar Gala	#address-cells = <1>;
101*4e36afa7SKumar Gala	#size-cells = <1>;
102*4e36afa7SKumar Gala	device_type = "soc";
103*4e36afa7SKumar Gala	compatible = "fsl,p1020-immr", "simple-bus";
104*4e36afa7SKumar Gala	bus-frequency = <0>;		// Filled out by uboot.
105*4e36afa7SKumar Gala
106*4e36afa7SKumar Gala	ecm-law@0 {
107*4e36afa7SKumar Gala		compatible = "fsl,ecm-law";
108*4e36afa7SKumar Gala		reg = <0x0 0x1000>;
109*4e36afa7SKumar Gala		fsl,num-laws = <12>;
110*4e36afa7SKumar Gala	};
111*4e36afa7SKumar Gala
112*4e36afa7SKumar Gala	ecm@1000 {
113*4e36afa7SKumar Gala		compatible = "fsl,p1020-ecm", "fsl,ecm";
114*4e36afa7SKumar Gala		reg = <0x1000 0x1000>;
115*4e36afa7SKumar Gala		interrupts = <16 2 0 0>;
116*4e36afa7SKumar Gala	};
117*4e36afa7SKumar Gala
118*4e36afa7SKumar Gala	memory-controller@2000 {
119*4e36afa7SKumar Gala		compatible = "fsl,p1020-memory-controller";
120*4e36afa7SKumar Gala		reg = <0x2000 0x1000>;
121*4e36afa7SKumar Gala		interrupts = <16 2 0 0>;
122*4e36afa7SKumar Gala	};
123*4e36afa7SKumar Gala
124*4e36afa7SKumar Gala/include/ "pq3-i2c-0.dtsi"
125*4e36afa7SKumar Gala/include/ "pq3-i2c-1.dtsi"
126*4e36afa7SKumar Gala/include/ "pq3-duart-0.dtsi"
127*4e36afa7SKumar Gala
128*4e36afa7SKumar Gala/include/ "pq3-espi-0.dtsi"
129*4e36afa7SKumar Gala	spi@7000 {
130*4e36afa7SKumar Gala		fsl,espi-num-chipselects = <4>;
131*4e36afa7SKumar Gala	};
132*4e36afa7SKumar Gala
133*4e36afa7SKumar Gala/include/ "pq3-gpio-0.dtsi"
134*4e36afa7SKumar Gala
135*4e36afa7SKumar Gala	L2: l2-cache-controller@20000 {
136*4e36afa7SKumar Gala		compatible = "fsl,p1020-l2-cache-controller";
137*4e36afa7SKumar Gala		reg = <0x20000 0x1000>;
138*4e36afa7SKumar Gala		cache-line-size = <32>;	// 32 bytes
139*4e36afa7SKumar Gala		cache-size = <0x40000>; // L2,256K
140*4e36afa7SKumar Gala		interrupts = <16 2 0 0>;
141*4e36afa7SKumar Gala	};
142*4e36afa7SKumar Gala
143*4e36afa7SKumar Gala/include/ "pq3-dma-0.dtsi"
144*4e36afa7SKumar Gala/include/ "pq3-usb2-dr-0.dtsi"
145*4e36afa7SKumar Gala/include/ "pq3-usb2-dr-1.dtsi"
146*4e36afa7SKumar Gala
147*4e36afa7SKumar Gala/include/ "pq3-esdhc-0.dtsi"
148*4e36afa7SKumar Gala/include/ "pq3-sec3.3-0.dtsi"
149*4e36afa7SKumar Gala
150*4e36afa7SKumar Gala/include/ "pq3-mpic.dtsi"
151*4e36afa7SKumar Gala/include/ "pq3-mpic-timer-B.dtsi"
152*4e36afa7SKumar Gala
153*4e36afa7SKumar Gala/include/ "pq3-etsec2-0.dtsi"
154*4e36afa7SKumar Gala	enet0: enet0_grp2: ethernet@b0000 {
155*4e36afa7SKumar Gala	};
156*4e36afa7SKumar Gala
157*4e36afa7SKumar Gala/include/ "pq3-etsec2-1.dtsi"
158*4e36afa7SKumar Gala	enet1: enet1_grp2: ethernet@b1000 {
159*4e36afa7SKumar Gala	};
160*4e36afa7SKumar Gala
161*4e36afa7SKumar Gala/include/ "pq3-etsec2-2.dtsi"
162*4e36afa7SKumar Gala	enet2: enet2_grp2: ethernet@b2000 {
163*4e36afa7SKumar Gala	};
164*4e36afa7SKumar Gala
165*4e36afa7SKumar Gala	global-utilities@e0000 {
166*4e36afa7SKumar Gala		compatible = "fsl,p1020-guts";
167*4e36afa7SKumar Gala		reg = <0xe0000 0x1000>;
168*4e36afa7SKumar Gala		fsl,has-rstcr;
169*4e36afa7SKumar Gala	};
170*4e36afa7SKumar Gala};
171*4e36afa7SKumar Gala
172*4e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-0.dtsi"
173*4e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-1.dtsi"
174*4e36afa7SKumar Gala/include/ "pq3-etsec2-grp2-2.dtsi"
175