xref: /linux/arch/powerpc/boot/dts/fsl/mpc8536ds.dtsi (revision 74ce1896c6c65b2f8cccbf59162d542988835835)
1/*
2 * MPC8536DS Device Tree Source stub (no addresses or top-level ranges)
3 *
4 * Copyright 2011 Freescale Semiconductor Inc.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are met:
8 *     * Redistributions of source code must retain the above copyright
9 *       notice, this list of conditions and the following disclaimer.
10 *     * Redistributions in binary form must reproduce the above copyright
11 *       notice, this list of conditions and the following disclaimer in the
12 *       documentation and/or other materials provided with the distribution.
13 *     * Neither the name of Freescale Semiconductor nor the
14 *       names of its contributors may be used to endorse or promote products
15 *       derived from this software without specific prior written permission.
16 *
17 *
18 * ALTERNATIVELY, this software may be distributed under the terms of the
19 * GNU General Public License ("GPL") as published by the Free Software
20 * Foundation, either version 2 of that License or (at your option) any
21 * later version.
22 *
23 * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26 * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33 */
34
35&lbc {
36	nor@0,0 {
37		#address-cells = <1>;
38		#size-cells = <1>;
39		compatible = "cfi-flash";
40		reg = <0x0 0x0 0x8000000>;
41		bank-width = <2>;
42		device-width = <1>;
43
44		partition@0 {
45			reg = <0x0 0x03000000>;
46			label = "ramdisk-nor";
47		};
48
49		partition@3000000 {
50			reg = <0x03000000 0x00e00000>;
51			label = "diagnostic-nor";
52			read-only;
53		};
54
55		partition@3e00000 {
56			reg = <0x03e00000 0x00200000>;
57			label = "dink-nor";
58			read-only;
59		};
60
61		partition@4000000 {
62			reg = <0x04000000 0x00400000>;
63			label = "kernel-nor";
64		};
65
66		partition@4400000 {
67			reg = <0x04400000 0x03b00000>;
68			label = "fs-nor";
69		};
70
71		partition@7f00000 {
72			reg = <0x07f00000 0x00080000>;
73			label = "dtb-nor";
74		};
75
76		partition@7f80000 {
77			reg = <0x07f80000 0x00080000>;
78			label = "u-boot-nor";
79			read-only;
80		};
81	};
82
83	nand@2,0 {
84		#address-cells = <1>;
85		#size-cells = <1>;
86		compatible = "fsl,mpc8536-fcm-nand",
87			     "fsl,elbc-fcm-nand";
88		reg = <0x2 0x0 0x40000>;
89
90		partition@0 {
91			reg = <0x0 0x02000000>;
92			label = "u-boot-nand";
93			read-only;
94		};
95
96		partition@2000000 {
97			reg = <0x02000000 0x10000000>;
98			label = "fs-nand";
99		};
100
101		partition@12000000 {
102			reg = <0x12000000 0x08000000>;
103			label = "ramdisk-nand";
104		};
105
106		partition@1a000000 {
107			reg = <0x1a000000 0x04000000>;
108			label = "kernel-nand";
109		};
110
111		partition@1e000000 {
112			reg = <0x1e000000 0x01000000>;
113			label = "dtb-nand";
114		};
115
116		partition@1f000000 {
117			reg = <0x1f000000 0x21000000>;
118			label = "empty-nand";
119		};
120	};
121
122	board-control@3,0 {
123		compatible = "fsl,mpc8536ds-fpga-pixis";
124		reg = <0x3 0x0 0x8000>;
125	};
126};
127
128&board_soc {
129	i2c@3100 {
130		rtc@68 {
131			compatible = "dallas,ds3232";
132			reg = <0x68>;
133			interrupts = <0 0x1 0 0>;
134		};
135		adt7461@4c {
136			compatible = "adi,adt7461";
137			reg = <0x4c>;
138		};
139	};
140
141	spi@7000 {
142		flash@0 {
143			#address-cells = <1>;
144			#size-cells = <1>;
145			compatible = "spansion,s25sl12801", "jedec,spi-nor";
146			reg = <0>;
147			spi-max-frequency = <40000000>;
148			partition@u-boot {
149				label = "u-boot";
150				reg = <0x00000000 0x00100000>;
151				read-only;
152			};
153			partition@kernel {
154				label = "kernel";
155				reg = <0x00100000 0x00500000>;
156				read-only;
157			};
158			partition@dtb {
159				label = "dtb";
160				reg = <0x00600000 0x00100000>;
161				read-only;
162			};
163			partition@fs {
164				label = "file system";
165				reg = <0x00700000 0x00900000>;
166			};
167		};
168		flash@1 {
169			compatible = "spansion,s25sl12801", "jedec,spi-nor";
170			reg = <1>;
171			spi-max-frequency = <40000000>;
172		};
173		flash@2 {
174			compatible = "spansion,s25sl12801", "jedec,spi-nor";
175			reg = <2>;
176			spi-max-frequency = <40000000>;
177		};
178		flash@3 {
179			compatible = "spansion,s25sl12801", "jedec,spi-nor";
180			reg = <3>;
181			spi-max-frequency = <40000000>;
182		};
183	};
184
185	usb@22000 {
186		phy_type = "ulpi";
187	};
188
189	usb@23000 {
190		phy_type = "ulpi";
191	};
192
193	enet0: ethernet@24000 {
194		tbi-handle = <&tbi0>;
195		phy-handle = <&phy1>;
196		phy-connection-type = "rgmii-id";
197	};
198
199	mdio@24520 {
200		phy0: ethernet-phy@0 {
201			interrupts = <10 0x1 0 0>;
202			reg = <0>;
203		};
204		phy1: ethernet-phy@1 {
205			interrupts = <10 0x1 0 0>;
206			reg = <1>;
207		};
208		sgmii_phy0: sgmii-phy@0 {
209			interrupts = <6 1 0 0>;
210			reg = <0x1d>;
211		};
212		sgmii_phy1: sgmii-phy@1 {
213			interrupts = <6 1 0 0>;
214			reg = <0x1c>;
215		};
216		tbi0: tbi-phy@11 {
217			reg = <0x11>;
218			device_type = "tbi-phy";
219		};
220	};
221
222	enet2: ethernet@26000 {
223		tbi-handle = <&tbi1>;
224		phy-handle = <&phy0>;
225		phy-connection-type = "rgmii-id";
226	};
227
228	mdio@26520 {
229		#address-cells = <1>;
230		#size-cells = <0>;
231		compatible = "fsl,gianfar-tbi";
232		reg = <0x26520 0x20>;
233
234		tbi1: tbi-phy@11 {
235			reg = <0x11>;
236			device_type = "tbi-phy";
237		};
238	};
239
240	usb@2b000 {
241		dr_mode = "peripheral";
242		phy_type = "ulpi";
243	};
244};
245