17a4da6f7SKim Phillips/*
27a4da6f7SKim Phillips * P5040 Silicon/SoC Device Tree Source (pre include)
37a4da6f7SKim Phillips *
4da414bb9SIgal Liberman * Copyright 2012 - 2015 Freescale Semiconductor Inc.
57a4da6f7SKim Phillips *
67a4da6f7SKim Phillips * Redistribution and use in source and binary forms, with or without
77a4da6f7SKim Phillips * modification, are permitted provided that the following conditions are met:
87a4da6f7SKim Phillips *     * Redistributions of source code must retain the above copyright
97a4da6f7SKim Phillips *       notice, this list of conditions and the following disclaimer.
107a4da6f7SKim Phillips *     * Redistributions in binary form must reproduce the above copyright
117a4da6f7SKim Phillips *       notice, this list of conditions and the following disclaimer in the
127a4da6f7SKim Phillips *       documentation and/or other materials provided with the distribution.
137a4da6f7SKim Phillips *     * Neither the name of Freescale Semiconductor nor the
147a4da6f7SKim Phillips *       names of its contributors may be used to endorse or promote products
157a4da6f7SKim Phillips *       derived from this software without specific prior written permission.
167a4da6f7SKim Phillips *
177a4da6f7SKim Phillips *
187a4da6f7SKim Phillips * ALTERNATIVELY, this software may be distributed under the terms of the
197a4da6f7SKim Phillips * GNU General Public License ("GPL") as published by the Free Software
207a4da6f7SKim Phillips * Foundation, either version 2 of that License or (at your option) any
217a4da6f7SKim Phillips * later version.
227a4da6f7SKim Phillips *
237a4da6f7SKim Phillips * This software is provided by Freescale Semiconductor "as is" and any
247a4da6f7SKim Phillips * express or implied warranties, including, but not limited to, the implied
257a4da6f7SKim Phillips * warranties of merchantability and fitness for a particular purpose are
267a4da6f7SKim Phillips * disclaimed. In no event shall Freescale Semiconductor be liable for any
277a4da6f7SKim Phillips * direct, indirect, incidental, special, exemplary, or consequential damages
287a4da6f7SKim Phillips * (including, but not limited to, procurement of substitute goods or services;
297a4da6f7SKim Phillips * loss of use, data, or profits; or business interruption) however caused and
307a4da6f7SKim Phillips * on any theory of liability, whether in contract, strict liability, or tort
317a4da6f7SKim Phillips * (including negligence or otherwise) arising in any way out of the use of this
327a4da6f7SKim Phillips * software, even if advised of the possibility of such damage.
337a4da6f7SKim Phillips */
347a4da6f7SKim Phillips
357a4da6f7SKim Phillips/dts-v1/;
3687787219SOlivia Yin
3787787219SOlivia Yin/include/ "e5500_power_isa.dtsi"
3887787219SOlivia Yin
397a4da6f7SKim Phillips/ {
407a4da6f7SKim Phillips	compatible = "fsl,P5040";
417a4da6f7SKim Phillips	#address-cells = <2>;
427a4da6f7SKim Phillips	#size-cells = <2>;
437a4da6f7SKim Phillips	interrupt-parent = <&mpic>;
447a4da6f7SKim Phillips
457a4da6f7SKim Phillips	aliases {
467a4da6f7SKim Phillips		ccsr = &soc;
477a4da6f7SKim Phillips		dcsr = &dcsr;
487a4da6f7SKim Phillips
497a4da6f7SKim Phillips		serial0 = &serial0;
507a4da6f7SKim Phillips		serial1 = &serial1;
517a4da6f7SKim Phillips		serial2 = &serial2;
527a4da6f7SKim Phillips		serial3 = &serial3;
537a4da6f7SKim Phillips		pci0 = &pci0;
547a4da6f7SKim Phillips		pci1 = &pci1;
557a4da6f7SKim Phillips		pci2 = &pci2;
567a4da6f7SKim Phillips		usb0 = &usb0;
577a4da6f7SKim Phillips		usb1 = &usb1;
587a4da6f7SKim Phillips		dma0 = &dma0;
597a4da6f7SKim Phillips		dma1 = &dma1;
607a4da6f7SKim Phillips		sdhc = &sdhc;
617a4da6f7SKim Phillips		msi0 = &msi0;
627a4da6f7SKim Phillips		msi1 = &msi1;
637a4da6f7SKim Phillips		msi2 = &msi2;
647a4da6f7SKim Phillips
657a4da6f7SKim Phillips		crypto = &crypto;
667a4da6f7SKim Phillips		sec_jr0 = &sec_jr0;
677a4da6f7SKim Phillips		sec_jr1 = &sec_jr1;
687a4da6f7SKim Phillips		sec_jr2 = &sec_jr2;
697a4da6f7SKim Phillips		sec_jr3 = &sec_jr3;
707a4da6f7SKim Phillips		rtic_a = &rtic_a;
717a4da6f7SKim Phillips		rtic_b = &rtic_b;
727a4da6f7SKim Phillips		rtic_c = &rtic_c;
737a4da6f7SKim Phillips		rtic_d = &rtic_d;
747a4da6f7SKim Phillips		sec_mon = &sec_mon;
75da414bb9SIgal Liberman
76da414bb9SIgal Liberman		fman0 = &fman0;
77da414bb9SIgal Liberman		fman1 = &fman1;
78da414bb9SIgal Liberman		ethernet0 = &enet0;
79da414bb9SIgal Liberman		ethernet1 = &enet1;
80da414bb9SIgal Liberman		ethernet2 = &enet2;
81da414bb9SIgal Liberman		ethernet3 = &enet3;
82da414bb9SIgal Liberman		ethernet4 = &enet4;
83da414bb9SIgal Liberman		ethernet5 = &enet5;
84da414bb9SIgal Liberman		ethernet6 = &enet6;
85da414bb9SIgal Liberman		ethernet7 = &enet7;
86da414bb9SIgal Liberman		ethernet8 = &enet8;
87da414bb9SIgal Liberman		ethernet9 = &enet9;
88da414bb9SIgal Liberman		ethernet10 = &enet10;
89da414bb9SIgal Liberman		ethernet11 = &enet11;
907a4da6f7SKim Phillips	};
917a4da6f7SKim Phillips
927a4da6f7SKim Phillips	cpus {
937a4da6f7SKim Phillips		#address-cells = <1>;
947a4da6f7SKim Phillips		#size-cells = <0>;
957a4da6f7SKim Phillips
967a4da6f7SKim Phillips		cpu0: PowerPC,e5500@0 {
977a4da6f7SKim Phillips			device_type = "cpu";
987a4da6f7SKim Phillips			reg = <0>;
995d1a566eSTang Yuantian			clocks = <&mux0>;
1007a4da6f7SKim Phillips			next-level-cache = <&L2_0>;
101e83eb028SScott Wood			fsl,portid-mapping = <0x80000000>;
1027a4da6f7SKim Phillips			L2_0: l2-cache {
1037a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1047a4da6f7SKim Phillips			};
1057a4da6f7SKim Phillips		};
1067a4da6f7SKim Phillips		cpu1: PowerPC,e5500@1 {
1077a4da6f7SKim Phillips			device_type = "cpu";
1087a4da6f7SKim Phillips			reg = <1>;
1095d1a566eSTang Yuantian			clocks = <&mux1>;
1107a4da6f7SKim Phillips			next-level-cache = <&L2_1>;
111e83eb028SScott Wood			fsl,portid-mapping = <0x40000000>;
1127a4da6f7SKim Phillips			L2_1: l2-cache {
1137a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1147a4da6f7SKim Phillips			};
1157a4da6f7SKim Phillips		};
1167a4da6f7SKim Phillips		cpu2: PowerPC,e5500@2 {
1177a4da6f7SKim Phillips			device_type = "cpu";
1187a4da6f7SKim Phillips			reg = <2>;
1195d1a566eSTang Yuantian			clocks = <&mux2>;
1207a4da6f7SKim Phillips			next-level-cache = <&L2_2>;
121e83eb028SScott Wood			fsl,portid-mapping = <0x20000000>;
1227a4da6f7SKim Phillips			L2_2: l2-cache {
1237a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1247a4da6f7SKim Phillips			};
1257a4da6f7SKim Phillips		};
1267a4da6f7SKim Phillips		cpu3: PowerPC,e5500@3 {
1277a4da6f7SKim Phillips			device_type = "cpu";
1287a4da6f7SKim Phillips			reg = <3>;
1295d1a566eSTang Yuantian			clocks = <&mux3>;
1307a4da6f7SKim Phillips			next-level-cache = <&L2_3>;
131e83eb028SScott Wood			fsl,portid-mapping = <0x10000000>;
1327a4da6f7SKim Phillips			L2_3: l2-cache {
1337a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1347a4da6f7SKim Phillips			};
1357a4da6f7SKim Phillips		};
1367a4da6f7SKim Phillips	};
1377a4da6f7SKim Phillips};
138