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