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