Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / arch / powerpc / boot / dts / sbc8548.dts
blob123b065b62cb9b3c970a69a2f8b67859533f6549
1 /*
2  * SBC8548 Device Tree Source
3  *
4  * Copyright 2007 Wind River Systems Inc.
5  *
6  * Paul Gortmaker (see MAINTAINERS for contact information)
7  *
8  * This program is free software; you can redistribute  it and/or modify it
9  * under  the terms of  the GNU General  Public License as published by the
10  * Free Software Foundation;  either version 2 of the  License, or (at your
11  * option) any later version.
12  */
15 /dts-v1/;
17 / {
18         model = "SBC8548";
19         compatible = "SBC8548";
20         #address-cells = <1>;
21         #size-cells = <1>;
23         aliases {
24                 ethernet0 = &enet0;
25                 ethernet1 = &enet1;
26                 serial0 = &serial0;
27                 serial1 = &serial1;
28                 pci0 = &pci0;
29                 /* pci1 doesn't have a corresponding physical connector */
30                 pci2 = &pci2;
31         };
33         cpus {
34                 #address-cells = <1>;
35                 #size-cells = <0>;
37                 PowerPC,8548@0 {
38                         device_type = "cpu";
39                         reg = <0>;
40                         d-cache-line-size = <0x20>;     // 32 bytes
41                         i-cache-line-size = <0x20>;     // 32 bytes
42                         d-cache-size = <0x8000>;        // L1, 32K
43                         i-cache-size = <0x8000>;        // L1, 32K
44                         timebase-frequency = <0>;       // From uboot
45                         bus-frequency = <0>;
46                         clock-frequency = <0>;
47                 };
48         };
50         memory {
51                 device_type = "memory";
52                 reg = <0x00000000 0x10000000>;
53         };
55         soc8548@e0000000 {
56                 #address-cells = <1>;
57                 #size-cells = <1>;
58                 device_type = "soc";
59                 ranges = <0x00000000 0xe0000000 0x00100000>;
60                 reg = <0xe0000000 0x00001000>;  // CCSRBAR
61                 bus-frequency = <0>;
63                 memory-controller@2000 {
64                         compatible = "fsl,8548-memory-controller";
65                         reg = <0x2000 0x1000>;
66                         interrupt-parent = <&mpic>;
67                         interrupts = <0x12 0x2>;
68                 };
70                 l2-cache-controller@20000 {
71                         compatible = "fsl,8548-l2-cache-controller";
72                         reg = <0x20000 0x1000>;
73                         cache-line-size = <0x20>;       // 32 bytes
74                         cache-size = <0x80000>; // L2, 512K
75                         interrupt-parent = <&mpic>;
76                         interrupts = <0x10 0x2>;
77                 };
79                 i2c@3000 {
80                         #address-cells = <1>;
81                         #size-cells = <0>;
82                         cell-index = <0>;
83                         compatible = "fsl-i2c";
84                         reg = <0x3000 0x100>;
85                         interrupts = <0x2b 0x2>;
86                         interrupt-parent = <&mpic>;
87                         dfsrr;
88                 };
90                 i2c@3100 {
91                         #address-cells = <1>;
92                         #size-cells = <0>;
93                         cell-index = <1>;
94                         compatible = "fsl-i2c";
95                         reg = <0x3100 0x100>;
96                         interrupts = <0x2b 0x2>;
97                         interrupt-parent = <&mpic>;
98                         dfsrr;
99                 };
101                 mdio@24520 {
102                         #address-cells = <1>;
103                         #size-cells = <0>;
104                         compatible = "fsl,gianfar-mdio";
105                         reg = <0x24520 0x20>;
107                         phy0: ethernet-phy@19 {
108                                 interrupt-parent = <&mpic>;
109                                 interrupts = <0x6 0x1>;
110                                 reg = <0x19>;
111                                 device_type = "ethernet-phy";
112                         };
113                         phy1: ethernet-phy@1a {
114                                 interrupt-parent = <&mpic>;
115                                 interrupts = <0x7 0x1>;
116                                 reg = <0x1a>;
117                                 device_type = "ethernet-phy";
118                         };
119                 };
121                 enet0: ethernet@24000 {
122                         cell-index = <0>;
123                         device_type = "network";
124                         model = "eTSEC";
125                         compatible = "gianfar";
126                         reg = <0x24000 0x1000>;
127                         local-mac-address = [ 00 00 00 00 00 00 ];
128                         interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
129                         interrupt-parent = <&mpic>;
130                         phy-handle = <&phy0>;
131                 };
133                 enet1: ethernet@25000 {
134                         cell-index = <1>;
135                         device_type = "network";
136                         model = "eTSEC";
137                         compatible = "gianfar";
138                         reg = <0x25000 0x1000>;
139                         local-mac-address = [ 00 00 00 00 00 00 ];
140                         interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>;
141                         interrupt-parent = <&mpic>;
142                         phy-handle = <&phy1>;
143                 };
145                 serial0: serial@4500 {
146                         cell-index = <0>;
147                         device_type = "serial";
148                         compatible = "ns16550";
149                         reg = <0x4500 0x100>;   // reg base, size
150                         clock-frequency = <0>;  // should we fill in in uboot?
151                         interrupts = <0x2a 0x2>;
152                         interrupt-parent = <&mpic>;
153                 };
155                 serial1: serial@4600 {
156                         cell-index = <1>;
157                         device_type = "serial";
158                         compatible = "ns16550";
159                         reg = <0x4600 0x100>;   // reg base, size
160                         clock-frequency = <0>;  // should we fill in in uboot?
161                         interrupts = <0x2a 0x2>;
162                         interrupt-parent = <&mpic>;
163                 };
165                 global-utilities@e0000 {        //global utilities reg
166                         compatible = "fsl,mpc8548-guts";
167                         reg = <0xe0000 0x1000>;
168                         fsl,has-rstcr;
169                 };
171                 mpic: pic@40000 {
172                         interrupt-controller;
173                         #address-cells = <0>;
174                         #size-cells = <0>;
175                         #interrupt-cells = <2>;
176                         reg = <0x40000 0x40000>;
177                         compatible = "chrp,open-pic";
178                         device_type = "open-pic";
179                         big-endian;
180                 };
181         };
183         pci0: pci@e0008000 {
184                 cell-index = <0>;
185                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
186                 interrupt-map = <
187 <<<<<<< HEAD:arch/powerpc/boot/dts/sbc8548.dts
188                         /* IDSEL 0x01 (PCI-X slot) */
189                         0x0800 0x0 0x0 0x1 &mpic 0x0 0x1
190                         0x0800 0x0 0x0 0x2 &mpic 0x1 0x1
191                         0x0800 0x0 0x0 0x3 &mpic 0x2 0x1
192                         0x0800 0x0 0x0 0x4 &mpic 0x3 0x1>;
193 =======
194                         /* IDSEL 0x01 (PCI-X slot) @66MHz */
195                         0x0800 0x0 0x0 0x1 &mpic 0x2 0x1
196                         0x0800 0x0 0x0 0x2 &mpic 0x3 0x1
197                         0x0800 0x0 0x0 0x3 &mpic 0x4 0x1
198                         0x0800 0x0 0x0 0x4 &mpic 0x1 0x1
200                         /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */
201                         0x8800 0x0 0x0 0x1 &mpic 0x2 0x1
202                         0x8800 0x0 0x0 0x2 &mpic 0x3 0x1
203                         0x8800 0x0 0x0 0x3 &mpic 0x4 0x1
204                         0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>;
205 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:arch/powerpc/boot/dts/sbc8548.dts
207                 interrupt-parent = <&mpic>;
208                 interrupts = <0x18 0x2>;
209                 bus-range = <0 0>;
210                 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000
211                           0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>;
212                 clock-frequency = <66666666>;
213                 #interrupt-cells = <1>;
214                 #size-cells = <2>;
215                 #address-cells = <3>;
216                 reg = <0xe0008000 0x1000>;
217                 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
218                 device_type = "pci";
219         };
221         pci2: pcie@e000a000 {
222                 cell-index = <2>;
223                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
224                 interrupt-map = <
226                         /* IDSEL 0x0 (PEX) */
227                         0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
228                         0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
229                         0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
230                         0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>;
232                 interrupt-parent = <&mpic>;
233                 interrupts = <0x1a 0x2>;
234                 bus-range = <0x0 0xff>;
235                 ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000
236                           0x01000000 0x0 0x00000000 0xe3000000 0x0 0x08000000>;
237                 clock-frequency = <33333333>;
238                 #interrupt-cells = <1>;
239                 #size-cells = <2>;
240                 #address-cells = <3>;
241                 reg = <0xe000a000 0x1000>;
242                 compatible = "fsl,mpc8548-pcie";
243                 device_type = "pci";
244                 pcie@0 {
245                         reg = <0x0 0x0 0x0 0x0 0x0>;
246                         #size-cells = <2>;
247                         #address-cells = <3>;
248                         device_type = "pci";
249                         ranges = <0x02000000 0x0 0xa0000000
250                                   0x02000000 0x0 0xa0000000
251                                   0x0 0x20000000
253                                   0x01000000 0x0 0x00000000
254                                   0x01000000 0x0 0x00000000
255                                   0x0 0x08000000>;
256                 };
257         };