18b8673b8SKumar Gala/*
28b8673b8SKumar Gala * P2041 Silicon/SoC Device Tree Source (pre include)
38b8673b8SKumar Gala *
4da414bb9SIgal Liberman * Copyright 2011 - 2015 Freescale Semiconductor Inc.
58b8673b8SKumar Gala *
68b8673b8SKumar Gala * Redistribution and use in source and binary forms, with or without
78b8673b8SKumar Gala * modification, are permitted provided that the following conditions are met:
88b8673b8SKumar Gala *     * Redistributions of source code must retain the above copyright
98b8673b8SKumar Gala *       notice, this list of conditions and the following disclaimer.
108b8673b8SKumar Gala *     * Redistributions in binary form must reproduce the above copyright
118b8673b8SKumar Gala *       notice, this list of conditions and the following disclaimer in the
128b8673b8SKumar Gala *       documentation and/or other materials provided with the distribution.
138b8673b8SKumar Gala *     * Neither the name of Freescale Semiconductor nor the
148b8673b8SKumar Gala *       names of its contributors may be used to endorse or promote products
158b8673b8SKumar Gala *       derived from this software without specific prior written permission.
168b8673b8SKumar Gala *
178b8673b8SKumar Gala *
188b8673b8SKumar Gala * ALTERNATIVELY, this software may be distributed under the terms of the
198b8673b8SKumar Gala * GNU General Public License ("GPL") as published by the Free Software
208b8673b8SKumar Gala * Foundation, either version 2 of that License or (at your option) any
218b8673b8SKumar Gala * later version.
228b8673b8SKumar Gala *
238b8673b8SKumar Gala * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
248b8673b8SKumar Gala * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
258b8673b8SKumar Gala * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
268b8673b8SKumar Gala * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
278b8673b8SKumar Gala * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
288b8673b8SKumar Gala * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
298b8673b8SKumar Gala * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
308b8673b8SKumar Gala * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
318b8673b8SKumar Gala * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
328b8673b8SKumar Gala * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
338b8673b8SKumar Gala */
348b8673b8SKumar Gala
358b8673b8SKumar Gala/dts-v1/;
362f4acb05SOlivia Yin
372f4acb05SOlivia Yin/include/ "e500mc_power_isa.dtsi"
382f4acb05SOlivia Yin
398b8673b8SKumar Gala/ {
408b8673b8SKumar Gala	compatible = "fsl,P2041";
418b8673b8SKumar Gala	#address-cells = <2>;
428b8673b8SKumar Gala	#size-cells = <2>;
438b8673b8SKumar Gala	interrupt-parent = <&mpic>;
448b8673b8SKumar Gala
458b8673b8SKumar Gala	aliases {
468b8673b8SKumar Gala		ccsr = &soc;
478b8673b8SKumar Gala		dcsr = &dcsr;
488b8673b8SKumar Gala
498b8673b8SKumar Gala		serial0 = &serial0;
508b8673b8SKumar Gala		serial1 = &serial1;
518b8673b8SKumar Gala		serial2 = &serial2;
528b8673b8SKumar Gala		serial3 = &serial3;
538b8673b8SKumar Gala		pci0 = &pci0;
548b8673b8SKumar Gala		pci1 = &pci1;
558b8673b8SKumar Gala		pci2 = &pci2;
568b8673b8SKumar Gala		usb0 = &usb0;
578b8673b8SKumar Gala		usb1 = &usb1;
588b8673b8SKumar Gala		dma0 = &dma0;
598b8673b8SKumar Gala		dma1 = &dma1;
608b8673b8SKumar Gala		sdhc = &sdhc;
618b8673b8SKumar Gala		msi0 = &msi0;
628b8673b8SKumar Gala		msi1 = &msi1;
638b8673b8SKumar Gala		msi2 = &msi2;
648b8673b8SKumar Gala
658b8673b8SKumar Gala		crypto = &crypto;
668b8673b8SKumar Gala		sec_jr0 = &sec_jr0;
678b8673b8SKumar Gala		sec_jr1 = &sec_jr1;
688b8673b8SKumar Gala		sec_jr2 = &sec_jr2;
698b8673b8SKumar Gala		sec_jr3 = &sec_jr3;
708b8673b8SKumar Gala		rtic_a = &rtic_a;
718b8673b8SKumar Gala		rtic_b = &rtic_b;
728b8673b8SKumar Gala		rtic_c = &rtic_c;
738b8673b8SKumar Gala		rtic_d = &rtic_d;
748b8673b8SKumar Gala		sec_mon = &sec_mon;
75da414bb9SIgal Liberman
76da414bb9SIgal Liberman		fman0 = &fman0;
77da414bb9SIgal Liberman		ethernet0 = &enet0;
78da414bb9SIgal Liberman		ethernet1 = &enet1;
79da414bb9SIgal Liberman		ethernet2 = &enet2;
80da414bb9SIgal Liberman		ethernet3 = &enet3;
81da414bb9SIgal Liberman		ethernet4 = &enet4;
82da414bb9SIgal Liberman		ethernet5 = &enet5;
838b8673b8SKumar Gala	};
848b8673b8SKumar Gala
858b8673b8SKumar Gala	cpus {
868b8673b8SKumar Gala		#address-cells = <1>;
878b8673b8SKumar Gala		#size-cells = <0>;
888b8673b8SKumar Gala
898b8673b8SKumar Gala		cpu0: PowerPC,e500mc@0 {
908b8673b8SKumar Gala			device_type = "cpu";
918b8673b8SKumar Gala			reg = <0>;
9254877957SScott Wood			clocks = <&clockgen 1 0>;
938b8673b8SKumar Gala			next-level-cache = <&L2_0>;
94e83eb028SScott Wood			fsl,portid-mapping = <0x80000000>;
958b8673b8SKumar Gala			L2_0: l2-cache {
968b8673b8SKumar Gala				next-level-cache = <&cpc>;
978b8673b8SKumar Gala			};
988b8673b8SKumar Gala		};
998b8673b8SKumar Gala		cpu1: PowerPC,e500mc@1 {
1008b8673b8SKumar Gala			device_type = "cpu";
1018b8673b8SKumar Gala			reg = <1>;
10254877957SScott Wood			clocks = <&clockgen 1 1>;
1038b8673b8SKumar Gala			next-level-cache = <&L2_1>;
104e83eb028SScott Wood			fsl,portid-mapping = <0x40000000>;
1058b8673b8SKumar Gala			L2_1: l2-cache {
1068b8673b8SKumar Gala				next-level-cache = <&cpc>;
1078b8673b8SKumar Gala			};
1088b8673b8SKumar Gala		};
1098b8673b8SKumar Gala		cpu2: PowerPC,e500mc@2 {
1108b8673b8SKumar Gala			device_type = "cpu";
1118b8673b8SKumar Gala			reg = <2>;
11254877957SScott Wood			clocks = <&clockgen 1 2>;
1138b8673b8SKumar Gala			next-level-cache = <&L2_2>;
114e83eb028SScott Wood			fsl,portid-mapping = <0x20000000>;
1158b8673b8SKumar Gala			L2_2: l2-cache {
1168b8673b8SKumar Gala				next-level-cache = <&cpc>;
1178b8673b8SKumar Gala			};
1188b8673b8SKumar Gala		};
1198b8673b8SKumar Gala		cpu3: PowerPC,e500mc@3 {
1208b8673b8SKumar Gala			device_type = "cpu";
1218b8673b8SKumar Gala			reg = <3>;
12254877957SScott Wood			clocks = <&clockgen 1 3>;
1238b8673b8SKumar Gala			next-level-cache = <&L2_3>;
124e83eb028SScott Wood			fsl,portid-mapping = <0x10000000>;
1258b8673b8SKumar Gala			L2_3: l2-cache {
1268b8673b8SKumar Gala				next-level-cache = <&cpc>;
1278b8673b8SKumar Gala			};
1288b8673b8SKumar Gala		};
1298b8673b8SKumar Gala	};
1308b8673b8SKumar Gala};
131