blob: 0e3d314a7158116351d5dccd4d6395eefd47e22b [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
34 32-bit;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080035 };
36 };
37
38 memory {
39 device_type = "memory";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080040 reg = <00000000 20000000 // DDR2 512M at 0
41 >;
42 };
43
44 tsi108@c0000000 {
45 #address-cells = <1>;
46 #size-cells = <1>;
47 #interrupt-cells = <2>;
David Gibsone58ca3d2007-06-13 14:53:00 +100048 device_type = "tsi108-bridge";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080049 ranges = <00000000 c0000000 00010000>;
50 reg = <c0000000 00010000>;
51 bus-frequency = <0>;
52
53 i2c@7000 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050054 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080055 interrupts = <E 0>;
56 reg = <7000 400>;
57 device_type = "i2c";
David Gibsone58ca3d2007-06-13 14:53:00 +100058 compatible = "tsi108-i2c";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080059 };
60
David Gibsone58ca3d2007-06-13 14:53:00 +100061 MDIO: mdio@6000 {
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080062 device_type = "mdio";
David Gibsone58ca3d2007-06-13 14:53:00 +100063 compatible = "tsi108-mdio";
64 reg = <6000 50>;
65 #address-cells = <1>;
66 #size-cells = <0>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080067
David Gibsone58ca3d2007-06-13 14:53:00 +100068 phy8: ethernet-phy@8 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050069 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080070 interrupts = <2 1>;
David Gibsone58ca3d2007-06-13 14:53:00 +100071 reg = <8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080072 };
73
David Gibsone58ca3d2007-06-13 14:53:00 +100074 phy9: ethernet-phy@9 {
Kumar Gala5c1992f2007-05-15 16:12:27 -050075 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080076 interrupts = <2 1>;
David Gibsone58ca3d2007-06-13 14:53:00 +100077 reg = <9>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080078 };
79
80 };
81
82 ethernet@6200 {
83 #size-cells = <0>;
84 device_type = "network";
David Gibsone58ca3d2007-06-13 14:53:00 +100085 compatible = "tsi108-ethernet";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080086 reg = <6000 200>;
87 address = [ 00 06 D2 00 00 01 ];
88 interrupts = <10 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050089 interrupt-parent = <&mpic>;
David Gibsone58ca3d2007-06-13 14:53:00 +100090 mdio-handle = <&MDIO>;
Kumar Gala5c1992f2007-05-15 16:12:27 -050091 phy-handle = <&phy8>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +080092 };
93
94 ethernet@6600 {
95 #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>;
131 built-in;
132 compatible = "chrp,open-pic";
133 device_type = "open-pic";
134 big-endian;
135 };
136 pci@1000 {
David Gibsone58ca3d2007-06-13 14:53:00 +1000137 compatible = "tsi108-pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800138 device_type = "pci";
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800139 #interrupt-cells = <1>;
140 #size-cells = <2>;
141 #address-cells = <3>;
142 reg = <1000 1000>;
143 bus-range = <0 0>;
144 ranges = <02000000 0 e0000000 e0000000 0 1A000000
145 01000000 0 00000000 fa000000 0 00010000>;
146 clock-frequency = <7f28154>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500147 interrupt-parent = <&mpic>;
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800148 interrupts = <17 2>;
149 interrupt-map-mask = <f800 0 0 7>;
150 interrupt-map = <
151
152 /* IDSEL 0x11 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500153 0800 0 0 1 &RT0 24 0
154 0800 0 0 2 &RT0 25 0
155 0800 0 0 3 &RT0 26 0
156 0800 0 0 4 &RT0 27 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800157
158 /* IDSEL 0x12 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500159 1000 0 0 1 &RT0 25 0
160 1000 0 0 2 &RT0 26 0
161 1000 0 0 3 &RT0 27 0
162 1000 0 0 4 &RT0 24 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800163
164 /* IDSEL 0x13 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500165 1800 0 0 1 &RT0 26 0
166 1800 0 0 2 &RT0 27 0
167 1800 0 0 3 &RT0 24 0
168 1800 0 0 4 &RT0 25 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800169
170 /* IDSEL 0x14 */
Kumar Gala5c1992f2007-05-15 16:12:27 -0500171 2000 0 0 1 &RT0 27 0
172 2000 0 0 2 &RT0 24 0
173 2000 0 0 3 &RT0 25 0
174 2000 0 0 4 &RT0 26 0
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800175 >;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500176
177 RT0: router@1180 {
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800178 clock-frequency = <0>;
179 interrupt-controller;
180 device_type = "pic-router";
181 #address-cells = <0>;
182 #interrupt-cells = <2>;
183 built-in;
184 big-endian;
185 interrupts = <17 2>;
Kumar Gala5c1992f2007-05-15 16:12:27 -0500186 interrupt-parent = <&mpic>;
Zang Roy-r619115873c9b2006-11-14 14:31:50 +0800187 };
Zang Roy-r619114b3afca2006-08-25 16:43:25 +0800188 };
189 };
190
191};