1/*
2 * T4240 Silicon/SoC Device Tree Source (pre include)
3 *
4 * Copyright 2012 Freescale Semiconductor Inc.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *     * Redistributions of source code must retain the above copyright
9 *       notice, this list of conditions and the following disclaimer.
10 *     * Redistributions in binary form must reproduce the above copyright
11 *       notice, this list of conditions and the following disclaimer in the
12 *       documentation and/or other materials provided with the distribution.
13 *     * Neither the name of Freescale Semiconductor nor the
14 *       names of its contributors may be used to endorse or promote products
15 *       derived from this software without specific prior written permission.
16 *
17 *
18 * ALTERNATIVELY, this software may be distributed under the terms of the
19 * GNU General Public License ("GPL") as published by the Free Software
20 * Foundation, either version 2 of that License or (at your option) any
21 * later version.
22 *
23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35/dts-v1/;
36
37/include/ "e6500_power_isa.dtsi"
38
39/ {
40	compatible = "fsl,T4240";
41	#address-cells = <2>;
42	#size-cells = <2>;
43	interrupt-parent = <&mpic>;
44
45	aliases {
46		ccsr = &soc;
47		dcsr = &dcsr;
48
49		serial0 = &serial0;
50		serial1 = &serial1;
51		serial2 = &serial2;
52		serial3 = &serial3;
53		crypto = &crypto;
54		pci0 = &pci0;
55		pci1 = &pci1;
56		pci2 = &pci2;
57		pci3 = &pci3;
58		dma0 = &dma0;
59		dma1 = &dma1;
60		sdhc = &sdhc;
61	};
62
63	cpus {
64		#address-cells = <1>;
65		#size-cells = <0>;
66
67		cpu0: PowerPC,e6500@0 {
68			device_type = "cpu";
69			reg = <0 1>;
70			clocks = <&mux0>;
71			next-level-cache = <&L2_1>;
72			fsl,portid-mapping = <0x80000000>;
73		};
74		cpu1: PowerPC,e6500@2 {
75			device_type = "cpu";
76			reg = <2 3>;
77			clocks = <&mux0>;
78			next-level-cache = <&L2_1>;
79			fsl,portid-mapping = <0x80000000>;
80		};
81		cpu2: PowerPC,e6500@4 {
82			device_type = "cpu";
83			reg = <4 5>;
84			clocks = <&mux0>;
85			next-level-cache = <&L2_1>;
86			fsl,portid-mapping = <0x80000000>;
87		};
88		cpu3: PowerPC,e6500@6 {
89			device_type = "cpu";
90			reg = <6 7>;
91			clocks = <&mux0>;
92			next-level-cache = <&L2_1>;
93			fsl,portid-mapping = <0x80000000>;
94		};
95		cpu4: PowerPC,e6500@8 {
96			device_type = "cpu";
97			reg = <8 9>;
98			clocks = <&mux1>;
99			next-level-cache = <&L2_2>;
100			fsl,portid-mapping = <0x40000000>;
101		};
102		cpu5: PowerPC,e6500@10 {
103			device_type = "cpu";
104			reg = <10 11>;
105			clocks = <&mux1>;
106			next-level-cache = <&L2_2>;
107			fsl,portid-mapping = <0x40000000>;
108		};
109		cpu6: PowerPC,e6500@12 {
110			device_type = "cpu";
111			reg = <12 13>;
112			clocks = <&mux1>;
113			next-level-cache = <&L2_2>;
114			fsl,portid-mapping = <0x40000000>;
115		};
116		cpu7: PowerPC,e6500@14 {
117			device_type = "cpu";
118			reg = <14 15>;
119			clocks = <&mux1>;
120			next-level-cache = <&L2_2>;
121			fsl,portid-mapping = <0x40000000>;
122		};
123		cpu8: PowerPC,e6500@16 {
124			device_type = "cpu";
125			reg = <16 17>;
126			clocks = <&mux2>;
127			next-level-cache = <&L2_3>;
128			fsl,portid-mapping = <0x20000000>;
129		};
130		cpu9: PowerPC,e6500@18 {
131			device_type = "cpu";
132			reg = <18 19>;
133			clocks = <&mux2>;
134			next-level-cache = <&L2_3>;
135			fsl,portid-mapping = <0x20000000>;
136		};
137		cpu10: PowerPC,e6500@20 {
138			device_type = "cpu";
139			reg = <20 21>;
140			clocks = <&mux2>;
141			next-level-cache = <&L2_3>;
142			fsl,portid-mapping = <0x20000000>;
143		};
144		cpu11: PowerPC,e6500@22 {
145			device_type = "cpu";
146			reg = <22 23>;
147			clocks = <&mux2>;
148			next-level-cache = <&L2_3>;
149			fsl,portid-mapping = <0x20000000>;
150		};
151	};
152};
153