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
763b5eb41bSXuelin Shi		raideng = &raideng;
773b5eb41bSXuelin Shi		raideng_jr0 = &raideng_jr0;
783b5eb41bSXuelin Shi		raideng_jr1 = &raideng_jr1;
793b5eb41bSXuelin Shi		raideng_jr2 = &raideng_jr2;
803b5eb41bSXuelin Shi		raideng_jr3 = &raideng_jr3;
813b5eb41bSXuelin Shi
82da414bb9SIgal Liberman		fman0 = &fman0;
83da414bb9SIgal Liberman		fman1 = &fman1;
84da414bb9SIgal Liberman		ethernet0 = &enet0;
85da414bb9SIgal Liberman		ethernet1 = &enet1;
86da414bb9SIgal Liberman		ethernet2 = &enet2;
87da414bb9SIgal Liberman		ethernet3 = &enet3;
88da414bb9SIgal Liberman		ethernet4 = &enet4;
89da414bb9SIgal Liberman		ethernet5 = &enet5;
90da414bb9SIgal Liberman		ethernet6 = &enet6;
91da414bb9SIgal Liberman		ethernet7 = &enet7;
92da414bb9SIgal Liberman		ethernet8 = &enet8;
93da414bb9SIgal Liberman		ethernet9 = &enet9;
94da414bb9SIgal Liberman		ethernet10 = &enet10;
95da414bb9SIgal Liberman		ethernet11 = &enet11;
967a4da6f7SKim Phillips	};
977a4da6f7SKim Phillips
987a4da6f7SKim Phillips	cpus {
997a4da6f7SKim Phillips		#address-cells = <1>;
1007a4da6f7SKim Phillips		#size-cells = <0>;
1017a4da6f7SKim Phillips
1027a4da6f7SKim Phillips		cpu0: PowerPC,e5500@0 {
1037a4da6f7SKim Phillips			device_type = "cpu";
1047a4da6f7SKim Phillips			reg = <0>;
10554877957SScott Wood			clocks = <&clockgen 1 0>;
1067a4da6f7SKim Phillips			next-level-cache = <&L2_0>;
107e83eb028SScott Wood			fsl,portid-mapping = <0x80000000>;
1087a4da6f7SKim Phillips			L2_0: l2-cache {
1097a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1107a4da6f7SKim Phillips			};
1117a4da6f7SKim Phillips		};
1127a4da6f7SKim Phillips		cpu1: PowerPC,e5500@1 {
1137a4da6f7SKim Phillips			device_type = "cpu";
1147a4da6f7SKim Phillips			reg = <1>;
11554877957SScott Wood			clocks = <&clockgen 1 1>;
1167a4da6f7SKim Phillips			next-level-cache = <&L2_1>;
117e83eb028SScott Wood			fsl,portid-mapping = <0x40000000>;
1187a4da6f7SKim Phillips			L2_1: l2-cache {
1197a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1207a4da6f7SKim Phillips			};
1217a4da6f7SKim Phillips		};
1227a4da6f7SKim Phillips		cpu2: PowerPC,e5500@2 {
1237a4da6f7SKim Phillips			device_type = "cpu";
1247a4da6f7SKim Phillips			reg = <2>;
12554877957SScott Wood			clocks = <&clockgen 1 2>;
1267a4da6f7SKim Phillips			next-level-cache = <&L2_2>;
127e83eb028SScott Wood			fsl,portid-mapping = <0x20000000>;
1287a4da6f7SKim Phillips			L2_2: l2-cache {
1297a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1307a4da6f7SKim Phillips			};
1317a4da6f7SKim Phillips		};
1327a4da6f7SKim Phillips		cpu3: PowerPC,e5500@3 {
1337a4da6f7SKim Phillips			device_type = "cpu";
1347a4da6f7SKim Phillips			reg = <3>;
13554877957SScott Wood			clocks = <&clockgen 1 3>;
1367a4da6f7SKim Phillips			next-level-cache = <&L2_3>;
137e83eb028SScott Wood			fsl,portid-mapping = <0x10000000>;
1387a4da6f7SKim Phillips			L2_3: l2-cache {
1397a4da6f7SKim Phillips				next-level-cache = <&cpc>;
1407a4da6f7SKim Phillips			};
1417a4da6f7SKim Phillips		};
1427a4da6f7SKim Phillips	};
1437a4da6f7SKim Phillips};
144