xref: /freebsd-src/sys/contrib/device-tree/src/powerpc/mpc7448hpc2.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * MPC7448HPC2 (Taiga) board Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2006, 2008 Freescale Semiconductor Inc.
6*c66ec88fSEmmanuel Vadot * 2006 Roy Zang <Roy Zang at freescale.com>.
7*c66ec88fSEmmanuel Vadot */
8*c66ec88fSEmmanuel Vadot
9*c66ec88fSEmmanuel Vadot/dts-v1/;
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot/ {
12*c66ec88fSEmmanuel Vadot	model = "mpc7448hpc2";
13*c66ec88fSEmmanuel Vadot	compatible = "mpc74xx";
14*c66ec88fSEmmanuel Vadot	#address-cells = <1>;
15*c66ec88fSEmmanuel Vadot	#size-cells = <1>;
16*c66ec88fSEmmanuel Vadot
17*c66ec88fSEmmanuel Vadot	aliases {
18*c66ec88fSEmmanuel Vadot		ethernet0 = &enet0;
19*c66ec88fSEmmanuel Vadot		ethernet1 = &enet1;
20*c66ec88fSEmmanuel Vadot
21*c66ec88fSEmmanuel Vadot		serial0 = &serial0;
22*c66ec88fSEmmanuel Vadot		serial1 = &serial1;
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot		pci0 = &pci0;
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,7448@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 = <0x8000>;		// L1, 32K bytes
37*c66ec88fSEmmanuel Vadot			i-cache-size = <0x8000>;		// L1, 32K bytes
38*c66ec88fSEmmanuel Vadot			timebase-frequency = <0>;	// 33 MHz, from uboot
39*c66ec88fSEmmanuel Vadot			clock-frequency = <0>;		// From U-Boot
40*c66ec88fSEmmanuel Vadot			bus-frequency = <0>;		// From 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 = <0x0 0x20000000	// DDR2   512M at 0
47*c66ec88fSEmmanuel Vadot		       >;
48*c66ec88fSEmmanuel Vadot	};
49*c66ec88fSEmmanuel Vadot
50*c66ec88fSEmmanuel Vadot  	tsi108@c0000000 {
51*c66ec88fSEmmanuel Vadot		#address-cells = <1>;
52*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
53*c66ec88fSEmmanuel Vadot		device_type = "tsi-bridge";
54*c66ec88fSEmmanuel Vadot		ranges = <0x0 0xc0000000 0x10000>;
55*c66ec88fSEmmanuel Vadot		reg = <0xc0000000 0x10000>;
56*c66ec88fSEmmanuel Vadot		bus-frequency = <0>;
57*c66ec88fSEmmanuel Vadot
58*c66ec88fSEmmanuel Vadot		i2c@7000 {
59*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
60*c66ec88fSEmmanuel Vadot			interrupts = <14 0>;
61*c66ec88fSEmmanuel Vadot			reg = <0x7000 0x400>;
62*c66ec88fSEmmanuel Vadot			device_type = "i2c";
63*c66ec88fSEmmanuel Vadot			compatible  = "tsi108-i2c";
64*c66ec88fSEmmanuel Vadot		};
65*c66ec88fSEmmanuel Vadot
66*c66ec88fSEmmanuel Vadot		MDIO: mdio@6000 {
67*c66ec88fSEmmanuel Vadot			compatible = "tsi108-mdio";
68*c66ec88fSEmmanuel Vadot			reg = <0x6000 0x50>;
69*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
70*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot			phy8: ethernet-phy@8 {
73*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
74*c66ec88fSEmmanuel Vadot				interrupts = <2 1>;
75*c66ec88fSEmmanuel Vadot				reg = <0x8>;
76*c66ec88fSEmmanuel Vadot			};
77*c66ec88fSEmmanuel Vadot
78*c66ec88fSEmmanuel Vadot			phy9: ethernet-phy@9 {
79*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
80*c66ec88fSEmmanuel Vadot				interrupts = <2 1>;
81*c66ec88fSEmmanuel Vadot				reg = <0x9>;
82*c66ec88fSEmmanuel Vadot			};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadot		};
85*c66ec88fSEmmanuel Vadot
86*c66ec88fSEmmanuel Vadot		enet0: ethernet@6200 {
87*c66ec88fSEmmanuel Vadot			linux,network-index = <0>;
88*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
89*c66ec88fSEmmanuel Vadot			device_type = "network";
90*c66ec88fSEmmanuel Vadot			compatible = "tsi108-ethernet";
91*c66ec88fSEmmanuel Vadot			reg = <0x6000 0x200>;
92*c66ec88fSEmmanuel Vadot			address = [ 00 06 D2 00 00 01 ];
93*c66ec88fSEmmanuel Vadot			interrupts = <16 2>;
94*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
95*c66ec88fSEmmanuel Vadot			mdio-handle = <&MDIO>;
96*c66ec88fSEmmanuel Vadot			phy-handle = <&phy8>;
97*c66ec88fSEmmanuel Vadot		};
98*c66ec88fSEmmanuel Vadot
99*c66ec88fSEmmanuel Vadot		enet1: ethernet@6600 {
100*c66ec88fSEmmanuel Vadot			linux,network-index = <1>;
101*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
102*c66ec88fSEmmanuel Vadot			#size-cells = <0>;
103*c66ec88fSEmmanuel Vadot			device_type = "network";
104*c66ec88fSEmmanuel Vadot			compatible = "tsi108-ethernet";
105*c66ec88fSEmmanuel Vadot			reg = <0x6400 0x200>;
106*c66ec88fSEmmanuel Vadot			address = [ 00 06 D2 00 00 02 ];
107*c66ec88fSEmmanuel Vadot			interrupts = <17 2>;
108*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
109*c66ec88fSEmmanuel Vadot			mdio-handle = <&MDIO>;
110*c66ec88fSEmmanuel Vadot			phy-handle = <&phy9>;
111*c66ec88fSEmmanuel Vadot		};
112*c66ec88fSEmmanuel Vadot
113*c66ec88fSEmmanuel Vadot		serial0: serial@7808 {
114*c66ec88fSEmmanuel Vadot			device_type = "serial";
115*c66ec88fSEmmanuel Vadot			compatible = "ns16550";
116*c66ec88fSEmmanuel Vadot			reg = <0x7808 0x200>;
117*c66ec88fSEmmanuel Vadot			clock-frequency = <1064000000>;
118*c66ec88fSEmmanuel Vadot			interrupts = <12 0>;
119*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
120*c66ec88fSEmmanuel Vadot		};
121*c66ec88fSEmmanuel Vadot
122*c66ec88fSEmmanuel Vadot		serial1: serial@7c08 {
123*c66ec88fSEmmanuel Vadot			device_type = "serial";
124*c66ec88fSEmmanuel Vadot			compatible = "ns16550";
125*c66ec88fSEmmanuel Vadot			reg = <0x7c08 0x200>;
126*c66ec88fSEmmanuel Vadot			clock-frequency = <1064000000>;
127*c66ec88fSEmmanuel Vadot			interrupts = <13 0>;
128*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
129*c66ec88fSEmmanuel Vadot		};
130*c66ec88fSEmmanuel Vadot
131*c66ec88fSEmmanuel Vadot	  	mpic: pic@7400 {
132*c66ec88fSEmmanuel Vadot			interrupt-controller;
133*c66ec88fSEmmanuel Vadot			#address-cells = <0>;
134*c66ec88fSEmmanuel Vadot			#interrupt-cells = <2>;
135*c66ec88fSEmmanuel Vadot			reg = <0x7400 0x400>;
136*c66ec88fSEmmanuel Vadot			compatible = "chrp,open-pic";
137*c66ec88fSEmmanuel Vadot			device_type = "open-pic";
138*c66ec88fSEmmanuel Vadot		};
139*c66ec88fSEmmanuel Vadot		pci0: pci@1000 {
140*c66ec88fSEmmanuel Vadot			compatible = "tsi108-pci";
141*c66ec88fSEmmanuel Vadot			device_type = "pci";
142*c66ec88fSEmmanuel Vadot			#interrupt-cells = <1>;
143*c66ec88fSEmmanuel Vadot			#size-cells = <2>;
144*c66ec88fSEmmanuel Vadot			#address-cells = <3>;
145*c66ec88fSEmmanuel Vadot			reg = <0x1000 0x1000>;
146*c66ec88fSEmmanuel Vadot			bus-range = <0 0>;
147*c66ec88fSEmmanuel Vadot			ranges = <0x2000000 0x0 0xe0000000 0xe0000000 0x0 0x1a000000
148*c66ec88fSEmmanuel Vadot				  0x1000000 0x0 0x0 0xfa000000 0x0 0x10000>;
149*c66ec88fSEmmanuel Vadot			clock-frequency = <133333332>;
150*c66ec88fSEmmanuel Vadot			interrupt-parent = <&mpic>;
151*c66ec88fSEmmanuel Vadot			interrupts = <23 2>;
152*c66ec88fSEmmanuel Vadot			interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
153*c66ec88fSEmmanuel Vadot			interrupt-map = <
154*c66ec88fSEmmanuel Vadot
155*c66ec88fSEmmanuel Vadot				/* IDSEL 0x11 */
156*c66ec88fSEmmanuel Vadot				0x800 0x0 0x0 0x1 &RT0 0x24 0x0
157*c66ec88fSEmmanuel Vadot				0x800 0x0 0x0 0x2 &RT0 0x25 0x0
158*c66ec88fSEmmanuel Vadot				0x800 0x0 0x0 0x3 &RT0 0x26 0x0
159*c66ec88fSEmmanuel Vadot				0x800 0x0 0x0 0x4 &RT0 0x27 0x0
160*c66ec88fSEmmanuel Vadot
161*c66ec88fSEmmanuel Vadot				/* IDSEL 0x12 */
162*c66ec88fSEmmanuel Vadot				0x1000 0x0 0x0 0x1 &RT0 0x25 0x0
163*c66ec88fSEmmanuel Vadot				0x1000 0x0 0x0 0x2 &RT0 0x26 0x0
164*c66ec88fSEmmanuel Vadot				0x1000 0x0 0x0 0x3 &RT0 0x27 0x0
165*c66ec88fSEmmanuel Vadot				0x1000 0x0 0x0 0x4 &RT0 0x24 0x0
166*c66ec88fSEmmanuel Vadot
167*c66ec88fSEmmanuel Vadot				/* IDSEL 0x13 */
168*c66ec88fSEmmanuel Vadot				0x1800 0x0 0x0 0x1 &RT0 0x26 0x0
169*c66ec88fSEmmanuel Vadot				0x1800 0x0 0x0 0x2 &RT0 0x27 0x0
170*c66ec88fSEmmanuel Vadot				0x1800 0x0 0x0 0x3 &RT0 0x24 0x0
171*c66ec88fSEmmanuel Vadot				0x1800 0x0 0x0 0x4 &RT0 0x25 0x0
172*c66ec88fSEmmanuel Vadot
173*c66ec88fSEmmanuel Vadot				/* IDSEL 0x14 */
174*c66ec88fSEmmanuel Vadot				0x2000 0x0 0x0 0x1 &RT0 0x27 0x0
175*c66ec88fSEmmanuel Vadot				0x2000 0x0 0x0 0x2 &RT0 0x24 0x0
176*c66ec88fSEmmanuel Vadot				0x2000 0x0 0x0 0x3 &RT0 0x25 0x0
177*c66ec88fSEmmanuel Vadot				0x2000 0x0 0x0 0x4 &RT0 0x26 0x0
178*c66ec88fSEmmanuel Vadot				>;
179*c66ec88fSEmmanuel Vadot
180*c66ec88fSEmmanuel Vadot			RT0: router@1180 {
181*c66ec88fSEmmanuel Vadot				clock-frequency = <0>;
182*c66ec88fSEmmanuel Vadot				interrupt-controller;
183*c66ec88fSEmmanuel Vadot				device_type = "pic-router";
184*c66ec88fSEmmanuel Vadot				#address-cells = <0>;
185*c66ec88fSEmmanuel Vadot				#interrupt-cells = <2>;
186*c66ec88fSEmmanuel Vadot				big-endian;
187*c66ec88fSEmmanuel Vadot				interrupts = <23 2>;
188*c66ec88fSEmmanuel Vadot				interrupt-parent = <&mpic>;
189*c66ec88fSEmmanuel Vadot			};
190*c66ec88fSEmmanuel Vadot		};
191*c66ec88fSEmmanuel Vadot	};
192*c66ec88fSEmmanuel Vadot};
193