xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/bsc9131si-post.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * BSC9131 Silicon/SoC Device Tree Source (post include)
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2011-2012 Freescale Semiconductor Inc.
5*c66ec88fSEmmanuel Vadot *
6*c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7*c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8*c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer.
10*c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11*c66ec88fSEmmanuel Vadot *       notice, this list of conditions and the following disclaimer in the
12*c66ec88fSEmmanuel Vadot *       documentation and/or other materials provided with the distribution.
13*c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14*c66ec88fSEmmanuel Vadot *       names of its contributors may be used to endorse or promote products
15*c66ec88fSEmmanuel Vadot *       derived from this software without specific prior written permission.
16*c66ec88fSEmmanuel Vadot *
17*c66ec88fSEmmanuel Vadot *
18*c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19*c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20*c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21*c66ec88fSEmmanuel Vadot * later version.
22*c66ec88fSEmmanuel Vadot *
23*c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*c66ec88fSEmmanuel Vadot */
34*c66ec88fSEmmanuel Vadot
35*c66ec88fSEmmanuel Vadot&ifc {
36*c66ec88fSEmmanuel Vadot	#address-cells = <2>;
37*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
38*c66ec88fSEmmanuel Vadot	compatible = "fsl,ifc", "simple-bus";
39*c66ec88fSEmmanuel Vadot	interrupts = <16 2 0 0 20 2 0 0>;
40*c66ec88fSEmmanuel Vadot};
41*c66ec88fSEmmanuel Vadot
42*c66ec88fSEmmanuel Vadot&soc {
43*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
44*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
45*c66ec88fSEmmanuel Vadot	device_type = "soc";
46*c66ec88fSEmmanuel Vadot	compatible = "fsl,bsc9131-immr", "simple-bus";
47*c66ec88fSEmmanuel Vadot	bus-frequency = <0>;		// Filled out by uboot.
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	ecm-law@0 {
50*c66ec88fSEmmanuel Vadot		compatible = "fsl,ecm-law";
51*c66ec88fSEmmanuel Vadot		reg = <0x0 0x1000>;
52*c66ec88fSEmmanuel Vadot		fsl,num-laws = <12>;
53*c66ec88fSEmmanuel Vadot	};
54*c66ec88fSEmmanuel Vadot
55*c66ec88fSEmmanuel Vadot	ecm@1000 {
56*c66ec88fSEmmanuel Vadot		compatible = "fsl,bsc9131-ecm", "fsl,ecm";
57*c66ec88fSEmmanuel Vadot		reg = <0x1000 0x1000>;
58*c66ec88fSEmmanuel Vadot		interrupts = <16 2 0 0>;
59*c66ec88fSEmmanuel Vadot	};
60*c66ec88fSEmmanuel Vadot
61*c66ec88fSEmmanuel Vadot	memory-controller@2000 {
62*c66ec88fSEmmanuel Vadot		compatible = "fsl,bsc9131-memory-controller";
63*c66ec88fSEmmanuel Vadot		reg = <0x2000 0x1000>;
64*c66ec88fSEmmanuel Vadot		interrupts = <16 2 0 0>;
65*c66ec88fSEmmanuel Vadot	};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot/include/ "pq3-i2c-0.dtsi"
68*c66ec88fSEmmanuel Vadot	i2c@3000 {
69*c66ec88fSEmmanuel Vadot		interrupts = <17 2 0 0>;
70*c66ec88fSEmmanuel Vadot	};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot/include/ "pq3-i2c-1.dtsi"
73*c66ec88fSEmmanuel Vadot	i2c@3100 {
74*c66ec88fSEmmanuel Vadot		interrupts = <17 2 0 0>;
75*c66ec88fSEmmanuel Vadot	};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot/include/ "pq3-duart-0.dtsi"
78*c66ec88fSEmmanuel Vadot	serial0: serial@4500 {
79*c66ec88fSEmmanuel Vadot		interrupts = <18 2 0 0>;
80*c66ec88fSEmmanuel Vadot	};
81*c66ec88fSEmmanuel Vadot
82*c66ec88fSEmmanuel Vadot	serial1: serial@4600 {
83*c66ec88fSEmmanuel Vadot		interrupts = <18 2 0 0 >;
84*c66ec88fSEmmanuel Vadot	};
85*c66ec88fSEmmanuel Vadot/include/ "pq3-espi-0.dtsi"
86*c66ec88fSEmmanuel Vadot	spi0: spi@7000 {
87*c66ec88fSEmmanuel Vadot		fsl,espi-num-chipselects = <1>;
88*c66ec88fSEmmanuel Vadot		interrupts = <22 0x2 0 0>;
89*c66ec88fSEmmanuel Vadot	};
90*c66ec88fSEmmanuel Vadot
91*c66ec88fSEmmanuel Vadot/include/ "pq3-gpio-0.dtsi"
92*c66ec88fSEmmanuel Vadot	gpio-controller@f000 {
93*c66ec88fSEmmanuel Vadot		interrupts = <19 0x2 0 0>;
94*c66ec88fSEmmanuel Vadot		};
95*c66ec88fSEmmanuel Vadot
96*c66ec88fSEmmanuel Vadot	L2: l2-cache-controller@20000 {
97*c66ec88fSEmmanuel Vadot		compatible = "fsl,bsc9131-l2-cache-controller";
98*c66ec88fSEmmanuel Vadot		reg = <0x20000 0x1000>;
99*c66ec88fSEmmanuel Vadot		cache-line-size = <32>;	// 32 bytes
100*c66ec88fSEmmanuel Vadot		cache-size = <0x40000>; // L2,256K
101*c66ec88fSEmmanuel Vadot		interrupts = <16 2 0 0>;
102*c66ec88fSEmmanuel Vadot	};
103*c66ec88fSEmmanuel Vadot
104*c66ec88fSEmmanuel Vadot/include/ "pq3-dma-0.dtsi"
105*c66ec88fSEmmanuel Vadot
106*c66ec88fSEmmanuel Vadotdma@21300 {
107*c66ec88fSEmmanuel Vadot
108*c66ec88fSEmmanuel Vadot	dma-channel@0 {
109*c66ec88fSEmmanuel Vadot		interrupts = <62 2 0 0>;
110*c66ec88fSEmmanuel Vadot	};
111*c66ec88fSEmmanuel Vadot
112*c66ec88fSEmmanuel Vadot	dma-channel@80 {
113*c66ec88fSEmmanuel Vadot		interrupts = <63 2 0 0>;
114*c66ec88fSEmmanuel Vadot	};
115*c66ec88fSEmmanuel Vadot
116*c66ec88fSEmmanuel Vadot	dma-channel@100 {
117*c66ec88fSEmmanuel Vadot		interrupts = <64 2 0 0>;
118*c66ec88fSEmmanuel Vadot	};
119*c66ec88fSEmmanuel Vadot
120*c66ec88fSEmmanuel Vadot	dma-channel@180 {
121*c66ec88fSEmmanuel Vadot		interrupts = <65 2 0 0>;
122*c66ec88fSEmmanuel Vadot	};
123*c66ec88fSEmmanuel Vadot};
124*c66ec88fSEmmanuel Vadot
125*c66ec88fSEmmanuel Vadot/include/ "pq3-usb2-dr-0.dtsi"
126*c66ec88fSEmmanuel Vadotusb@22000 {
127*c66ec88fSEmmanuel Vadot	compatible = "fsl-usb2-dr","fsl-usb2-dr-v2.2";
128*c66ec88fSEmmanuel Vadot	interrupts = <40 0x2 0 0>;
129*c66ec88fSEmmanuel Vadot};
130*c66ec88fSEmmanuel Vadot
131*c66ec88fSEmmanuel Vadot/include/ "pq3-esdhc-0.dtsi"
132*c66ec88fSEmmanuel Vadot	sdhc@2e000 {
133*c66ec88fSEmmanuel Vadot		sdhci,auto-cmd12;
134*c66ec88fSEmmanuel Vadot		interrupts = <41 0x2 0 0>;
135*c66ec88fSEmmanuel Vadot	};
136*c66ec88fSEmmanuel Vadot
137*c66ec88fSEmmanuel Vadot/include/ "pq3-sec4.4-0.dtsi"
138*c66ec88fSEmmanuel Vadotcrypto@30000 {
139*c66ec88fSEmmanuel Vadot	interrupts	 = <57 2 0 0>;
140*c66ec88fSEmmanuel Vadot
141*c66ec88fSEmmanuel Vadot	sec_jr0: jr@1000 {
142*c66ec88fSEmmanuel Vadot		interrupts	 = <58 2 0 0>;
143*c66ec88fSEmmanuel Vadot	};
144*c66ec88fSEmmanuel Vadot
145*c66ec88fSEmmanuel Vadot	sec_jr1: jr@2000 {
146*c66ec88fSEmmanuel Vadot		interrupts	 = <59 2 0 0>;
147*c66ec88fSEmmanuel Vadot	};
148*c66ec88fSEmmanuel Vadot
149*c66ec88fSEmmanuel Vadot	sec_jr2: jr@3000 {
150*c66ec88fSEmmanuel Vadot		interrupts	 = <60 2 0 0>;
151*c66ec88fSEmmanuel Vadot	};
152*c66ec88fSEmmanuel Vadot
153*c66ec88fSEmmanuel Vadot	sec_jr3: jr@4000 {
154*c66ec88fSEmmanuel Vadot		interrupts	 = <61 2 0 0>;
155*c66ec88fSEmmanuel Vadot	};
156*c66ec88fSEmmanuel Vadot};
157*c66ec88fSEmmanuel Vadot
158*c66ec88fSEmmanuel Vadot/include/ "pq3-mpic.dtsi"
159*c66ec88fSEmmanuel Vadot
160*c66ec88fSEmmanuel Vadottimer@41100 {
161*c66ec88fSEmmanuel Vadot	compatible = "fsl,mpic-v1.2-msgr", "fsl,mpic-msg";
162*c66ec88fSEmmanuel Vadot	reg = <0x41400 0x200>;
163*c66ec88fSEmmanuel Vadot	interrupts = <
164*c66ec88fSEmmanuel Vadot		0xb0 2
165*c66ec88fSEmmanuel Vadot		0xb1 2
166*c66ec88fSEmmanuel Vadot		0xb2 2
167*c66ec88fSEmmanuel Vadot		0xb3 2>;
168*c66ec88fSEmmanuel Vadot};
169*c66ec88fSEmmanuel Vadot
170*c66ec88fSEmmanuel Vadot/include/ "pq3-etsec2-0.dtsi"
171*c66ec88fSEmmanuel Vadotenet0: ethernet@b0000 {
172*c66ec88fSEmmanuel Vadot	queue-group@b0000 {
173*c66ec88fSEmmanuel Vadot		fsl,rx-bit-map = <0xff>;
174*c66ec88fSEmmanuel Vadot		fsl,tx-bit-map = <0xff>;
175*c66ec88fSEmmanuel Vadot		interrupts = <26 2 0 0 27 2 0 0 28 2 0 0>;
176*c66ec88fSEmmanuel Vadot	};
177*c66ec88fSEmmanuel Vadot};
178*c66ec88fSEmmanuel Vadot
179*c66ec88fSEmmanuel Vadot/include/ "pq3-etsec2-1.dtsi"
180*c66ec88fSEmmanuel Vadotenet1: ethernet@b1000 {
181*c66ec88fSEmmanuel Vadot	queue-group@b1000 {
182*c66ec88fSEmmanuel Vadot		fsl,rx-bit-map = <0xff>;
183*c66ec88fSEmmanuel Vadot		fsl,tx-bit-map = <0xff>;
184*c66ec88fSEmmanuel Vadot		interrupts = <33 2 0 0 34 2 0 0 35 2 0 0>;
185*c66ec88fSEmmanuel Vadot	};
186*c66ec88fSEmmanuel Vadot};
187*c66ec88fSEmmanuel Vadot
188*c66ec88fSEmmanuel Vadotglobal-utilities@e0000 {
189*c66ec88fSEmmanuel Vadot		compatible = "fsl,bsc9131-guts";
190*c66ec88fSEmmanuel Vadot		reg = <0xe0000 0x1000>;
191*c66ec88fSEmmanuel Vadot		fsl,has-rstcr;
192*c66ec88fSEmmanuel Vadot	};
193*c66ec88fSEmmanuel Vadot};
194