xref: /OK3568_Linux_fs/kernel/arch/powerpc/boot/dts/fsl/mpc8544ds.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun/*
2*4882a593Smuzhiyun * MPC8544DS Device Tree Source stub (no addresses or top-level ranges)
3*4882a593Smuzhiyun *
4*4882a593Smuzhiyun * Copyright 2011 Freescale Semiconductor Inc.
5*4882a593Smuzhiyun *
6*4882a593Smuzhiyun * Redistribution and use in source and binary forms, with or without
7*4882a593Smuzhiyun * modification, are permitted provided that the following conditions are met:
8*4882a593Smuzhiyun *     * Redistributions of source code must retain the above copyright
9*4882a593Smuzhiyun *       notice, this list of conditions and the following disclaimer.
10*4882a593Smuzhiyun *     * Redistributions in binary form must reproduce the above copyright
11*4882a593Smuzhiyun *       notice, this list of conditions and the following disclaimer in the
12*4882a593Smuzhiyun *       documentation and/or other materials provided with the distribution.
13*4882a593Smuzhiyun *     * Neither the name of Freescale Semiconductor nor the
14*4882a593Smuzhiyun *       names of its contributors may be used to endorse or promote products
15*4882a593Smuzhiyun *       derived from this software without specific prior written permission.
16*4882a593Smuzhiyun *
17*4882a593Smuzhiyun *
18*4882a593Smuzhiyun * ALTERNATIVELY, this software may be distributed under the terms of the
19*4882a593Smuzhiyun * GNU General Public License ("GPL") as published by the Free Software
20*4882a593Smuzhiyun * Foundation, either version 2 of that License or (at your option) any
21*4882a593Smuzhiyun * later version.
22*4882a593Smuzhiyun *
23*4882a593Smuzhiyun * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' AND ANY
24*4882a593Smuzhiyun * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
25*4882a593Smuzhiyun * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
26*4882a593Smuzhiyun * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE FOR ANY
27*4882a593Smuzhiyun * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
28*4882a593Smuzhiyun * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
29*4882a593Smuzhiyun * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
30*4882a593Smuzhiyun * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31*4882a593Smuzhiyun * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
32*4882a593Smuzhiyun * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33*4882a593Smuzhiyun */
34*4882a593Smuzhiyun
35*4882a593Smuzhiyun&board_lbc {
36*4882a593Smuzhiyun	nor@0,0 {
37*4882a593Smuzhiyun		#address-cells = <1>;
38*4882a593Smuzhiyun		#size-cells = <1>;
39*4882a593Smuzhiyun		compatible = "cfi-flash";
40*4882a593Smuzhiyun		reg = <0x0 0x0 0x800000>;
41*4882a593Smuzhiyun		bank-width = <2>;
42*4882a593Smuzhiyun		device-width = <1>;
43*4882a593Smuzhiyun
44*4882a593Smuzhiyun		partition@0 {
45*4882a593Smuzhiyun			reg = <0x0 0x10000>;
46*4882a593Smuzhiyun			label = "dtb-nor";
47*4882a593Smuzhiyun		};
48*4882a593Smuzhiyun
49*4882a593Smuzhiyun		partition@20000 {
50*4882a593Smuzhiyun			reg = <0x20000 0x30000>;
51*4882a593Smuzhiyun			label = "diagnostic-nor";
52*4882a593Smuzhiyun			read-only;
53*4882a593Smuzhiyun		};
54*4882a593Smuzhiyun
55*4882a593Smuzhiyun		partition@200000 {
56*4882a593Smuzhiyun			reg = <0x200000 0x200000>;
57*4882a593Smuzhiyun			label = "dink-nor";
58*4882a593Smuzhiyun			read-only;
59*4882a593Smuzhiyun		};
60*4882a593Smuzhiyun
61*4882a593Smuzhiyun		partition@400000 {
62*4882a593Smuzhiyun			reg = <0x400000 0x380000>;
63*4882a593Smuzhiyun			label = "kernel-nor";
64*4882a593Smuzhiyun		};
65*4882a593Smuzhiyun
66*4882a593Smuzhiyun		partition@780000 {
67*4882a593Smuzhiyun			reg = <0x780000 0x80000>;
68*4882a593Smuzhiyun			label = "u-boot-nor";
69*4882a593Smuzhiyun			read-only;
70*4882a593Smuzhiyun		};
71*4882a593Smuzhiyun	};
72*4882a593Smuzhiyun};
73*4882a593Smuzhiyun
74*4882a593Smuzhiyun&board_soc {
75*4882a593Smuzhiyun	enet0: ethernet@24000 {
76*4882a593Smuzhiyun		phy-handle = <&phy0>;
77*4882a593Smuzhiyun		tbi-handle = <&tbi0>;
78*4882a593Smuzhiyun		phy-connection-type = "rgmii-id";
79*4882a593Smuzhiyun	};
80*4882a593Smuzhiyun
81*4882a593Smuzhiyun	mdio@24520 {
82*4882a593Smuzhiyun		phy0: ethernet-phy@0 {
83*4882a593Smuzhiyun			interrupts = <10 1 0 0>;
84*4882a593Smuzhiyun			reg = <0x0>;
85*4882a593Smuzhiyun		};
86*4882a593Smuzhiyun		phy1: ethernet-phy@1 {
87*4882a593Smuzhiyun			interrupts = <10 1 0 0>;
88*4882a593Smuzhiyun			reg = <0x1>;
89*4882a593Smuzhiyun		};
90*4882a593Smuzhiyun
91*4882a593Smuzhiyun		sgmii_phy0: sgmii-phy@0 {
92*4882a593Smuzhiyun			interrupts = <6 1 0 0>;
93*4882a593Smuzhiyun			reg = <0x1c>;
94*4882a593Smuzhiyun		};
95*4882a593Smuzhiyun		sgmii_phy1: sgmii-phy@1 {
96*4882a593Smuzhiyun			interrupts = <6 1 0 0>;
97*4882a593Smuzhiyun			reg = <0x1d>;
98*4882a593Smuzhiyun		};
99*4882a593Smuzhiyun
100*4882a593Smuzhiyun		tbi0: tbi-phy@11 {
101*4882a593Smuzhiyun			reg = <0x11>;
102*4882a593Smuzhiyun			device_type = "tbi-phy";
103*4882a593Smuzhiyun		};
104*4882a593Smuzhiyun	};
105*4882a593Smuzhiyun
106*4882a593Smuzhiyun	enet2: ethernet@26000 {
107*4882a593Smuzhiyun		phy-handle = <&phy1>;
108*4882a593Smuzhiyun		tbi-handle = <&tbi1>;
109*4882a593Smuzhiyun		phy-connection-type = "rgmii-id";
110*4882a593Smuzhiyun	};
111*4882a593Smuzhiyun
112*4882a593Smuzhiyun	mdio@26520 {
113*4882a593Smuzhiyun		tbi1: tbi-phy@11 {
114*4882a593Smuzhiyun			reg = <0x11>;
115*4882a593Smuzhiyun			device_type = "tbi-phy";
116*4882a593Smuzhiyun		};
117*4882a593Smuzhiyun	};
118*4882a593Smuzhiyun};
119*4882a593Smuzhiyun
120*4882a593Smuzhiyun&board_pci3 {
121*4882a593Smuzhiyun	pcie@0 {
122*4882a593Smuzhiyun		interrupt-map-mask = <0xff00 0x0 0x0 0x7>;
123*4882a593Smuzhiyun		interrupt-map = <
124*4882a593Smuzhiyun			// IDSEL 0x1c  USB
125*4882a593Smuzhiyun			0xe000 0x0 0x0 0x1 &i8259 0xc 0x2
126*4882a593Smuzhiyun			0xe100 0x0 0x0 0x2 &i8259 0x9 0x2
127*4882a593Smuzhiyun			0xe200 0x0 0x0 0x3 &i8259 0xa 0x2
128*4882a593Smuzhiyun			0xe300 0x0 0x0 0x4 &i8259 0xb 0x2
129*4882a593Smuzhiyun
130*4882a593Smuzhiyun			// IDSEL 0x1d  Audio
131*4882a593Smuzhiyun			0xe800 0x0 0x0 0x1 &i8259 0x6 0x2
132*4882a593Smuzhiyun
133*4882a593Smuzhiyun			// IDSEL 0x1e Legacy
134*4882a593Smuzhiyun			0xf000 0x0 0x0 0x1 &i8259 0x7 0x2
135*4882a593Smuzhiyun			0xf100 0x0 0x0 0x1 &i8259 0x7 0x2
136*4882a593Smuzhiyun
137*4882a593Smuzhiyun			// IDSEL 0x1f IDE/SATA
138*4882a593Smuzhiyun			0xf800 0x0 0x0 0x1 &i8259 0xe 0x2
139*4882a593Smuzhiyun			0xf900 0x0 0x0 0x1 &i8259 0x5 0x2
140*4882a593Smuzhiyun			>;
141*4882a593Smuzhiyun
142*4882a593Smuzhiyun
143*4882a593Smuzhiyun		uli1575@0 {
144*4882a593Smuzhiyun			reg = <0x0 0x0 0x0 0x0 0x0>;
145*4882a593Smuzhiyun			#size-cells = <2>;
146*4882a593Smuzhiyun			#address-cells = <3>;
147*4882a593Smuzhiyun			ranges = <0x2000000 0x0 0xb0000000
148*4882a593Smuzhiyun				  0x2000000 0x0 0xb0000000
149*4882a593Smuzhiyun				  0x0 0x100000
150*4882a593Smuzhiyun
151*4882a593Smuzhiyun				  0x1000000 0x0 0x0
152*4882a593Smuzhiyun				  0x1000000 0x0 0x0
153*4882a593Smuzhiyun				  0x0 0x100000>;
154*4882a593Smuzhiyun			isa@1e {
155*4882a593Smuzhiyun				device_type = "isa";
156*4882a593Smuzhiyun				#interrupt-cells = <2>;
157*4882a593Smuzhiyun				#size-cells = <1>;
158*4882a593Smuzhiyun				#address-cells = <2>;
159*4882a593Smuzhiyun				reg = <0xf000 0x0 0x0 0x0 0x0>;
160*4882a593Smuzhiyun				ranges = <0x1 0x0 0x1000000 0x0 0x0
161*4882a593Smuzhiyun					  0x1000>;
162*4882a593Smuzhiyun				interrupt-parent = <&i8259>;
163*4882a593Smuzhiyun
164*4882a593Smuzhiyun				i8259: interrupt-controller@20 {
165*4882a593Smuzhiyun					reg = <0x1 0x20 0x2
166*4882a593Smuzhiyun					       0x1 0xa0 0x2
167*4882a593Smuzhiyun					       0x1 0x4d0 0x2>;
168*4882a593Smuzhiyun					interrupt-controller;
169*4882a593Smuzhiyun					device_type = "interrupt-controller";
170*4882a593Smuzhiyun					#address-cells = <0>;
171*4882a593Smuzhiyun					#interrupt-cells = <2>;
172*4882a593Smuzhiyun					compatible = "chrp,iic";
173*4882a593Smuzhiyun					interrupts = <9 2 0 0>;
174*4882a593Smuzhiyun					interrupt-parent = <&mpic>;
175*4882a593Smuzhiyun				};
176*4882a593Smuzhiyun
177*4882a593Smuzhiyun				i8042@60 {
178*4882a593Smuzhiyun					#size-cells = <0>;
179*4882a593Smuzhiyun					#address-cells = <1>;
180*4882a593Smuzhiyun					reg = <0x1 0x60 0x1 0x1 0x64 0x1>;
181*4882a593Smuzhiyun					interrupts = <1 3 12 3>;
182*4882a593Smuzhiyun					interrupt-parent =
183*4882a593Smuzhiyun						<&i8259>;
184*4882a593Smuzhiyun
185*4882a593Smuzhiyun					keyboard@0 {
186*4882a593Smuzhiyun						reg = <0x0>;
187*4882a593Smuzhiyun						compatible = "pnpPNP,303";
188*4882a593Smuzhiyun					};
189*4882a593Smuzhiyun
190*4882a593Smuzhiyun					mouse@1 {
191*4882a593Smuzhiyun						reg = <0x1>;
192*4882a593Smuzhiyun						compatible = "pnpPNP,f03";
193*4882a593Smuzhiyun					};
194*4882a593Smuzhiyun				};
195*4882a593Smuzhiyun
196*4882a593Smuzhiyun				rtc@70 {
197*4882a593Smuzhiyun					compatible = "pnpPNP,b00";
198*4882a593Smuzhiyun					reg = <0x1 0x70 0x2>;
199*4882a593Smuzhiyun				};
200*4882a593Smuzhiyun
201*4882a593Smuzhiyun				gpio@400 {
202*4882a593Smuzhiyun					reg = <0x1 0x400 0x80>;
203*4882a593Smuzhiyun				};
204*4882a593Smuzhiyun			};
205*4882a593Smuzhiyun		};
206*4882a593Smuzhiyun	};
207*4882a593Smuzhiyun};
208