xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/kmeter1.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * Keymile KMETER1 Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * 2008-2011 DENX Software Engineering GmbH
6*c66ec88fSEmmanuel Vadot */
7*c66ec88fSEmmanuel Vadot
8*c66ec88fSEmmanuel Vadot/dts-v1/;
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot/ {
11*c66ec88fSEmmanuel Vadot	model = "KMETER1";
12*c66ec88fSEmmanuel Vadot	compatible = "keymile,KMETER1";
13*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
14*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
15*c66ec88fSEmmanuel Vadot
16*c66ec88fSEmmanuel Vadot	aliases {
17*c66ec88fSEmmanuel Vadot		ethernet0 = &enet_piggy2;
18*c66ec88fSEmmanuel Vadot		ethernet1 = &enet_estar1;
19*c66ec88fSEmmanuel Vadot		ethernet2 = &enet_estar2;
20*c66ec88fSEmmanuel Vadot		ethernet3 = &enet_eth1;
21*c66ec88fSEmmanuel Vadot		ethernet4 = &enet_eth2;
22*c66ec88fSEmmanuel Vadot		ethernet5 = &enet_eth3;
23*c66ec88fSEmmanuel Vadot		ethernet6 = &enet_eth4;
24*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
25*c66ec88fSEmmanuel Vadot	};
26*c66ec88fSEmmanuel Vadot
27*c66ec88fSEmmanuel Vadot	cpus {
28*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
29*c66ec88fSEmmanuel Vadot		#size-cells = <0>;
30*c66ec88fSEmmanuel Vadot
31*c66ec88fSEmmanuel Vadot		PowerPC,8360@0 {
32*c66ec88fSEmmanuel Vadot			device_type = "cpu";
33*c66ec88fSEmmanuel Vadot			reg = <0x0>;
34*c66ec88fSEmmanuel Vadot			d-cache-line-size = <32>;	// 32 bytes
35*c66ec88fSEmmanuel Vadot			i-cache-line-size = <32>;	// 32 bytes
36*c66ec88fSEmmanuel Vadot			d-cache-size = <32768>;		// L1, 32K
37*c66ec88fSEmmanuel Vadot			i-cache-size = <32768>;		// L1, 32K
38*c66ec88fSEmmanuel Vadot			timebase-frequency = <0>;	/* Filled in by U-Boot */
39*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;	/* Filled in by U-Boot */
40*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;	/* Filled in by U-Boot */
41*c66ec88fSEmmanuel Vadot		};
42*c66ec88fSEmmanuel Vadot	};
43*c66ec88fSEmmanuel Vadot
44*c66ec88fSEmmanuel Vadot	memory {
45*c66ec88fSEmmanuel Vadot		device_type = "memory";
46*c66ec88fSEmmanuel Vadot		reg = <0 0>;	/* Filled in by U-Boot */
47*c66ec88fSEmmanuel Vadot	};
48*c66ec88fSEmmanuel Vadot
49*c66ec88fSEmmanuel Vadot	soc8360@e0000000 {
50*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
51*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
52*c66ec88fSEmmanuel Vadot		device_type = "soc";
53*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8360-immr", "simple-bus";
54*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xe0000000 0x00200000>;
55*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x00000200>;
56*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;	/* Filled in by U-Boot */
57*c66ec88fSEmmanuel Vadot
58*c66ec88fSEmmanuel Vadot		pmc: power@b00 {
59*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-pmc", "fsl,mpc8349-pmc";
60*c66ec88fSEmmanuel Vadot			reg = <0xb00 0x100 0xa00 0x100>;
61*c66ec88fSEmmanuel Vadot			interrupts = <80 0x8>;
62*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
63*c66ec88fSEmmanuel Vadot		};
64*c66ec88fSEmmanuel Vadot
65*c66ec88fSEmmanuel Vadot		i2c@3000 {
66*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
67*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
68*c66ec88fSEmmanuel Vadot			cell-index = <0>;
69*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8313-i2c","fsl-i2c";
70*c66ec88fSEmmanuel Vadot			reg = <0x3000 0x100>;
71*c66ec88fSEmmanuel Vadot			interrupts = <14 0x8>;
72*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
73*c66ec88fSEmmanuel Vadot			clock-frequency = <400000>;
74*c66ec88fSEmmanuel Vadot		};
75*c66ec88fSEmmanuel Vadot
76*c66ec88fSEmmanuel Vadot		serial0: serial@4500 {
77*c66ec88fSEmmanuel Vadot			cell-index = <0>;
78*c66ec88fSEmmanuel Vadot			device_type = "serial";
79*c66ec88fSEmmanuel Vadot			compatible = "fsl,ns16550", "ns16550";
80*c66ec88fSEmmanuel Vadot			reg = <0x4500 0x100>;
81*c66ec88fSEmmanuel Vadot			clock-frequency = <264000000>;
82*c66ec88fSEmmanuel Vadot			interrupts = <9 0x8>;
83*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
84*c66ec88fSEmmanuel Vadot		};
85*c66ec88fSEmmanuel Vadot
86*c66ec88fSEmmanuel Vadot		dma@82a8 {
87*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
88*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
89*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-dma", "fsl,elo-dma";
90*c66ec88fSEmmanuel Vadot			reg = <0x82a8 4>;
91*c66ec88fSEmmanuel Vadot			ranges = <0 0x8100 0x1a8>;
92*c66ec88fSEmmanuel Vadot			interrupt-parent = <&ipic>;
93*c66ec88fSEmmanuel Vadot			interrupts = <71 8>;
94*c66ec88fSEmmanuel Vadot			cell-index = <0>;
95*c66ec88fSEmmanuel Vadot			dma-channel@0 {
96*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
97*c66ec88fSEmmanuel Vadot				reg = <0 0x80>;
98*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
99*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
100*c66ec88fSEmmanuel Vadot			};
101*c66ec88fSEmmanuel Vadot			dma-channel@80 {
102*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
103*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
104*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
105*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
106*c66ec88fSEmmanuel Vadot			};
107*c66ec88fSEmmanuel Vadot			dma-channel@100 {
108*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
109*c66ec88fSEmmanuel Vadot				reg = <0x100 0x80>;
110*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
111*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
112*c66ec88fSEmmanuel Vadot			};
113*c66ec88fSEmmanuel Vadot			dma-channel@180 {
114*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-dma-channel", "fsl,elo-dma-channel";
115*c66ec88fSEmmanuel Vadot				reg = <0x180 0x28>;
116*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
117*c66ec88fSEmmanuel Vadot				interrupts = <71 8>;
118*c66ec88fSEmmanuel Vadot			};
119*c66ec88fSEmmanuel Vadot		};
120*c66ec88fSEmmanuel Vadot
121*c66ec88fSEmmanuel Vadot		ipic: pic@700 {
122*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
123*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
124*c66ec88fSEmmanuel Vadot			compatible = "fsl,pq2pro-pic", "fsl,ipic";
125*c66ec88fSEmmanuel Vadot			interrupt-controller;
126*c66ec88fSEmmanuel Vadot			reg = <0x700 0x100>;
127*c66ec88fSEmmanuel Vadot		};
128*c66ec88fSEmmanuel Vadot
129*c66ec88fSEmmanuel Vadot		par_io@1400 {
130*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
131*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
132*c66ec88fSEmmanuel Vadot			reg = <0x1400 0x100>;
133*c66ec88fSEmmanuel Vadot			compatible = "fsl,mpc8360-par_io";
134*c66ec88fSEmmanuel Vadot			num-ports = <7>;
135*c66ec88fSEmmanuel Vadot
136*c66ec88fSEmmanuel Vadot			qe_pio_c: gpio-controller@30 {
137*c66ec88fSEmmanuel Vadot				#gpio-cells = <2>;
138*c66ec88fSEmmanuel Vadot				compatible = "fsl,mpc8360-qe-pario-bank",
139*c66ec88fSEmmanuel Vadot					     "fsl,mpc8323-qe-pario-bank";
140*c66ec88fSEmmanuel Vadot				reg = <0x1430 0x18>;
141*c66ec88fSEmmanuel Vadot				gpio-controller;
142*c66ec88fSEmmanuel Vadot			};
143*c66ec88fSEmmanuel Vadot			pio_ucc1: ucc_pin@0 {
144*c66ec88fSEmmanuel Vadot				reg = <0>;
145*c66ec88fSEmmanuel Vadot
146*c66ec88fSEmmanuel Vadot				pio-map = <
147*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
148*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO   */
149*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC    */
150*c66ec88fSEmmanuel Vadot
151*c66ec88fSEmmanuel Vadot					0   3  1  0  1  0	/* TxD0   */
152*c66ec88fSEmmanuel Vadot					0   4  1  0  1  0	/* TxD1   */
153*c66ec88fSEmmanuel Vadot					0   5  1  0  1  0	/* TxD2   */
154*c66ec88fSEmmanuel Vadot					0   6  1  0  1  0	/* TxD3   */
155*c66ec88fSEmmanuel Vadot					0   9  2  0  1  0	/* RxD0   */
156*c66ec88fSEmmanuel Vadot					0  10  2  0  1  0	/* RxD1   */
157*c66ec88fSEmmanuel Vadot					0  11  2  0  1  0	/* RxD2   */
158*c66ec88fSEmmanuel Vadot					0  12  2  0  1  0	/* RxD3   */
159*c66ec88fSEmmanuel Vadot					0   7  1  0  1  0	/* TX_EN  */
160*c66ec88fSEmmanuel Vadot					0   8  1  0  1  0	/* TX_ER  */
161*c66ec88fSEmmanuel Vadot					0  15  2  0  1  0	/* RX_DV  */
162*c66ec88fSEmmanuel Vadot					0  16  2  0  1  0	/* RX_ER  */
163*c66ec88fSEmmanuel Vadot					0   0  2  0  1  0	/* RX_CLK */
164*c66ec88fSEmmanuel Vadot					2   9  1  0  3  0	/* GTX_CLK - CLK10 */
165*c66ec88fSEmmanuel Vadot					2   8  2  0  1  0	/* GTX125  - CLK9  */
166*c66ec88fSEmmanuel Vadot				>;
167*c66ec88fSEmmanuel Vadot			};
168*c66ec88fSEmmanuel Vadot
169*c66ec88fSEmmanuel Vadot			pio_ucc2: ucc_pin@1 {
170*c66ec88fSEmmanuel Vadot				reg = <1>;
171*c66ec88fSEmmanuel Vadot
172*c66ec88fSEmmanuel Vadot				pio-map = <
173*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
174*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO   */
175*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC    */
176*c66ec88fSEmmanuel Vadot
177*c66ec88fSEmmanuel Vadot					0  17  1  0  1  0	/* TxD0   */
178*c66ec88fSEmmanuel Vadot					0  18  1  0  1  0	/* TxD1   */
179*c66ec88fSEmmanuel Vadot					0  19  1  0  1  0	/* TxD2   */
180*c66ec88fSEmmanuel Vadot					0  20  1  0  1  0	/* TxD3   */
181*c66ec88fSEmmanuel Vadot					0  23  2  0  1  0	/* RxD0   */
182*c66ec88fSEmmanuel Vadot					0  24  2  0  1  0	/* RxD1   */
183*c66ec88fSEmmanuel Vadot					0  25  2  0  1  0	/* RxD2   */
184*c66ec88fSEmmanuel Vadot					0  26  2  0  1  0	/* RxD3   */
185*c66ec88fSEmmanuel Vadot					0  21  1  0  1  0	/* TX_EN  */
186*c66ec88fSEmmanuel Vadot					0  22  1  0  1  0	/* TX_ER  */
187*c66ec88fSEmmanuel Vadot					0  29  2  0  1  0	/* RX_DV  */
188*c66ec88fSEmmanuel Vadot					0  30  2  0  1  0	/* RX_ER  */
189*c66ec88fSEmmanuel Vadot					0  31  2  0  1  0	/* RX_CLK */
190*c66ec88fSEmmanuel Vadot					2  2   1  0  2  0	/* GTX_CLK - CLK3  */
191*c66ec88fSEmmanuel Vadot					2  3   2  0  1  0	/* GTX125  - CLK4  */
192*c66ec88fSEmmanuel Vadot				>;
193*c66ec88fSEmmanuel Vadot			};
194*c66ec88fSEmmanuel Vadot
195*c66ec88fSEmmanuel Vadot			pio_ucc4: ucc_pin@3 {
196*c66ec88fSEmmanuel Vadot				reg = <3>;
197*c66ec88fSEmmanuel Vadot
198*c66ec88fSEmmanuel Vadot				pio-map = <
199*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
200*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO */
201*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC  */
202*c66ec88fSEmmanuel Vadot
203*c66ec88fSEmmanuel Vadot					1  14  1  0  1  0	/* TxD0   (PB14, out, f1) */
204*c66ec88fSEmmanuel Vadot					1  15  1  0  1  0	/* TxD1   (PB15, out, f1) */
205*c66ec88fSEmmanuel Vadot					1  20  2  0  1  0	/* RxD0   (PB20, in,  f1) */
206*c66ec88fSEmmanuel Vadot					1  21  2  0  1  0	/* RxD1   (PB21, in,  f1) */
207*c66ec88fSEmmanuel Vadot					1  18  1  0  1  0	/* TX_EN  (PB18, out, f1) */
208*c66ec88fSEmmanuel Vadot					1  26  2  0  1  0	/* RX_DV  (PB26, in,  f1) */
209*c66ec88fSEmmanuel Vadot					1  27  2  0  1  0	/* RX_ER  (PB27, in,  f1) */
210*c66ec88fSEmmanuel Vadot
211*c66ec88fSEmmanuel Vadot					2  16  2  0  1  0	/* UCC4_RMII_CLK (CLK17) */
212*c66ec88fSEmmanuel Vadot				>;
213*c66ec88fSEmmanuel Vadot			};
214*c66ec88fSEmmanuel Vadot
215*c66ec88fSEmmanuel Vadot			pio_ucc5: ucc_pin@4 {
216*c66ec88fSEmmanuel Vadot				reg = <4>;
217*c66ec88fSEmmanuel Vadot
218*c66ec88fSEmmanuel Vadot				pio-map = <
219*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
220*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO */
221*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC  */
222*c66ec88fSEmmanuel Vadot
223*c66ec88fSEmmanuel Vadot					3   0  1  0  1  0	/* TxD0  (PD0,  out, f1) */
224*c66ec88fSEmmanuel Vadot					3   1  1  0  1  0	/* TxD1  (PD1,  out, f1) */
225*c66ec88fSEmmanuel Vadot					3   6  2  0  1  0	/* RxD0  (PD6,   in, f1) */
226*c66ec88fSEmmanuel Vadot					3   7  2  0  1  0	/* RxD1  (PD7,   in, f1) */
227*c66ec88fSEmmanuel Vadot					3   4  1  0  1  0	/* TX_EN (PD4,  out, f1) */
228*c66ec88fSEmmanuel Vadot					3  12  2  0  1  0	/* RX_DV (PD12,  in, f1) */
229*c66ec88fSEmmanuel Vadot					3  13  2  0  1  0	/* RX_ER (PD13,  in, f1) */
230*c66ec88fSEmmanuel Vadot				>;
231*c66ec88fSEmmanuel Vadot			};
232*c66ec88fSEmmanuel Vadot
233*c66ec88fSEmmanuel Vadot			pio_ucc6: ucc_pin@5 {
234*c66ec88fSEmmanuel Vadot				reg = <5>;
235*c66ec88fSEmmanuel Vadot
236*c66ec88fSEmmanuel Vadot				pio-map = <
237*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
238*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO */
239*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC  */
240*c66ec88fSEmmanuel Vadot
241*c66ec88fSEmmanuel Vadot					3  14  1  0  1  0	/* TxD0   (PD14, out, f1) */
242*c66ec88fSEmmanuel Vadot					3  15  1  0  1  0	/* TxD1   (PD15, out, f1) */
243*c66ec88fSEmmanuel Vadot					3  20  2  0  1  0	/* RxD0   (PD20, in,  f1) */
244*c66ec88fSEmmanuel Vadot					3  21  2  0  1  0	/* RxD1   (PD21, in,  f1) */
245*c66ec88fSEmmanuel Vadot					3  18  1  0  1  0	/* TX_EN  (PD18, out, f1) */
246*c66ec88fSEmmanuel Vadot					3  26  2  0  1  0	/* RX_DV  (PD26, in,  f1) */
247*c66ec88fSEmmanuel Vadot					3  27  2  0  1  0	/* RX_ER  (PD27, in,  f1) */
248*c66ec88fSEmmanuel Vadot				>;
249*c66ec88fSEmmanuel Vadot			};
250*c66ec88fSEmmanuel Vadot
251*c66ec88fSEmmanuel Vadot			pio_ucc7: ucc_pin@6 {
252*c66ec88fSEmmanuel Vadot				reg = <6>;
253*c66ec88fSEmmanuel Vadot
254*c66ec88fSEmmanuel Vadot				pio-map = <
255*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
256*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO */
257*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC  */
258*c66ec88fSEmmanuel Vadot
259*c66ec88fSEmmanuel Vadot					4   0  1  0  1  0	/* TxD0   (PE0,  out, f1) */
260*c66ec88fSEmmanuel Vadot					4   1  1  0  1  0	/* TxD1   (PE1,  out, f1) */
261*c66ec88fSEmmanuel Vadot					4   6  2  0  1  0	/* RxD0   (PE6,   in, f1) */
262*c66ec88fSEmmanuel Vadot					4   7  2  0  1  0	/* RxD1   (PE7,   in, f1) */
263*c66ec88fSEmmanuel Vadot					4   4  1  0  1  0	/* TX_EN  (PE4,  out, f1) */
264*c66ec88fSEmmanuel Vadot					4  12  2  0  1  0	/* RX_DV  (PE12,  in, f1) */
265*c66ec88fSEmmanuel Vadot					4  13  2  0  1  0	/* RX_ER  (PE13,  in, f1) */
266*c66ec88fSEmmanuel Vadot				>;
267*c66ec88fSEmmanuel Vadot			};
268*c66ec88fSEmmanuel Vadot
269*c66ec88fSEmmanuel Vadot			pio_ucc8: ucc_pin@7 {
270*c66ec88fSEmmanuel Vadot				reg = <7>;
271*c66ec88fSEmmanuel Vadot
272*c66ec88fSEmmanuel Vadot				pio-map = <
273*c66ec88fSEmmanuel Vadot					/* port pin dir open_drain assignment has_irq */
274*c66ec88fSEmmanuel Vadot					0   1  3  0  2  0	/* MDIO */
275*c66ec88fSEmmanuel Vadot					0   2  1  0  1  0	/* MDC  */
276*c66ec88fSEmmanuel Vadot
277*c66ec88fSEmmanuel Vadot					4  14  1  0  2  0	/* TxD0   (PE14, out, f2) */
278*c66ec88fSEmmanuel Vadot					4  15  1  0  1  0	/* TxD1   (PE15, out, f1) */
279*c66ec88fSEmmanuel Vadot					4  20  2  0  1  0	/* RxD0   (PE20, in,  f1) */
280*c66ec88fSEmmanuel Vadot					4  21  2  0  1  0	/* RxD1   (PE21, in,  f1) */
281*c66ec88fSEmmanuel Vadot					4  18  1  0  1  0	/* TX_EN  (PE18, out, f1) */
282*c66ec88fSEmmanuel Vadot					4  26  2  0  1  0	/* RX_DV  (PE26, in,  f1) */
283*c66ec88fSEmmanuel Vadot					4  27  2  0  1  0	/* RX_ER  (PE27, in,  f1) */
284*c66ec88fSEmmanuel Vadot
285*c66ec88fSEmmanuel Vadot					2  15  2  0  1  0	/* UCCx_RMII_CLK (CLK16) */
286*c66ec88fSEmmanuel Vadot				>;
287*c66ec88fSEmmanuel Vadot			};
288*c66ec88fSEmmanuel Vadot
289*c66ec88fSEmmanuel Vadot		};
290*c66ec88fSEmmanuel Vadot
291*c66ec88fSEmmanuel Vadot		qe@100000 {
292*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
293*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
294*c66ec88fSEmmanuel Vadot			compatible = "fsl,qe";
295*c66ec88fSEmmanuel Vadot			ranges = <0x0 0x100000 0x100000>;
296*c66ec88fSEmmanuel Vadot			reg = <0x100000 0x480>;
297*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;	/* Filled in by U-Boot */
298*c66ec88fSEmmanuel Vadot			brg-frequency = <0>;	/* Filled in by U-Boot */
299*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;	/* Filled in by U-Boot */
300*c66ec88fSEmmanuel Vadot
301*c66ec88fSEmmanuel Vadot			muram@10000 {
302*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
303*c66ec88fSEmmanuel Vadot				#size-cells = <1>;
304*c66ec88fSEmmanuel Vadot				compatible = "fsl,qe-muram", "fsl,cpm-muram";
305*c66ec88fSEmmanuel Vadot				ranges = <0x0 0x00010000 0x0000c000>;
306*c66ec88fSEmmanuel Vadot
307*c66ec88fSEmmanuel Vadot				data-only@0 {
308*c66ec88fSEmmanuel Vadot					compatible = "fsl,qe-muram-data",
309*c66ec88fSEmmanuel Vadot						     "fsl,cpm-muram-data";
310*c66ec88fSEmmanuel Vadot					reg = <0x0 0xc000>;
311*c66ec88fSEmmanuel Vadot				};
312*c66ec88fSEmmanuel Vadot			};
313*c66ec88fSEmmanuel Vadot
314*c66ec88fSEmmanuel Vadot			/* ESTAR-1 (UCC1, MDIO 0x10, RGMII) */
315*c66ec88fSEmmanuel Vadot			enet_estar1: ucc@2000 {
316*c66ec88fSEmmanuel Vadot				device_type = "network";
317*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
318*c66ec88fSEmmanuel Vadot				cell-index = <1>;
319*c66ec88fSEmmanuel Vadot				reg = <0x2000 0x200>;
320*c66ec88fSEmmanuel Vadot				interrupts = <32>;
321*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
322*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
323*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
324*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk9";
325*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_estar1>;
326*c66ec88fSEmmanuel Vadot				phy-connection-type = "rgmii-id";
327*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc1>;
328*c66ec88fSEmmanuel Vadot			};
329*c66ec88fSEmmanuel Vadot
330*c66ec88fSEmmanuel Vadot			/* ESTAR-2 (UCC2, MDIO 0x11, RGMII) */
331*c66ec88fSEmmanuel Vadot			enet_estar2: ucc@3000 {
332*c66ec88fSEmmanuel Vadot				device_type = "network";
333*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
334*c66ec88fSEmmanuel Vadot				cell-index = <2>;
335*c66ec88fSEmmanuel Vadot				reg = <0x3000 0x200>;
336*c66ec88fSEmmanuel Vadot				interrupts = <33>;
337*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
338*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
339*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
340*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk4";
341*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_estar2>;
342*c66ec88fSEmmanuel Vadot				phy-connection-type = "rgmii-id";
343*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc2>;
344*c66ec88fSEmmanuel Vadot			};
345*c66ec88fSEmmanuel Vadot
346*c66ec88fSEmmanuel Vadot			/* Piggy2 (UCC4, MDIO 0x00, RMII) */
347*c66ec88fSEmmanuel Vadot			enet_piggy2: ucc@3200 {
348*c66ec88fSEmmanuel Vadot				device_type = "network";
349*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
350*c66ec88fSEmmanuel Vadot				cell-index = <4>;
351*c66ec88fSEmmanuel Vadot				reg = <0x3200 0x200>;
352*c66ec88fSEmmanuel Vadot				interrupts = <35>;
353*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
354*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
355*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
356*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk17";
357*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_piggy2>;
358*c66ec88fSEmmanuel Vadot				phy-connection-type = "rmii";
359*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc4>;
360*c66ec88fSEmmanuel Vadot			};
361*c66ec88fSEmmanuel Vadot
362*c66ec88fSEmmanuel Vadot			/* Eth-1 (UCC5, MDIO 0x08, RMII) */
363*c66ec88fSEmmanuel Vadot			enet_eth1: ucc@2400 {
364*c66ec88fSEmmanuel Vadot				device_type = "network";
365*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
366*c66ec88fSEmmanuel Vadot				cell-index = <5>;
367*c66ec88fSEmmanuel Vadot				reg = <0x2400 0x200>;
368*c66ec88fSEmmanuel Vadot				interrupts = <40>;
369*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
370*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
371*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
372*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk16";
373*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_eth1>;
374*c66ec88fSEmmanuel Vadot				phy-connection-type = "rmii";
375*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc5>;
376*c66ec88fSEmmanuel Vadot			};
377*c66ec88fSEmmanuel Vadot
378*c66ec88fSEmmanuel Vadot			/* Eth-2 (UCC6, MDIO 0x09, RMII) */
379*c66ec88fSEmmanuel Vadot			enet_eth2: ucc@3400 {
380*c66ec88fSEmmanuel Vadot				device_type = "network";
381*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
382*c66ec88fSEmmanuel Vadot				cell-index = <6>;
383*c66ec88fSEmmanuel Vadot				reg = <0x3400 0x200>;
384*c66ec88fSEmmanuel Vadot				interrupts = <41>;
385*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
386*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
387*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
388*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk16";
389*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_eth2>;
390*c66ec88fSEmmanuel Vadot				phy-connection-type = "rmii";
391*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc6>;
392*c66ec88fSEmmanuel Vadot			};
393*c66ec88fSEmmanuel Vadot
394*c66ec88fSEmmanuel Vadot			/* Eth-3 (UCC7, MDIO 0x0a, RMII) */
395*c66ec88fSEmmanuel Vadot			enet_eth3: ucc@2600 {
396*c66ec88fSEmmanuel Vadot				device_type = "network";
397*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
398*c66ec88fSEmmanuel Vadot				cell-index = <7>;
399*c66ec88fSEmmanuel Vadot				reg = <0x2600 0x200>;
400*c66ec88fSEmmanuel Vadot				interrupts = <42>;
401*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
402*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
403*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
404*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk16";
405*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_eth3>;
406*c66ec88fSEmmanuel Vadot				phy-connection-type = "rmii";
407*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc7>;
408*c66ec88fSEmmanuel Vadot			};
409*c66ec88fSEmmanuel Vadot
410*c66ec88fSEmmanuel Vadot			/* Eth-4 (UCC8, MDIO 0x0b, RMII) */
411*c66ec88fSEmmanuel Vadot			enet_eth4: ucc@3600 {
412*c66ec88fSEmmanuel Vadot				device_type = "network";
413*c66ec88fSEmmanuel Vadot				compatible = "ucc_geth";
414*c66ec88fSEmmanuel Vadot				cell-index = <8>;
415*c66ec88fSEmmanuel Vadot				reg = <0x3600 0x200>;
416*c66ec88fSEmmanuel Vadot				interrupts = <43>;
417*c66ec88fSEmmanuel Vadot				interrupt-parent = <&qeic>;
418*c66ec88fSEmmanuel Vadot				local-mac-address = [ 00 00 00 00 00 00 ];
419*c66ec88fSEmmanuel Vadot				rx-clock-name = "none";
420*c66ec88fSEmmanuel Vadot				tx-clock-name = "clk16";
421*c66ec88fSEmmanuel Vadot				phy-handle = <&phy_eth4>;
422*c66ec88fSEmmanuel Vadot				phy-connection-type = "rmii";
423*c66ec88fSEmmanuel Vadot				pio-handle = <&pio_ucc8>;
424*c66ec88fSEmmanuel Vadot			};
425*c66ec88fSEmmanuel Vadot
426*c66ec88fSEmmanuel Vadot			mdio@3320 {
427*c66ec88fSEmmanuel Vadot				#address-cells = <1>;
428*c66ec88fSEmmanuel Vadot				#size-cells = <0>;
429*c66ec88fSEmmanuel Vadot				reg = <0x3320 0x18>;
430*c66ec88fSEmmanuel Vadot				compatible = "fsl,ucc-mdio";
431*c66ec88fSEmmanuel Vadot
432*c66ec88fSEmmanuel Vadot				/* Piggy2 (UCC4, MDIO 0x00, RMII) */
433*c66ec88fSEmmanuel Vadot				phy_piggy2: ethernet-phy@0 {
434*c66ec88fSEmmanuel Vadot					reg = <0x0>;
435*c66ec88fSEmmanuel Vadot				};
436*c66ec88fSEmmanuel Vadot
437*c66ec88fSEmmanuel Vadot				/* Eth-1 (UCC5, MDIO 0x08, RMII) */
438*c66ec88fSEmmanuel Vadot				phy_eth1: ethernet-phy@8 {
439*c66ec88fSEmmanuel Vadot					reg = <0x08>;
440*c66ec88fSEmmanuel Vadot				};
441*c66ec88fSEmmanuel Vadot
442*c66ec88fSEmmanuel Vadot				/* Eth-2 (UCC6, MDIO 0x09, RMII) */
443*c66ec88fSEmmanuel Vadot				phy_eth2: ethernet-phy@9 {
444*c66ec88fSEmmanuel Vadot					reg = <0x09>;
445*c66ec88fSEmmanuel Vadot				};
446*c66ec88fSEmmanuel Vadot
447*c66ec88fSEmmanuel Vadot				/* Eth-3 (UCC7, MDIO 0x0a, RMII) */
448*c66ec88fSEmmanuel Vadot				phy_eth3: ethernet-phy@a {
449*c66ec88fSEmmanuel Vadot					reg = <0x0a>;
450*c66ec88fSEmmanuel Vadot				};
451*c66ec88fSEmmanuel Vadot
452*c66ec88fSEmmanuel Vadot				/* Eth-4 (UCC8, MDIO 0x0b, RMII) */
453*c66ec88fSEmmanuel Vadot				phy_eth4: ethernet-phy@b {
454*c66ec88fSEmmanuel Vadot					reg = <0x0b>;
455*c66ec88fSEmmanuel Vadot				};
456*c66ec88fSEmmanuel Vadot
457*c66ec88fSEmmanuel Vadot				/* ESTAR-1 (UCC1, MDIO 0x10, RGMII) */
458*c66ec88fSEmmanuel Vadot				phy_estar1: ethernet-phy@10 {
459*c66ec88fSEmmanuel Vadot					interrupt-parent = <&ipic>;
460*c66ec88fSEmmanuel Vadot					interrupts = <17 0x8>;
461*c66ec88fSEmmanuel Vadot					reg = <0x10>;
462*c66ec88fSEmmanuel Vadot				};
463*c66ec88fSEmmanuel Vadot
464*c66ec88fSEmmanuel Vadot				/* ESTAR-2 (UCC2, MDIO 0x11, RGMII) */
465*c66ec88fSEmmanuel Vadot				phy_estar2: ethernet-phy@11 {
466*c66ec88fSEmmanuel Vadot					interrupt-parent = <&ipic>;
467*c66ec88fSEmmanuel Vadot					interrupts = <18 0x8>;
468*c66ec88fSEmmanuel Vadot					reg = <0x11>;
469*c66ec88fSEmmanuel Vadot				};
470*c66ec88fSEmmanuel Vadot			};
471*c66ec88fSEmmanuel Vadot
472*c66ec88fSEmmanuel Vadot			qeic: interrupt-controller@80 {
473*c66ec88fSEmmanuel Vadot				interrupt-controller;
474*c66ec88fSEmmanuel Vadot				compatible = "fsl,qe-ic";
475*c66ec88fSEmmanuel Vadot				#address-cells = <0>;
476*c66ec88fSEmmanuel Vadot				#interrupt-cells = <1>;
477*c66ec88fSEmmanuel Vadot				reg = <0x80 0x80>;
478*c66ec88fSEmmanuel Vadot				big-endian;
479*c66ec88fSEmmanuel Vadot				interrupts = <
480*c66ec88fSEmmanuel Vadot					32 0x8
481*c66ec88fSEmmanuel Vadot					33 0x8
482*c66ec88fSEmmanuel Vadot					34 0x8
483*c66ec88fSEmmanuel Vadot					35 0x8
484*c66ec88fSEmmanuel Vadot					40 0x8
485*c66ec88fSEmmanuel Vadot					41 0x8
486*c66ec88fSEmmanuel Vadot					42 0x8
487*c66ec88fSEmmanuel Vadot					43 0x8
488*c66ec88fSEmmanuel Vadot				>;
489*c66ec88fSEmmanuel Vadot				interrupt-parent = <&ipic>;
490*c66ec88fSEmmanuel Vadot			};
491*c66ec88fSEmmanuel Vadot		};
492*c66ec88fSEmmanuel Vadot	};
493*c66ec88fSEmmanuel Vadot
494*c66ec88fSEmmanuel Vadot	localbus@e0005000 {
495*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
496*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
497*c66ec88fSEmmanuel Vadot		compatible = "fsl,mpc8360-localbus", "fsl,pq2pro-localbus",
498*c66ec88fSEmmanuel Vadot			     "simple-bus";
499*c66ec88fSEmmanuel Vadot		reg = <0xe0005000 0xd8>;
500*c66ec88fSEmmanuel Vadot		ranges = <0 0 0xf0000000 0x04000000	/* LB 0 */
501*c66ec88fSEmmanuel Vadot			  1 0 0xe8000000 0x01000000	/* LB 1 */
502*c66ec88fSEmmanuel Vadot			  3 0 0xa0000000 0x10000000>;	/* LB 3 */
503*c66ec88fSEmmanuel Vadot
504*c66ec88fSEmmanuel Vadot		flash@0,0 {
505*c66ec88fSEmmanuel Vadot			compatible = "cfi-flash";
506*c66ec88fSEmmanuel Vadot			reg = <0 0 0x04000000>;
507*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
508*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
509*c66ec88fSEmmanuel Vadot			bank-width = <2>;
510*c66ec88fSEmmanuel Vadot			partition@0 { /* 768KB */
511*c66ec88fSEmmanuel Vadot				label = "u-boot";
512*c66ec88fSEmmanuel Vadot				reg = <0 0xC0000>;
513*c66ec88fSEmmanuel Vadot			};
514*c66ec88fSEmmanuel Vadot			partition@c0000 { /* 128KB */
515*c66ec88fSEmmanuel Vadot				label = "env";
516*c66ec88fSEmmanuel Vadot				reg = <0xC0000 0x20000>;
517*c66ec88fSEmmanuel Vadot			};
518*c66ec88fSEmmanuel Vadot			partition@e0000 { /* 128KB */
519*c66ec88fSEmmanuel Vadot				label = "envred";
520*c66ec88fSEmmanuel Vadot				reg = <0xE0000 0x20000>;
521*c66ec88fSEmmanuel Vadot			};
522*c66ec88fSEmmanuel Vadot			partition@100000 { /* 64512KB */
523*c66ec88fSEmmanuel Vadot				label = "ubi0";
524*c66ec88fSEmmanuel Vadot				reg = <0x100000 0x3F00000>;
525*c66ec88fSEmmanuel Vadot			};
526*c66ec88fSEmmanuel Vadot		};
527*c66ec88fSEmmanuel Vadot	};
528*c66ec88fSEmmanuel Vadot};
529