xref: /freebsd/sys/contrib/device-tree/src/powerpc/fsl/t1023rdb.dts (revision 354d7675fe12ace9cde344cb79c7ded792802f88)
1c66ec88fSEmmanuel Vadot/*
2c66ec88fSEmmanuel Vadot * T1023 RDB Device Tree Source
3c66ec88fSEmmanuel Vadot *
4c66ec88fSEmmanuel Vadot * Copyright 2014 Freescale Semiconductor Inc.
5c66ec88fSEmmanuel Vadot *
6c66ec88fSEmmanuel Vadot * Redistribution and use in source and binary forms, with or without
7c66ec88fSEmmanuel Vadot * modification, are permitted provided that the following conditions are met:
8c66ec88fSEmmanuel Vadot *     * Redistributions of source code must retain the above copyright
9c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer.
10c66ec88fSEmmanuel Vadot *     * Redistributions in binary form must reproduce the above copyright
11c66ec88fSEmmanuel Vadot *	 notice, this list of conditions and the following disclaimer in the
12c66ec88fSEmmanuel Vadot *	 documentation and/or other materials provided with the distribution.
13c66ec88fSEmmanuel Vadot *     * Neither the name of Freescale Semiconductor nor the
14c66ec88fSEmmanuel Vadot *	 names of its contributors may be used to endorse or promote products
15c66ec88fSEmmanuel Vadot *	 derived from this software without specific prior written permission.
16c66ec88fSEmmanuel Vadot *
17c66ec88fSEmmanuel Vadot *
18c66ec88fSEmmanuel Vadot * ALTERNATIVELY, this software may be distributed under the terms of the
19c66ec88fSEmmanuel Vadot * GNU General Public License ("GPL") as published by the Free Software
20c66ec88fSEmmanuel Vadot * Foundation, either version 2 of that License or (at your option) any
21c66ec88fSEmmanuel Vadot * later version.
22c66ec88fSEmmanuel Vadot *
23c66ec88fSEmmanuel Vadot * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor "AS IS" AND ANY
24c66ec88fSEmmanuel Vadot * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25c66ec88fSEmmanuel Vadot * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26c66ec88fSEmmanuel Vadot * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27c66ec88fSEmmanuel Vadot * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28c66ec88fSEmmanuel Vadot * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29c66ec88fSEmmanuel Vadot * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30c66ec88fSEmmanuel Vadot * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31c66ec88fSEmmanuel Vadot * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32c66ec88fSEmmanuel Vadot * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33c66ec88fSEmmanuel Vadot */
34c66ec88fSEmmanuel Vadot
35c66ec88fSEmmanuel Vadot/include/ "t102xsi-pre.dtsi"
36c66ec88fSEmmanuel Vadot
37c66ec88fSEmmanuel Vadot/ {
38c66ec88fSEmmanuel Vadot	model = "fsl,T1023RDB";
39c66ec88fSEmmanuel Vadot	compatible = "fsl,T1023RDB";
40c66ec88fSEmmanuel Vadot	#address-cells = <2>;
41c66ec88fSEmmanuel Vadot	#size-cells = <2>;
42c66ec88fSEmmanuel Vadot	interrupt-parent = <&mpic>;
43c66ec88fSEmmanuel Vadot
44c66ec88fSEmmanuel Vadot	reserved-memory {
45c66ec88fSEmmanuel Vadot		#address-cells = <2>;
46c66ec88fSEmmanuel Vadot		#size-cells = <2>;
47c66ec88fSEmmanuel Vadot		ranges;
48c66ec88fSEmmanuel Vadot
49c66ec88fSEmmanuel Vadot		bman_fbpr: bman-fbpr {
50c66ec88fSEmmanuel Vadot			size = <0 0x1000000>;
51c66ec88fSEmmanuel Vadot			alignment = <0 0x1000000>;
52c66ec88fSEmmanuel Vadot		};
53c66ec88fSEmmanuel Vadot
54c66ec88fSEmmanuel Vadot		qman_fqd: qman-fqd {
55c66ec88fSEmmanuel Vadot			size = <0 0x400000>;
56c66ec88fSEmmanuel Vadot			alignment = <0 0x400000>;
57c66ec88fSEmmanuel Vadot		};
58c66ec88fSEmmanuel Vadot
59c66ec88fSEmmanuel Vadot		qman_pfdr: qman-pfdr {
60c66ec88fSEmmanuel Vadot			size = <0 0x2000000>;
61c66ec88fSEmmanuel Vadot			alignment = <0 0x2000000>;
62c66ec88fSEmmanuel Vadot		};
63c66ec88fSEmmanuel Vadot	};
64c66ec88fSEmmanuel Vadot
65c66ec88fSEmmanuel Vadot	ifc: localbus@ffe124000 {
66c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe124000 0 0x2000>;
67c66ec88fSEmmanuel Vadot		ranges = <0 0 0xf 0xe8000000 0x08000000
68c66ec88fSEmmanuel Vadot			  1 0 0xf 0xff800000 0x00010000>;
69c66ec88fSEmmanuel Vadot
70c66ec88fSEmmanuel Vadot		nor@0,0 {
71c66ec88fSEmmanuel Vadot			#address-cells = <1>;
72c66ec88fSEmmanuel Vadot			#size-cells = <1>;
73c66ec88fSEmmanuel Vadot			status = "disabled";
74c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
75c66ec88fSEmmanuel Vadot			reg = <0x0 0x0 0x8000000>;
76c66ec88fSEmmanuel Vadot			bank-width = <2>;
77c66ec88fSEmmanuel Vadot			device-width = <1>;
78c66ec88fSEmmanuel Vadot		};
79c66ec88fSEmmanuel Vadot
80c66ec88fSEmmanuel Vadot		nand@1,0 {
81c66ec88fSEmmanuel Vadot			#address-cells = <1>;
82c66ec88fSEmmanuel Vadot			#size-cells = <1>;
83c66ec88fSEmmanuel Vadot			compatible = "fsl,ifc-nand";
84c66ec88fSEmmanuel Vadot			reg = <0x1 0x0 0x10000>;
85c66ec88fSEmmanuel Vadot		};
86c66ec88fSEmmanuel Vadot	};
87c66ec88fSEmmanuel Vadot
88c66ec88fSEmmanuel Vadot	memory {
89c66ec88fSEmmanuel Vadot		device_type = "memory";
90c66ec88fSEmmanuel Vadot	};
91c66ec88fSEmmanuel Vadot
92c66ec88fSEmmanuel Vadot	dcsr: dcsr@f00000000 {
93c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0x00000000 0x01072000>;
94c66ec88fSEmmanuel Vadot	};
95c66ec88fSEmmanuel Vadot
96c66ec88fSEmmanuel Vadot	bportals: bman-portals@ff4000000 {
97c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf4000000 0x2000000>;
98c66ec88fSEmmanuel Vadot	};
99c66ec88fSEmmanuel Vadot
100c66ec88fSEmmanuel Vadot	qportals: qman-portals@ff6000000 {
101c66ec88fSEmmanuel Vadot		ranges = <0x0 0xf 0xf6000000 0x2000000>;
102c66ec88fSEmmanuel Vadot	};
103c66ec88fSEmmanuel Vadot
104c66ec88fSEmmanuel Vadot	soc: soc@ffe000000 {
105c66ec88fSEmmanuel Vadot		ranges = <0x00000000 0xf 0xfe000000 0x1000000>;
106c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe000000 0 0x00001000>;
107c66ec88fSEmmanuel Vadot		spi@110000 {
108c66ec88fSEmmanuel Vadot			flash@0 {
109c66ec88fSEmmanuel Vadot				#address-cells = <1>;
110c66ec88fSEmmanuel Vadot				#size-cells = <1>;
111c66ec88fSEmmanuel Vadot				compatible = "spansion,s25fl512s", "jedec,spi-nor";
112c66ec88fSEmmanuel Vadot				reg = <0>;
113c66ec88fSEmmanuel Vadot				spi-max-frequency = <10000000>; /* input clk */
114c66ec88fSEmmanuel Vadot			};
115c66ec88fSEmmanuel Vadot		};
116c66ec88fSEmmanuel Vadot
117c66ec88fSEmmanuel Vadot		i2c@118000 {
118c66ec88fSEmmanuel Vadot			eeprom@50 {
119c66ec88fSEmmanuel Vadot				compatible = "st,m24256";
120c66ec88fSEmmanuel Vadot				reg = <0x50>;
121c66ec88fSEmmanuel Vadot			};
122c66ec88fSEmmanuel Vadot
123c66ec88fSEmmanuel Vadot			rtc@68 {
124c66ec88fSEmmanuel Vadot				compatible = "dallas,ds1339";
125c66ec88fSEmmanuel Vadot				reg = <0x68>;
126c66ec88fSEmmanuel Vadot				interrupts = <0x5 0x1 0 0>;
127c66ec88fSEmmanuel Vadot			};
128c66ec88fSEmmanuel Vadot		};
129c66ec88fSEmmanuel Vadot
130c66ec88fSEmmanuel Vadot		i2c@118100 {
131c66ec88fSEmmanuel Vadot			current-sensor@40 {
132c66ec88fSEmmanuel Vadot				compatible = "ti,ina220";
133c66ec88fSEmmanuel Vadot				reg = <0x40>;
134c66ec88fSEmmanuel Vadot				shunt-resistor = <1000>;
135c66ec88fSEmmanuel Vadot			};
136c66ec88fSEmmanuel Vadot
137c66ec88fSEmmanuel Vadot			current-sensor@41 {
138c66ec88fSEmmanuel Vadot				compatible = "ti,ina220";
139c66ec88fSEmmanuel Vadot				reg = <0x41>;
140c66ec88fSEmmanuel Vadot				shunt-resistor = <1000>;
141c66ec88fSEmmanuel Vadot			};
142c66ec88fSEmmanuel Vadot		};
143c66ec88fSEmmanuel Vadot
144c66ec88fSEmmanuel Vadot		fman@400000 {
145c66ec88fSEmmanuel Vadot			fm1mac1: ethernet@e0000 {
146c66ec88fSEmmanuel Vadot				phy-handle = <&sgmii_rtk_phy2>;
147c66ec88fSEmmanuel Vadot				phy-connection-type = "sgmii";
148c66ec88fSEmmanuel Vadot				sleep = <&rcpm 0x80000000>;
149c66ec88fSEmmanuel Vadot			};
150c66ec88fSEmmanuel Vadot
151c66ec88fSEmmanuel Vadot			fm1mac2: ethernet@e2000 {
152c66ec88fSEmmanuel Vadot				sleep = <&rcpm 0x40000000>;
153c66ec88fSEmmanuel Vadot			};
154c66ec88fSEmmanuel Vadot
155c66ec88fSEmmanuel Vadot			fm1mac3: ethernet@e4000 {
156c66ec88fSEmmanuel Vadot				phy-handle = <&sgmii_aqr_phy3>;
157*354d7675SEmmanuel Vadot				phy-connection-type = "2500base-x";
158c66ec88fSEmmanuel Vadot				sleep = <&rcpm 0x20000000>;
159c66ec88fSEmmanuel Vadot			};
160c66ec88fSEmmanuel Vadot
161c66ec88fSEmmanuel Vadot			fm1mac4: ethernet@e6000 {
162c66ec88fSEmmanuel Vadot				phy-handle = <&rgmii_rtk_phy1>;
163c66ec88fSEmmanuel Vadot				phy-connection-type = "rgmii";
164c66ec88fSEmmanuel Vadot				sleep = <&rcpm 0x10000000>;
165c66ec88fSEmmanuel Vadot			};
166c66ec88fSEmmanuel Vadot
167c66ec88fSEmmanuel Vadot
168c66ec88fSEmmanuel Vadot			mdio0: mdio@fc000 {
169c66ec88fSEmmanuel Vadot				rgmii_rtk_phy1: ethernet-phy@1 {
170c66ec88fSEmmanuel Vadot					reg = <0x1>;
171c66ec88fSEmmanuel Vadot				};
172c66ec88fSEmmanuel Vadot				sgmii_rtk_phy2: ethernet-phy@3 {
173c66ec88fSEmmanuel Vadot					reg = <0x3>;
174c66ec88fSEmmanuel Vadot				};
175c66ec88fSEmmanuel Vadot			};
176c66ec88fSEmmanuel Vadot
177c66ec88fSEmmanuel Vadot			xmdio0: mdio@fd000 {
178c66ec88fSEmmanuel Vadot				sgmii_aqr_phy3: ethernet-phy@2 {
179c66ec88fSEmmanuel Vadot					compatible = "ethernet-phy-ieee802.3-c45";
180c66ec88fSEmmanuel Vadot					reg = <0x2>;
181c66ec88fSEmmanuel Vadot				};
182c66ec88fSEmmanuel Vadot			};
183c66ec88fSEmmanuel Vadot		};
184c66ec88fSEmmanuel Vadot	};
185c66ec88fSEmmanuel Vadot
186c66ec88fSEmmanuel Vadot	pci0: pcie@ffe240000 {
187c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe240000 0 0x10000>;
188c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x00000000 0 0x10000000
189c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8000000 0 0x00010000>;
190c66ec88fSEmmanuel Vadot		pcie@0 {
191c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
192c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
193c66ec88fSEmmanuel Vadot				  0 0x10000000
194c66ec88fSEmmanuel Vadot
195c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
196c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
197c66ec88fSEmmanuel Vadot				  0 0x00010000>;
198c66ec88fSEmmanuel Vadot		};
199c66ec88fSEmmanuel Vadot	};
200c66ec88fSEmmanuel Vadot
201c66ec88fSEmmanuel Vadot	pci1: pcie@ffe250000 {
202c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe250000 0 0x10000>;
203c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x10000000 0 0x10000000
204c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8010000 0 0x00010000>;
205c66ec88fSEmmanuel Vadot		pcie@0 {
206c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
207c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
208c66ec88fSEmmanuel Vadot				  0 0x10000000
209c66ec88fSEmmanuel Vadot
210c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
211c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
212c66ec88fSEmmanuel Vadot				  0 0x00010000>;
213c66ec88fSEmmanuel Vadot		};
214c66ec88fSEmmanuel Vadot	};
215c66ec88fSEmmanuel Vadot
216c66ec88fSEmmanuel Vadot	pci2: pcie@ffe260000 {
217c66ec88fSEmmanuel Vadot		reg = <0xf 0xfe260000 0 0x10000>;
218c66ec88fSEmmanuel Vadot		ranges = <0x02000000 0 0xe0000000 0xc 0x20000000 0 0x10000000
219c66ec88fSEmmanuel Vadot			  0x01000000 0 0x00000000 0xf 0xf8020000 0 0x00010000>;
220c66ec88fSEmmanuel Vadot		pcie@0 {
221c66ec88fSEmmanuel Vadot			ranges = <0x02000000 0 0xe0000000
222c66ec88fSEmmanuel Vadot				  0x02000000 0 0xe0000000
223c66ec88fSEmmanuel Vadot				  0 0x10000000
224c66ec88fSEmmanuel Vadot
225c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
226c66ec88fSEmmanuel Vadot				  0x01000000 0 0x00000000
227c66ec88fSEmmanuel Vadot				  0 0x00010000>;
228c66ec88fSEmmanuel Vadot		};
229c66ec88fSEmmanuel Vadot	};
230c66ec88fSEmmanuel Vadot};
231c66ec88fSEmmanuel Vadot
232c66ec88fSEmmanuel Vadot#include "t1023si-post.dtsi"
233