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