1// SPDX-License-Identifier: GPL-2.0-or-later
2/*
3 * P1020 RDB-PC Core1 Device Tree Source in CAMP mode.
4 *
5 * In CAMP mode, each core needs to have its own dts. Only mpic and L2 cache
6 * can be shared, all the other devices must be assigned to one core only.
7 * This dts allows core1 to have l2, eth0, crypto.
8 *
9 * Please note to add "-b 1" for core1's dts compiling.
10 *
11 * Copyright 2012 Freescale Semiconductor Inc.
12 */
13
14/include/ "p1020rdb-pc_32b.dts"
15
16/ {
17	model = "fsl,P1020RDB-PC";
18	compatible = "fsl,P1020RDB-PC";
19
20	aliases {
21		ethernet0 = &enet0;
22		serial0 = &serial1;
23		};
24
25	cpus {
26		PowerPC,P1020@0 {
27			status = "disabled";
28		};
29	};
30
31	memory {
32		device_type = "memory";
33	};
34
35	localbus@ffe05000 {
36		status = "disabled";
37	};
38
39	soc@ffe00000 {
40		ecm-law@0 {
41			status = "disabled";
42		};
43
44		ecm@1000 {
45			status = "disabled";
46		};
47
48		memory-controller@2000 {
49			status = "disabled";
50		};
51
52		i2c@3000 {
53			status = "disabled";
54		};
55
56		i2c@3100 {
57			status = "disabled";
58		};
59
60		serial0: serial@4500 {
61			status = "disabled";
62		};
63
64		spi@7000 {
65			status = "disabled";
66		};
67
68		gpio: gpio-controller@f000 {
69			status = "disabled";
70		};
71
72		dma@21300 {
73			status = "disabled";
74		};
75
76		mdio@24000 {
77			status = "disabled";
78		};
79
80		mdio@25000 {
81			status = "disabled";
82		};
83
84		enet1: ethernet@b1000 {
85			status = "disabled";
86		};
87
88		enet2: ethernet@b2000 {
89			status = "disabled";
90		};
91
92		usb@22000 {
93			status = "disabled";
94		};
95
96		sdhci@2e000 {
97			status = "disabled";
98		};
99
100		mpic: pic@40000 {
101			protected-sources = <
102			16 		/* ecm, mem, L2, pci0, pci1 */
103			43 42 59	/* i2c, serial0, spi */
104			47 63 62 	/* gpio, tdm */
105			20 21 22 23	/* dma */
106			03 02 		/* mdio */
107			35 36 40	/* enet1-queue-group0 */
108			51 52 67	/* enet1-queue-group1 */
109			31 32 33	/* enet2-queue-group0 */
110			25 26 27	/* enet2-queue-group1 */
111			28 72 58 	/* usb, sdhci, crypto */
112			0xb0 0xb1 0xb2	/* message */
113			0xb3 0xb4 0xb5
114			0xb6 0xb7
115			0xe0 0xe1 0xe2	/* msi */
116			0xe3 0xe4 0xe5
117			0xe6 0xe7		/* sdhci, crypto , pci */
118			>;
119			pic-no-reset;
120		};
121
122		msi@41600 {
123			status = "disabled";
124		};
125
126		global-utilities@e0000 {	//global utilities block
127			status = "disabled";
128		};
129	};
130
131	pci0: pcie@ffe09000 {
132		status = "disabled";
133	};
134
135	pci1: pcie@ffe0a000 {
136		status = "disabled";
137	};
138};
139