xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/t4240si-pre.dtsi (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot/*
2*c66ec88fSEmmanuel Vadot * T4240 Silicon/SoC Device Tree Source (pre include)
3*c66ec88fSEmmanuel Vadot *
4*c66ec88fSEmmanuel Vadot * Copyright 2012 - 2015 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/dts-v1/;
36*c66ec88fSEmmanuel Vadot
37*c66ec88fSEmmanuel Vadot/include/ "e6500_power_isa.dtsi"
38*c66ec88fSEmmanuel Vadot
39*c66ec88fSEmmanuel Vadot/ {
40*c66ec88fSEmmanuel Vadot	compatible = "fsl,T4240";
41*c66ec88fSEmmanuel Vadot	#address-cells = <2>;
42*c66ec88fSEmmanuel Vadot	#size-cells = <2>;
43*c66ec88fSEmmanuel Vadot	interrupt-parent = <&mpic>;
44*c66ec88fSEmmanuel Vadot
45*c66ec88fSEmmanuel Vadot	aliases {
46*c66ec88fSEmmanuel Vadot		ccsr = &soc;
47*c66ec88fSEmmanuel Vadot		dcsr = &dcsr;
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
50*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
51*c66ec88fSEmmanuel Vadot		serial2 = &serial2;
52*c66ec88fSEmmanuel Vadot		serial3 = &serial3;
53*c66ec88fSEmmanuel Vadot		crypto = &crypto;
54*c66ec88fSEmmanuel Vadot
55*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
56*c66ec88fSEmmanuel Vadot		pci1 = &pci1;
57*c66ec88fSEmmanuel Vadot		pci2 = &pci2;
58*c66ec88fSEmmanuel Vadot		pci3 = &pci3;
59*c66ec88fSEmmanuel Vadot		usb0 = &usb0;
60*c66ec88fSEmmanuel Vadot		usb1 = &usb1;
61*c66ec88fSEmmanuel Vadot		dma0 = &dma0;
62*c66ec88fSEmmanuel Vadot		dma1 = &dma1;
63*c66ec88fSEmmanuel Vadot		dma2 = &dma2;
64*c66ec88fSEmmanuel Vadot		sdhc = &sdhc;
65*c66ec88fSEmmanuel Vadot
66*c66ec88fSEmmanuel Vadot		fman0 = &fman0;
67*c66ec88fSEmmanuel Vadot		fman1 = &fman1;
68*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
69*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
70*c66ec88fSEmmanuel Vadot		ethernet2 = &enet2;
71*c66ec88fSEmmanuel Vadot		ethernet3 = &enet3;
72*c66ec88fSEmmanuel Vadot		ethernet4 = &enet4;
73*c66ec88fSEmmanuel Vadot		ethernet5 = &enet5;
74*c66ec88fSEmmanuel Vadot		ethernet6 = &enet6;
75*c66ec88fSEmmanuel Vadot		ethernet7 = &enet7;
76*c66ec88fSEmmanuel Vadot		ethernet8 = &enet8;
77*c66ec88fSEmmanuel Vadot		ethernet9 = &enet9;
78*c66ec88fSEmmanuel Vadot		ethernet10 = &enet10;
79*c66ec88fSEmmanuel Vadot		ethernet11 = &enet11;
80*c66ec88fSEmmanuel Vadot		ethernet12 = &enet12;
81*c66ec88fSEmmanuel Vadot		ethernet13 = &enet13;
82*c66ec88fSEmmanuel Vadot		ethernet14 = &enet14;
83*c66ec88fSEmmanuel Vadot		ethernet15 = &enet15;
84*c66ec88fSEmmanuel Vadot	};
85*c66ec88fSEmmanuel Vadot
86*c66ec88fSEmmanuel Vadot	cpus {
87*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
88*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
89*c66ec88fSEmmanuel Vadot
90*c66ec88fSEmmanuel Vadot		cpu0: PowerPC,e6500@0 {
91*c66ec88fSEmmanuel Vadot			device_type = "cpu";
92*c66ec88fSEmmanuel Vadot			reg = <0 1>;
93*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 0>;
94*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
95*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x80000000>;
96*c66ec88fSEmmanuel Vadot		};
97*c66ec88fSEmmanuel Vadot		cpu1: PowerPC,e6500@2 {
98*c66ec88fSEmmanuel Vadot			device_type = "cpu";
99*c66ec88fSEmmanuel Vadot			reg = <2 3>;
100*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 0>;
101*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
102*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x80000000>;
103*c66ec88fSEmmanuel Vadot		};
104*c66ec88fSEmmanuel Vadot		cpu2: PowerPC,e6500@4 {
105*c66ec88fSEmmanuel Vadot			device_type = "cpu";
106*c66ec88fSEmmanuel Vadot			reg = <4 5>;
107*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 0>;
108*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
109*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x80000000>;
110*c66ec88fSEmmanuel Vadot		};
111*c66ec88fSEmmanuel Vadot		cpu3: PowerPC,e6500@6 {
112*c66ec88fSEmmanuel Vadot			device_type = "cpu";
113*c66ec88fSEmmanuel Vadot			reg = <6 7>;
114*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 0>;
115*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_1>;
116*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x80000000>;
117*c66ec88fSEmmanuel Vadot		};
118*c66ec88fSEmmanuel Vadot		cpu4: PowerPC,e6500@8 {
119*c66ec88fSEmmanuel Vadot			device_type = "cpu";
120*c66ec88fSEmmanuel Vadot			reg = <8 9>;
121*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 1>;
122*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_2>;
123*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x40000000>;
124*c66ec88fSEmmanuel Vadot		};
125*c66ec88fSEmmanuel Vadot		cpu5: PowerPC,e6500@10 {
126*c66ec88fSEmmanuel Vadot			device_type = "cpu";
127*c66ec88fSEmmanuel Vadot			reg = <10 11>;
128*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 1>;
129*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_2>;
130*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x40000000>;
131*c66ec88fSEmmanuel Vadot		};
132*c66ec88fSEmmanuel Vadot		cpu6: PowerPC,e6500@12 {
133*c66ec88fSEmmanuel Vadot			device_type = "cpu";
134*c66ec88fSEmmanuel Vadot			reg = <12 13>;
135*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 1>;
136*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_2>;
137*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x40000000>;
138*c66ec88fSEmmanuel Vadot		};
139*c66ec88fSEmmanuel Vadot		cpu7: PowerPC,e6500@14 {
140*c66ec88fSEmmanuel Vadot			device_type = "cpu";
141*c66ec88fSEmmanuel Vadot			reg = <14 15>;
142*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 1>;
143*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_2>;
144*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x40000000>;
145*c66ec88fSEmmanuel Vadot		};
146*c66ec88fSEmmanuel Vadot		cpu8: PowerPC,e6500@16 {
147*c66ec88fSEmmanuel Vadot			device_type = "cpu";
148*c66ec88fSEmmanuel Vadot			reg = <16 17>;
149*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 2>;
150*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_3>;
151*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x20000000>;
152*c66ec88fSEmmanuel Vadot		};
153*c66ec88fSEmmanuel Vadot		cpu9: PowerPC,e6500@18 {
154*c66ec88fSEmmanuel Vadot			device_type = "cpu";
155*c66ec88fSEmmanuel Vadot			reg = <18 19>;
156*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 2>;
157*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_3>;
158*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x20000000>;
159*c66ec88fSEmmanuel Vadot		};
160*c66ec88fSEmmanuel Vadot		cpu10: PowerPC,e6500@20 {
161*c66ec88fSEmmanuel Vadot			device_type = "cpu";
162*c66ec88fSEmmanuel Vadot			reg = <20 21>;
163*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 2>;
164*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_3>;
165*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x20000000>;
166*c66ec88fSEmmanuel Vadot		};
167*c66ec88fSEmmanuel Vadot		cpu11: PowerPC,e6500@22 {
168*c66ec88fSEmmanuel Vadot			device_type = "cpu";
169*c66ec88fSEmmanuel Vadot			reg = <22 23>;
170*c66ec88fSEmmanuel Vadot			clocks = <&clockgen 1 2>;
171*c66ec88fSEmmanuel Vadot			next-level-cache = <&L2_3>;
172*c66ec88fSEmmanuel Vadot			fsl,portid-mapping = <0x20000000>;
173*c66ec88fSEmmanuel Vadot		};
174*c66ec88fSEmmanuel Vadot	};
175*c66ec88fSEmmanuel Vadot};
176