x86: add PAGE_KERNEL_EXEC_NOCACHE
[wrt350n-kernel.git] / arch / powerpc / boot / dts / mpc8560ads.dts
blob6b362f8222c15173bca7b1f6af6a0cb637bba883
1 /*
2  * MPC8560 ADS Device Tree Source
3  *
4  * Copyright 2006 Freescale Semiconductor Inc.
5  *
6  * This program is free software; you can redistribute  it and/or modify it
7  * under  the terms of  the GNU General  Public License as published by the
8  * Free Software Foundation;  either version 2 of the  License, or (at your
9  * option) any later version.
10  */
13 / {
14         model = "MPC8560ADS";
15         compatible = "MPC8560ADS", "MPC85xxADS";
16         #address-cells = <1>;
17         #size-cells = <1>;
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
23                 PowerPC,8560@0 {
24                         device_type = "cpu";
25                         reg = <0>;
26                         d-cache-line-size = <20>;       // 32 bytes
27                         i-cache-line-size = <20>;       // 32 bytes
28                         d-cache-size = <8000>;          // L1, 32K
29                         i-cache-size = <8000>;          // L1, 32K
30                         timebase-frequency = <04ead9a0>;
31                         bus-frequency = <13ab6680>;
32                         clock-frequency = <312c8040>;
33                 };
34         };
36         memory {
37                 device_type = "memory";
38                 reg = <00000000 10000000>;
39         };
41         soc8560@e0000000 {
42                 #address-cells = <1>;
43                 #size-cells = <1>;
44                 device_type = "soc";
45                 ranges = <0 e0000000 00100000>;
46                 reg = <e0000000 00000200>;
47                 bus-frequency = <13ab6680>;
49                 memory-controller@2000 {
50                         compatible = "fsl,8540-memory-controller";
51                         reg = <2000 1000>;
52                         interrupt-parent = <&mpic>;
53                         interrupts = <12 2>;
54                 };
56                 l2-cache-controller@20000 {
57                         compatible = "fsl,8540-l2-cache-controller";
58                         reg = <20000 1000>;
59                         cache-line-size = <20>; // 32 bytes
60                         cache-size = <40000>;   // L2, 256K
61                         interrupt-parent = <&mpic>;
62                         interrupts = <10 2>;
63                 };
65                 mdio@24520 {
66                         device_type = "mdio";
67                         compatible = "gianfar";
68                         reg = <24520 20>;
69                         #address-cells = <1>;
70                         #size-cells = <0>;
71                         phy0: ethernet-phy@0 {
72                                 interrupt-parent = <&mpic>;
73                                 interrupts = <5 1>;
74                                 reg = <0>;
75                                 device_type = "ethernet-phy";
76                         };
77                         phy1: ethernet-phy@1 {
78                                 interrupt-parent = <&mpic>;
79                                 interrupts = <5 1>;
80                                 reg = <1>;
81                                 device_type = "ethernet-phy";
82                         };
83                         phy2: ethernet-phy@2 {
84                                 interrupt-parent = <&mpic>;
85                                 interrupts = <7 1>;
86                                 reg = <2>;
87                                 device_type = "ethernet-phy";
88                         };
89                         phy3: ethernet-phy@3 {
90                                 interrupt-parent = <&mpic>;
91                                 interrupts = <7 1>;
92                                 reg = <3>;
93                                 device_type = "ethernet-phy";
94                         };
95                 };
97                 ethernet@24000 {
98                         device_type = "network";
99                         model = "TSEC";
100                         compatible = "gianfar";
101                         reg = <24000 1000>;
102                         /*
103                          * address is deprecated and will be removed
104                          * in 2.6.25.  Only recent versions of
105                          * U-Boot support local-mac-address, however.
106                          */
107                         address = [ 00 00 00 00 00 00 ];
108                         local-mac-address = [ 00 00 00 00 00 00 ];
109                         interrupts = <1d 2 1e 2 22 2>;
110                         interrupt-parent = <&mpic>;
111                         phy-handle = <&phy0>;
112                 };
114                 ethernet@25000 {
115                         #address-cells = <1>;
116                         #size-cells = <0>;
117                         device_type = "network";
118                         model = "TSEC";
119                         compatible = "gianfar";
120                         reg = <25000 1000>;
121                         /*
122                          * address is deprecated and will be removed
123                          * in 2.6.25.  Only recent versions of
124                          * U-Boot support local-mac-address, however.
125                          */
126                         address = [ 00 00 00 00 00 00 ];
127                         local-mac-address = [ 00 00 00 00 00 00 ];
128                         interrupts = <23 2 24 2 28 2>;
129                         interrupt-parent = <&mpic>;
130                         phy-handle = <&phy1>;
131                 };
133                 mpic: pic@40000 {
134                         interrupt-controller;
135                         #address-cells = <0>;
136                         #interrupt-cells = <2>;
137                         reg = <40000 40000>;
138                         device_type = "open-pic";
139                 };
141                 cpm@919c0 {
142                         #address-cells = <1>;
143                         #size-cells = <1>;
144                         compatible = "fsl,mpc8560-cpm", "fsl,cpm2";
145                         reg = <919c0 30>;
146                         ranges;
148                         muram@80000 {
149                                 #address-cells = <1>;
150                                 #size-cells = <1>;
151                                 ranges = <0 80000 10000>;
153                                 data@0 {
154                                         compatible = "fsl,cpm-muram-data";
155                                         reg = <0 4000 9000 2000>;
156                                 };
157                         };
159                         brg@919f0 {
160                                 compatible = "fsl,mpc8560-brg",
161                                              "fsl,cpm2-brg",
162                                              "fsl,cpm-brg";
163                                 reg = <919f0 10 915f0 10>;
164                                 clock-frequency = <d#165000000>;
165                         };
167                         cpmpic: pic@90c00 {
168                                 interrupt-controller;
169                                 #address-cells = <0>;
170                                 #interrupt-cells = <2>;
171                                 interrupts = <2e 2>;
172                                 interrupt-parent = <&mpic>;
173                                 reg = <90c00 80>;
174                                 compatible = "fsl,mpc8560-cpm-pic", "fsl,cpm2-pic";
175                         };
177                         serial@91a00 {
178                                 device_type = "serial";
179                                 compatible = "fsl,mpc8560-scc-uart",
180                                              "fsl,cpm2-scc-uart";
181                                 reg = <91a00 20 88000 100>;
182                                 fsl,cpm-brg = <1>;
183                                 fsl,cpm-command = <00800000>;
184                                 current-speed = <1c200>;
185                                 interrupts = <28 8>;
186                                 interrupt-parent = <&cpmpic>;
187                         };
189                         serial@91a20 {
190                                 device_type = "serial";
191                                 compatible = "fsl,mpc8560-scc-uart",
192                                              "fsl,cpm2-scc-uart";
193                                 reg = <91a20 20 88100 100>;
194                                 fsl,cpm-brg = <2>;
195                                 fsl,cpm-command = <04a00000>;
196                                 current-speed = <1c200>;
197                                 interrupts = <29 8>;
198                                 interrupt-parent = <&cpmpic>;
199                         };
201                         ethernet@91320 {
202                                 device_type = "network";
203                                 compatible = "fsl,mpc8560-fcc-enet",
204                                              "fsl,cpm2-fcc-enet";
205                                 reg = <91320 20 88500 100 913b0 1>;
206                                 /*
207                                  * mac-address is deprecated and will be removed
208                                  * in 2.6.25.  Only recent versions of
209                                  * U-Boot support local-mac-address, however.
210                                  */
211                                 mac-address = [ 00 00 00 00 00 00 ];
212                                 local-mac-address = [ 00 00 00 00 00 00 ];
213                                 fsl,cpm-command = <16200300>;
214                                 interrupts = <21 8>;
215                                 interrupt-parent = <&cpmpic>;
216                                 phy-handle = <&phy2>;
217                         };
219                         ethernet@91340 {
220                                 device_type = "network";
221                                 compatible = "fsl,mpc8560-fcc-enet",
222                                              "fsl,cpm2-fcc-enet";
223                                 reg = <91340 20 88600 100 913d0 1>;
224                                 /*
225                                  * mac-address is deprecated and will be removed
226                                  * in 2.6.25.  Only recent versions of
227                                  * U-Boot support local-mac-address, however.
228                                  */
229                                 mac-address = [ 00 00 00 00 00 00 ];
230                                 local-mac-address = [ 00 00 00 00 00 00 ];
231                                 fsl,cpm-command = <1a400300>;
232                                 interrupts = <22 8>;
233                                 interrupt-parent = <&cpmpic>;
234                                 phy-handle = <&phy3>;
235                         };
236                 };
237         };
239         pci@e0008000 {
240                 #interrupt-cells = <1>;
241                 #size-cells = <2>;
242                 #address-cells = <3>;
243                 compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci";
244                 device_type = "pci";
245                 reg = <e0008000 1000>;
246                 clock-frequency = <3f940aa>;
247                 interrupt-map-mask = <f800 0 0 7>;
248                 interrupt-map = <
250                                 /* IDSEL 0x2 */
251                                  1000 0 0 1 &mpic 1 1
252                                  1000 0 0 2 &mpic 2 1
253                                  1000 0 0 3 &mpic 3 1
254                                  1000 0 0 4 &mpic 4 1
256                                 /* IDSEL 0x3 */
257                                  1800 0 0 1 &mpic 4 1
258                                  1800 0 0 2 &mpic 1 1
259                                  1800 0 0 3 &mpic 2 1
260                                  1800 0 0 4 &mpic 3 1
262                                 /* IDSEL 0x4 */
263                                  2000 0 0 1 &mpic 3 1
264                                  2000 0 0 2 &mpic 4 1
265                                  2000 0 0 3 &mpic 1 1
266                                  2000 0 0 4 &mpic 2 1
268                                 /* IDSEL 0x5  */
269                                  2800 0 0 1 &mpic 2 1
270                                  2800 0 0 2 &mpic 3 1
271                                  2800 0 0 3 &mpic 4 1
272                                  2800 0 0 4 &mpic 1 1
274                                 /* IDSEL 12 */
275                                  6000 0 0 1 &mpic 1 1
276                                  6000 0 0 2 &mpic 2 1
277                                  6000 0 0 3 &mpic 3 1
278                                  6000 0 0 4 &mpic 4 1
280                                 /* IDSEL 13 */
281                                  6800 0 0 1 &mpic 4 1
282                                  6800 0 0 2 &mpic 1 1
283                                  6800 0 0 3 &mpic 2 1
284                                  6800 0 0 4 &mpic 3 1
286                                 /* IDSEL 14*/
287                                  7000 0 0 1 &mpic 3 1
288                                  7000 0 0 2 &mpic 4 1
289                                  7000 0 0 3 &mpic 1 1
290                                  7000 0 0 4 &mpic 2 1
292                                 /* IDSEL 15 */
293                                  7800 0 0 1 &mpic 2 1
294                                  7800 0 0 2 &mpic 3 1
295                                  7800 0 0 3 &mpic 4 1
296                                  7800 0 0 4 &mpic 1 1
298                                 /* IDSEL 18 */
299                                  9000 0 0 1 &mpic 1 1
300                                  9000 0 0 2 &mpic 2 1
301                                  9000 0 0 3 &mpic 3 1
302                                  9000 0 0 4 &mpic 4 1
304                                 /* IDSEL 19 */
305                                  9800 0 0 1 &mpic 4 1
306                                  9800 0 0 2 &mpic 1 1
307                                  9800 0 0 3 &mpic 2 1
308                                  9800 0 0 4 &mpic 3 1
310                                 /* IDSEL 20 */
311                                  a000 0 0 1 &mpic 3 1
312                                  a000 0 0 2 &mpic 4 1
313                                  a000 0 0 3 &mpic 1 1
314                                  a000 0 0 4 &mpic 2 1
316                                 /* IDSEL 21 */
317                                  a800 0 0 1 &mpic 2 1
318                                  a800 0 0 2 &mpic 3 1
319                                  a800 0 0 3 &mpic 4 1
320                                  a800 0 0 4 &mpic 1 1>;
322                 interrupt-parent = <&mpic>;
323                 interrupts = <18 2>;
324                 bus-range = <0 0>;
325                 ranges = <02000000 0 80000000 80000000 0 20000000
326                           01000000 0 00000000 e2000000 0 01000000>;
327         };