blob: 8fb5423874365da12ca167cb5fbe10c11bbbdae8 [file] [log] [blame]
Zang Roy-r619114b3afca2006-08-25 16:43:25 +08001/*
2 * MPC7448HPC2 (Taiga) board Device Tree Source
3 *
4 * Copyright 2006 Freescale Semiconductor Inc.
5 * 2006 Roy Zang <Roy Zang at freescale.com>.
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the
9 * Free Software Foundation; either version 2 of the License, or (at your
10 * option) any later version.
11 */
12
13
14/ {
15 model = "mpc7448hpc2";
16 compatible = "mpc74xx";
17 #address-cells = <1>;
18 #size-cells = <1>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080019
20 cpus {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080021 #address-cells = <1>;
22 #size-cells =<0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080023
24 PowerPC,7448@0 {
25 device_type = "cpu";
26 reg = <0>;
27 d-cache-line-size = <20>; // 32 bytes
28 i-cache-line-size = <20>; // 32 bytes
29 d-cache-size = <8000>; // L1, 32K bytes
30 i-cache-size = <8000>; // L1, 32K bytes
31 timebase-frequency = <0>; // 33 MHz, from uboot
32 clock-frequency = <0>; // From U-Boot
33 bus-frequency = <0>; // From U-Boot
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080034 };
35 };
36
37 memory {
38 device_type = "memory";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080039 reg = <00000000 20000000 // DDR2 512M at 0
40 >;
41 };
42
43 tsi108@c0000000 {
44 #address-cells = <1>;
45 #size-cells = <1>;
Roy Zang006af9e2007-07-11 14:39:17 +080046 device_type = "tsi-bridge";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080047 ranges = <00000000 c0000000 00010000>;
48 reg = <c0000000 00010000>;
49 bus-frequency = <0>;
50
51 i2c@7000 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050052 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080053 interrupts = <E 0>;
54 reg = <7000 400>;
55 device_type = "i2c";
David Gibsone58ca3d2007-06-13 14:53:00 +100056 compatible = "tsi108-i2c";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080057 };
58
David Gibsone58ca3d2007-06-13 14:53:00 +100059 MDIO: mdio@6000 {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080060 device_type = "mdio";
David Gibsone58ca3d2007-06-13 14:53:00 +100061 compatible = "tsi108-mdio";
62 reg = <6000 50>;
63 #address-cells = <1>;
64 #size-cells = <0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080065
David Gibsone58ca3d2007-06-13 14:53:00 +100066 phy8: ethernet-phy@8 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050067 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080068 interrupts = <2 1>;
David Gibsone58ca3d2007-06-13 14:53:00 +100069 reg = <8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080070 };
71
David Gibsone58ca3d2007-06-13 14:53:00 +100072 phy9: ethernet-phy@9 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050073 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080074 interrupts = <2 1>;
David Gibsone58ca3d2007-06-13 14:53:00 +100075 reg = <9>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080076 };
77
78 };
79
80 ethernet@6200 {
Roy Zangc4e05bc2007-09-24 18:31:55 +080081 linux,network-index = <0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080082 #size-cells = <0>;
83 device_type = "network";
David Gibsone58ca3d2007-06-13 14:53:00 +100084 compatible = "tsi108-ethernet";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080085 reg = <6000 200>;
86 address = [ 00 06 D2 00 00 01 ];
87 interrupts = <10 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050088 interrupt-parent = <&mpic>;
David Gibsone58ca3d2007-06-13 14:53:00 +100089 mdio-handle = <&MDIO>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050090 phy-handle = <&phy8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080091 };
92
93 ethernet@6600 {
Roy Zangc4e05bc2007-09-24 18:31:55 +080094 linux,network-index = <1>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080095 #address-cells = <1>;
96 #size-cells = <0>;
97 device_type = "network";
David Gibsone58ca3d2007-06-13 14:53:00 +100098 compatible = "tsi108-ethernet";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080099 reg = <6400 200>;
100 address = [ 00 06 D2 00 00 02 ];
101 interrupts = <11 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500102 interrupt-parent = <&mpic>;
David Gibsone58ca3d2007-06-13 14:53:00 +1000103 mdio-handle = <&MDIO>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500104 phy-handle = <&phy9>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800105 };
106
107 serial@7808 {
108 device_type = "serial";
109 compatible = "ns16550";
110 reg = <7808 200>;
111 clock-frequency = <3f6b5a00>;
112 interrupts = <c 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500113 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800114 };
115
116 serial@7c08 {
117 device_type = "serial";
118 compatible = "ns16550";
119 reg = <7c08 200>;
120 clock-frequency = <3f6b5a00>;
121 interrupts = <d 0>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500122 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800123 };
124
Kumar Gala5c1992f2007-05-15 16:12:27 -0500125 mpic: pic@7400 {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800126 clock-frequency = <0>;
127 interrupt-controller;
128 #address-cells = <0>;
129 #interrupt-cells = <2>;
130 reg = <7400 400>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800131 compatible = "chrp,open-pic";
132 device_type = "open-pic";
133 big-endian;
134 };
135 pci@1000 {
David Gibsone58ca3d2007-06-13 14:53:00 +1000136 compatible = "tsi108-pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800137 device_type = "pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800138 #interrupt-cells = <1>;
139 #size-cells = <2>;
140 #address-cells = <3>;
141 reg = <1000 1000>;
142 bus-range = <0 0>;
143 ranges = <02000000 0 e0000000 e0000000 0 1A000000
144 01000000 0 00000000 fa000000 0 00010000>;
145 clock-frequency = <7f28154>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500146 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800147 interrupts = <17 2>;
148 interrupt-map-mask = <f800 0 0 7>;
149 interrupt-map = <
150
151 /* IDSEL 0x11 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500152 0800 0 0 1 &RT0 24 0
153 0800 0 0 2 &RT0 25 0
154 0800 0 0 3 &RT0 26 0
155 0800 0 0 4 &RT0 27 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800156
157 /* IDSEL 0x12 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500158 1000 0 0 1 &RT0 25 0
159 1000 0 0 2 &RT0 26 0
160 1000 0 0 3 &RT0 27 0
161 1000 0 0 4 &RT0 24 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800162
163 /* IDSEL 0x13 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500164 1800 0 0 1 &RT0 26 0
165 1800 0 0 2 &RT0 27 0
166 1800 0 0 3 &RT0 24 0
167 1800 0 0 4 &RT0 25 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800168
169 /* IDSEL 0x14 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500170 2000 0 0 1 &RT0 27 0
171 2000 0 0 2 &RT0 24 0
172 2000 0 0 3 &RT0 25 0
173 2000 0 0 4 &RT0 26 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800174 >;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500175
176 RT0: router@1180 {
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800177 clock-frequency = <0>;
178 interrupt-controller;
179 device_type = "pic-router";
180 #address-cells = <0>;
181 #interrupt-cells = <2>;
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800182 big-endian;
183 interrupts = <17 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500184 interrupt-parent = <&mpic>;
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800185 };
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800186 };
187 };
Roy Zangc4e05bc2007-09-24 18:31:55 +0800188 chosen {
189 linux,stdout-path = "/tsi108@c0000000/serial@7808";
190 };
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800191
192};