12874c5fdSThomas Gleixner// SPDX-License-Identifier: GPL-2.0-or-later
2dc37374bSHongtao Jia/*
3dc37374bSHongtao Jia * Cyrus 5020 Device Tree Source, based on p5020ds.dts
4dc37374bSHongtao Jia *
5dc37374bSHongtao Jia * Copyright 2015 Andy Fleming
6dc37374bSHongtao Jia *
7dc37374bSHongtao Jia * p5020ds.dts copyright:
8dc37374bSHongtao Jia * Copyright 2010 - 2014 Freescale Semiconductor Inc.
9dc37374bSHongtao Jia */
10dc37374bSHongtao Jia
11dc37374bSHongtao Jia/include/ "p5020si-pre.dtsi"
12dc37374bSHongtao Jia
13dc37374bSHongtao Jia/ {
14dc37374bSHongtao Jia	model = "varisys,CYRUS";
15dc37374bSHongtao Jia	compatible = "varisys,CYRUS";
16dc37374bSHongtao Jia	#address-cells = <2>;
17dc37374bSHongtao Jia	#size-cells = <2>;
18dc37374bSHongtao Jia	interrupt-parent = <&mpic>;
19dc37374bSHongtao Jia
20dc37374bSHongtao Jia	memory {
21dc37374bSHongtao Jia		device_type = "memory";
22dc37374bSHongtao Jia	};
23dc37374bSHongtao Jia
24dc37374bSHongtao Jia	reserved-memory {
25dc37374bSHongtao Jia		#address-cells = <2>;
26dc37374bSHongtao Jia		#size-cells = <2>;
27dc37374bSHongtao Jia		ranges;
28dc37374bSHongtao Jia
29dc37374bSHongtao Jia		bman_fbpr: bman-fbpr {
30dc37374bSHongtao Jia			size = <0 0x1000000>;
31dc37374bSHongtao Jia			alignment = <0 0x1000000>;
32dc37374bSHongtao Jia		};
33dc37374bSHongtao Jia		qman_fqd: qman-fqd {
34dc37374bSHongtao Jia			size = <0 0x400000>;
35dc37374bSHongtao Jia			alignment = <0 0x400000>;
36dc37374bSHongtao Jia		};
37dc37374bSHongtao Jia		qman_pfdr: qman-pfdr {
38dc37374bSHongtao Jia			size = <0 0x2000000>;
39dc37374bSHongtao Jia			alignment = <0 0x2000000>;
40dc37374bSHongtao Jia		};
41dc37374bSHongtao Jia	};
42dc37374bSHongtao Jia
43dc37374bSHongtao Jia	dcsr: dcsr@f00000000 {
44dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0x00000000 0x01008000>;
45dc37374bSHongtao Jia	};
46dc37374bSHongtao Jia
47dc37374bSHongtao Jia	bportals: bman-portals@ff4000000 {
48dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4000000 0x200000>;
49dc37374bSHongtao Jia	};
50dc37374bSHongtao Jia
51dc37374bSHongtao Jia	qportals: qman-portals@ff4200000 {
52dc37374bSHongtao Jia		ranges = <0x0 0xf 0xf4200000 0x200000>;
53dc37374bSHongtao Jia	};
54dc37374bSHongtao Jia
55dc37374bSHongtao Jia	soc: soc@ffe000000 {
56dc37374bSHongtao Jia		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
57dc37374bSHongtao Jia		reg = <0xf 0xfe000000 0 0x00001000>;
58dc37374bSHongtao Jia		spi@110000 {
59dc37374bSHongtao Jia		};
60dc37374bSHongtao Jia
61dc37374bSHongtao Jia		i2c@118100 {
62dc37374bSHongtao Jia		};
63dc37374bSHongtao Jia
64dc37374bSHongtao Jia		i2c@119100 {
65dc37374bSHongtao Jia			rtc@6f {
66dc37374bSHongtao Jia				compatible = "microchip,mcp7941x";
67dc37374bSHongtao Jia				reg = <0x6f>;
68dc37374bSHongtao Jia			};
69dc37374bSHongtao Jia		};
70dc37374bSHongtao Jia	};
71dc37374bSHongtao Jia
72dc37374bSHongtao Jia	rio: rapidio@ffe0c0000 {
73dc37374bSHongtao Jia		reg = <0xf 0xfe0c0000 0 0x11000>;
74dc37374bSHongtao Jia
75dc37374bSHongtao Jia		port1 {
76dc37374bSHongtao Jia			ranges = <0 0 0xc 0x20000000 0 0x10000000>;
77dc37374bSHongtao Jia		};
78dc37374bSHongtao Jia		port2 {
79dc37374bSHongtao Jia			ranges = <0 0 0xc 0x30000000 0 0x10000000>;
80dc37374bSHongtao Jia		};
81dc37374bSHongtao Jia	};
82dc37374bSHongtao Jia
83dc37374bSHongtao Jia	lbc: localbus@ffe124000 {
84dc37374bSHongtao Jia		reg = <0xf 0xfe124000 0 0x1000>;
85dc37374bSHongtao Jia		ranges = <0 0 0xf 0xe8000000 0x08000000
86dc37374bSHongtao Jia			  2 0 0xf 0xffa00000 0x00040000
87dc37374bSHongtao Jia			  3 0 0xf 0xffdf0000 0x00008000>;
88dc37374bSHongtao Jia	};
89dc37374bSHongtao Jia
90dc37374bSHongtao Jia	pci0: pcie@ffe200000 {
91dc37374bSHongtao Jia		reg = <0xf 0xfe200000 0 0x1000>;
92dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0x0 0x20000000
93dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8000000 0x0 0x00010000>;
94dc37374bSHongtao Jia		pcie@0 {
95dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
96dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
97dc37374bSHongtao Jia				  0 0x20000000
98dc37374bSHongtao Jia
99dc37374bSHongtao Jia				  0x01000000 0 0x00000000
100dc37374bSHongtao Jia				  0x01000000 0 0x00000000
101dc37374bSHongtao Jia				  0 0x00010000>;
102dc37374bSHongtao Jia		};
103dc37374bSHongtao Jia	};
104dc37374bSHongtao Jia
105dc37374bSHongtao Jia	pci1: pcie@ffe201000 {
106dc37374bSHongtao Jia		reg = <0xf 0xfe201000 0 0x1000>;
107dc37374bSHongtao Jia		ranges = <0x02000000 0x0 0xe0000000 0xc 0x20000000 0x0 0x20000000
108dc37374bSHongtao Jia			  0x01000000 0x0 0x00000000 0xf 0xf8010000 0x0 0x00010000>;
109dc37374bSHongtao Jia		pcie@0 {
110dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
111dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
112dc37374bSHongtao Jia				  0 0x20000000
113dc37374bSHongtao Jia
114dc37374bSHongtao Jia				  0x01000000 0 0x00000000
115dc37374bSHongtao Jia				  0x01000000 0 0x00000000
116dc37374bSHongtao Jia				  0 0x00010000>;
117dc37374bSHongtao Jia		};
118dc37374bSHongtao Jia	};
119dc37374bSHongtao Jia
120dc37374bSHongtao Jia	pci2: pcie@ffe202000 {
121dc37374bSHongtao Jia		reg = <0xf 0xfe202000 0 0x1000>;
122dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x40000000 0 0x20000000
123dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
124dc37374bSHongtao Jia		pcie@0 {
125dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
126dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
127dc37374bSHongtao Jia				  0 0x20000000
128dc37374bSHongtao Jia
129dc37374bSHongtao Jia				  0x01000000 0 0x00000000
130dc37374bSHongtao Jia				  0x01000000 0 0x00000000
131dc37374bSHongtao Jia				  0 0x00010000>;
132dc37374bSHongtao Jia		};
133dc37374bSHongtao Jia	};
134dc37374bSHongtao Jia
135dc37374bSHongtao Jia	pci3: pcie@ffe203000 {
136dc37374bSHongtao Jia		reg = <0xf 0xfe203000 0 0x1000>;
137dc37374bSHongtao Jia		ranges = <0x02000000 0 0xe0000000 0xc 0x60000000 0 0x20000000
138dc37374bSHongtao Jia			  0x01000000 0 0x00000000 0xf 0xf8030000 0 0x00010000>;
139dc37374bSHongtao Jia		pcie@0 {
140dc37374bSHongtao Jia			ranges = <0x02000000 0 0xe0000000
141dc37374bSHongtao Jia				  0x02000000 0 0xe0000000
142dc37374bSHongtao Jia				  0 0x20000000
143dc37374bSHongtao Jia
144dc37374bSHongtao Jia				  0x01000000 0 0x00000000
145dc37374bSHongtao Jia				  0x01000000 0 0x00000000
146dc37374bSHongtao Jia				  0 0x00010000>;
147dc37374bSHongtao Jia		};
148dc37374bSHongtao Jia	};
149dc37374bSHongtao Jia};
150dc37374bSHongtao Jia
151dc37374bSHongtao Jia/include/ "p5020si-post.dtsi"
152