Merge master.kernel.org:/home/rmk/linux-2.6-arm
[linux-2.6] / arch / powerpc / boot / dts / mpc7448hpc2.dts
1 /*
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>;
19
20         cpus {
21                 #address-cells = <1>;
22                 #size-cells =<0>;
23                                 
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;
35                 };
36         };
37
38         memory {
39                 device_type = "memory";
40                 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>;
48                 device_type = "tsi-bridge";
49                 ranges = <00000000 c0000000 00010000>;
50                 reg = <c0000000 00010000>;
51                 bus-frequency = <0>;
52
53                 i2c@7000 {
54                         interrupt-parent = <&mpic>;
55                         interrupts = <E 0>;
56                         reg = <7000 400>;
57                         device_type = "i2c";
58                         compatible  = "tsi108-i2c";
59                 };
60
61                 MDIO: mdio@6000 {
62                         device_type = "mdio";
63                         compatible = "tsi108-mdio";
64                         reg = <6000 50>;
65                         #address-cells = <1>;
66                         #size-cells = <0>;
67
68                         phy8: ethernet-phy@8 {
69                                 interrupt-parent = <&mpic>;
70                                 interrupts = <2 1>;
71                                 reg = <8>;
72                         };
73
74                         phy9: ethernet-phy@9 {
75                                 interrupt-parent = <&mpic>;
76                                 interrupts = <2 1>;
77                                 reg = <9>;
78                         };
79
80                 };
81
82                 ethernet@6200 {
83                         #size-cells = <0>;
84                         device_type = "network";
85                         compatible = "tsi108-ethernet";
86                         reg = <6000 200>;
87                         address = [ 00 06 D2 00 00 01 ];
88                         interrupts = <10 2>;
89                         interrupt-parent = <&mpic>;
90                         mdio-handle = <&MDIO>;
91                         phy-handle = <&phy8>;
92                 };
93
94                 ethernet@6600 {
95                         #address-cells = <1>;
96                         #size-cells = <0>;
97                         device_type = "network";
98                         compatible = "tsi108-ethernet";
99                         reg = <6400 200>;
100                         address = [ 00 06 D2 00 00 02 ];
101                         interrupts = <11 2>;
102                         interrupt-parent = <&mpic>;
103                         mdio-handle = <&MDIO>;
104                         phy-handle = <&phy9>;
105                 };
106
107                 serial@7808 {
108                         device_type = "serial";
109                         compatible = "ns16550";
110                         reg = <7808 200>;
111                         clock-frequency = <3f6b5a00>;
112                         interrupts = <c 0>;
113                         interrupt-parent = <&mpic>;
114                 };
115
116                 serial@7c08 {
117                         device_type = "serial";
118                         compatible = "ns16550";
119                         reg = <7c08 200>;
120                         clock-frequency = <3f6b5a00>;
121                         interrupts = <d 0>;
122                         interrupt-parent = <&mpic>;
123                 };
124
125                 mpic: pic@7400 {
126                         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 {
137                         compatible = "tsi108-pci";
138                         device_type = "pci";
139                         #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>;
147                         interrupt-parent = <&mpic>;
148                         interrupts = <17 2>;
149                         interrupt-map-mask = <f800 0 0 7>;
150                         interrupt-map = <
151
152                                 /* IDSEL 0x11 */
153                                 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
157
158                                 /* IDSEL 0x12 */
159                                 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
163
164                                 /* IDSEL 0x13 */
165                                 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
169
170                                 /* IDSEL 0x14 */
171                                 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
175                                 >;
176
177                         RT0: router@1180 {
178                                 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>;
186                                 interrupt-parent = <&mpic>;
187                         };
188                 };
189         };
190
191 };