Merge branch 'linux-2.6' into for-2.6.24
[firefly-linux-kernel-4.4.55.git] / arch / powerpc / boot / dts / holly.dts
1 /*
2  * Device Tree Source for IBM Holly (PPC 750CL with TSI controller)
3  * Copyright 2007, IBM Corporation
4  *
5  * Stephen Winiecki <stevewin@us.ibm.com>
6  * Josh Boyer <jwboyer@linux.vnet.ibm.com>
7  *
8  * This file is licensed under the terms of the GNU General Public
9  * License version 2.  This program is licensed "as is" without
10  * any warranty of any kind, whether express or implied.
11  */
12
13 / {
14         model = "41K7339";
15         compatible = "ibm,holly";
16         #address-cells = <1>;
17         #size-cells = <1>;
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells =<0>;
22                 PowerPC,750CL@0 {
23                         device_type = "cpu";
24                         reg = <0>;
25                         d-cache-line-size = <20>;
26                         i-cache-line-size = <20>;
27                         d-cache-size = <8000>;
28                         i-cache-size = <8000>;
29                         d-cache-sets = <80>;
30                         i-cache-sets = <80>;
31                         timebase-frequency = <2faf080>;
32                         clock-frequency = <23c34600>;
33                         bus-frequency = <bebc200>;
34                         32-bit;
35                 };
36         };
37
38         memory@0 {
39                 device_type = "memory";
40                 reg = <00000000 20000000>;
41         };
42
43         tsi109@c0000000 {
44                 device_type = "tsi-bridge";
45                 compatible = "tsi109-bridge", "tsi108-bridge";
46                 #address-cells = <1>;
47                 #size-cells = <1>;
48                 ranges = <00000000 c0000000 00010000>;
49                 reg = <c0000000 00010000>;
50
51                 i2c@7000 {
52                         device_type = "i2c";
53                         compatible  = "tsi109-i2c", "tsi108-i2c";
54                         interrupt-parent = <&MPIC>;
55                         interrupts = <e 2>;
56                         reg = <7000 400>;
57                 };
58
59                 MDIO: mdio@6000 {
60                         device_type = "mdio";
61                         compatible = "tsi109-mdio", "tsi108-mdio";
62                         reg = <6000 50>;
63                         #address-cells = <1>;
64                         #size-cells = <0>;
65
66                         PHY1: ethernet-phy@1 {
67                                 compatible = "bcm5461a";
68                                 reg = <1>;
69                                 txc-rxc-delay-disable;
70                         };
71
72                         PHY2: ethernet-phy@2 {
73                                 compatible = "bcm5461a";
74                                 reg = <2>;
75                                 txc-rxc-delay-disable;
76                         };
77                 };
78
79                 ethernet@6200 {
80                         device_type = "network";
81                         compatible = "tsi109-ethernet", "tsi108-ethernet";
82                         #address-cells = <1>;
83                         #size-cells = <0>;
84                         reg = <6000 200>;
85                         local-mac-address = [ 00 00 00 00 00 00 ];
86                         interrupt-parent = <&MPIC>;
87                         interrupts = <10 2>;
88                         mdio-handle = <&MDIO>;
89                         phy-handle = <&PHY1>;
90                 };
91
92                 ethernet@6600 {
93                         device_type = "network";
94                         compatible = "tsi109-ethernet", "tsi108-ethernet";
95                         #address-cells = <1>;
96                         #size-cells = <0>;
97                         reg = <6400 200>;
98                         local-mac-address = [ 00 00 00 00 00 00 ];
99                         interrupt-parent = <&MPIC>;
100                         interrupts = <11 2>;
101                         mdio-handle = <&MDIO>;
102                         phy-handle = <&PHY2>;
103                 };
104
105                 serial@7808 {
106                         device_type = "serial";
107                         compatible = "ns16550";
108                         reg = <7808 200>;
109                         virtual-reg = <c0007808>;
110                         clock-frequency = <3F9C6000>;
111                         current-speed = <1c200>;
112                         interrupt-parent = <&MPIC>;
113                         interrupts = <c 2>;
114                 };
115
116                 serial@7c08 {
117                         device_type = "serial";
118                         compatible = "ns16550";
119                         reg = <7c08 200>;
120                         virtual-reg = <c0007c08>;
121                         clock-frequency = <3F9C6000>;
122                         current-speed = <1c200>;
123                         interrupt-parent = <&MPIC>;
124                         interrupts = <d 2>;
125                 };
126
127                 MPIC: pic@7400 {
128                         device_type = "open-pic";
129                         compatible = "chrp,open-pic";
130                         interrupt-controller;
131                         #interrupt-cells = <2>;
132                         reg = <7400 400>;
133                         big-endian;
134                 };
135
136                 pci@1000 {
137                         device_type = "pci";
138                         compatible = "tsi109-pci", "tsi108-pci";
139                         #interrupt-cells = <1>;
140                         #size-cells = <2>;
141                         #address-cells = <3>;
142                         reg = <1000 1000>;
143                         bus-range = <0 0>;
144                         /*----------------------------------------------------+
145                         | PCI memory range.
146                         | 01 denotes I/O space
147                         | 02 denotes 32-bit memory space
148                         +----------------------------------------------------*/
149                         ranges = <02000000 0 40000000 40000000 0 10000000
150                                   01000000 0 00000000 7e000000 0 00010000>;
151                         clock-frequency = <7f28154>;
152                         interrupt-parent = <&MPIC>;
153                         interrupts = <17 2>;
154                         interrupt-map-mask = <f800 0 0 7>;
155                         /*----------------------------------------------------+
156                         | The INTA, INTB, INTC, INTD are shared.
157                         +----------------------------------------------------*/
158                         interrupt-map = <
159                                 0800 0 0 1 &RT0 24 0
160                                 0800 0 0 2 &RT0 25 0
161                                 0800 0 0 3 &RT0 26 0
162                                 0800 0 0 4 &RT0 27 0
163
164                                 1000 0 0 1 &RT0 25 0
165                                 1000 0 0 2 &RT0 26 0
166                                 1000 0 0 3 &RT0 27 0
167                                 1000 0 0 4 &RT0 24 0
168
169                                 1800 0 0 1 &RT0 26 0
170                                 1800 0 0 2 &RT0 27 0
171                                 1800 0 0 3 &RT0 24 0
172                                 1800 0 0 4 &RT0 25 0
173
174                                 2000 0 0 1 &RT0 27 0
175                                 2000 0 0 2 &RT0 24 0
176                                 2000 0 0 3 &RT0 25 0
177                                 2000 0 0 4 &RT0 26 0
178                                 >;
179
180                         RT0: router@1180 {
181                                 device_type = "pic-router";
182                                 interrupt-controller;
183                                 big-endian;
184                                 clock-frequency = <0>;
185                                 #address-cells = <0>;
186                                 #interrupt-cells = <2>;
187                                 interrupts = <17 2>;
188                                 interrupt-parent = <&MPIC>;
189                         };
190                 };
191         };
192
193         chosen {
194                 linux,stdout-path = "/tsi109@c0000000/serial@7808";
195         };
196 };