[POWERPC] 8xx: Convert mpc866ads to the new device binding.
[linux-2.6] / arch / powerpc / boot / dts / mpc866ads.dts
1 /*
2  * MPC866 ADS Device Tree Source
3  *
4  * Copyright 2006 MontaVista Software, 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  */
11
12
13 / {
14         model = "MPC866ADS";
15         compatible = "fsl,mpc866ads";
16         #address-cells = <1>;
17         #size-cells = <1>;
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22
23                 PowerPC,866@0 {
24                         device_type = "cpu";
25                         reg = <0>;
26                         d-cache-line-size = <10>;       // 16 bytes
27                         i-cache-line-size = <10>;       // 16 bytes
28                         d-cache-size = <2000>;          // L1, 8K
29                         i-cache-size = <4000>;          // L1, 16K
30                         timebase-frequency = <0>;
31                         bus-frequency = <0>;
32                         clock-frequency = <0>;
33                         interrupts = <f 2>;     // decrementer interrupt
34                         interrupt-parent = <&PIC>;
35                 };
36         };
37
38         memory {
39                 device_type = "memory";
40                 reg = <00000000 800000>;
41         };
42
43         localbus@ff000100 {
44                 compatible = "fsl,mpc866-localbus", "fsl,pq1-localbus";
45                 #address-cells = <2>;
46                 #size-cells = <1>;
47                 reg = <ff000100 40>;
48
49                 ranges = <
50                         1 0 ff080000 00008000
51                         5 0 ff0a0000 00008000
52                 >;
53
54                 board-control@1,0 {
55                         reg = <1 0 20 5 300 4>;
56                         compatible = "fsl,mpc866ads-bcsr";
57                 };
58         };
59
60         soc@ff000000 {
61                 #address-cells = <1>;
62                 #size-cells = <1>;
63                 device_type = "soc";
64                 ranges = <0 ff000000 00100000>;
65                 reg = <ff000000 00000200>;
66                 bus-frequency = <0>;
67
68                 mdio@e00 {
69                         compatible = "fsl,mpc866-fec-mdio", "fsl,pq1-fec-mdio";
70                         reg = <e00 188>;
71                         #address-cells = <1>;
72                         #size-cells = <0>;
73                         PHY: ethernet-phy@f {
74                                 reg = <f>;
75                                 device_type = "ethernet-phy";
76                         };
77                 };
78
79                 ethernet@e00 {
80                         device_type = "network";
81                         compatible = "fsl,mpc866-fec-enet",
82                                      "fsl,pq1-fec-enet";
83                         reg = <e00 188>;
84                         local-mac-address = [ 00 00 00 00 00 00 ];
85                         interrupts = <3 1>;
86                         interrupt-parent = <&PIC>;
87                         phy-handle = <&PHY>;
88                         linux,network-index = <0>;
89                 };
90
91                 PIC: pic@0 {
92                         interrupt-controller;
93                         #interrupt-cells = <2>;
94                         reg = <0 24>;
95                         compatible = "fsl,mpc866-pic", "fsl,pq1-pic";
96                 };
97
98                 cpm@9c0 {
99                         #address-cells = <1>;
100                         #size-cells = <1>;
101                         compatible = "fsl,mpc866-cpm", "fsl,cpm1";
102                         ranges;
103                         reg = <9c0 40>;
104                         brg-frequency = <0>;
105                         interrupts = <0 2>;     // cpm error interrupt
106                         interrupt-parent = <&CPM_PIC>;
107
108                         muram@2000 {
109                                 #address-cells = <1>;
110                                 #size-cells = <1>;
111                                 ranges = <0 2000 2000>;
112
113                                 data@0 {
114                                         compatible = "fsl,cpm-muram-data";
115                                         reg = <0 1c00>;
116                                 };
117                         };
118
119                         brg@9f0 {
120                                 compatible = "fsl,mpc866-brg",
121                                              "fsl,cpm1-brg",
122                                              "fsl,cpm-brg";
123                                 reg = <9f0 10>;
124                                 clock-frequency = <0>;
125                         };
126
127                         CPM_PIC: pic@930 {
128                                 interrupt-controller;
129                                 #address-cells = <0>;
130                                 #interrupt-cells = <1>;
131                                 interrupts = <5 2 0 2>;
132                                 interrupt-parent = <&PIC>;
133                                 reg = <930 20>;
134                                 compatible = "fsl,mpc866-cpm-pic",
135                                              "fsl,cpm1-pic";
136                         };
137
138
139                         serial@a80 {
140                                 device_type = "serial";
141                                 compatible = "fsl,mpc866-smc-uart",
142                                              "fsl,cpm1-smc-uart";
143                                 reg = <a80 10 3e80 40>;
144                                 interrupts = <4>;
145                                 interrupt-parent = <&CPM_PIC>;
146                                 fsl,cpm-brg = <1>;
147                                 fsl,cpm-command = <0090>;
148                         };
149
150                         serial@a90 {
151                                 device_type = "serial";
152                                 compatible = "fsl,mpc866-smc-uart",
153                                              "fsl,cpm1-smc-uart";
154                                 reg = <a90 10 3f80 40>;
155                                 interrupts = <3>;
156                                 interrupt-parent = <&CPM_PIC>;
157                                 fsl,cpm-brg = <2>;
158                                 fsl,cpm-command = <00d0>;
159                         };
160
161                         ethernet@a00 {
162                                 device_type = "network";
163                                 compatible = "fsl,mpc866-scc-enet",
164                                              "fsl,cpm1-scc-enet";
165                                 reg = <a00 18 3c00 100>;
166                                 local-mac-address = [ 00 00 00 00 00 00 ];
167                                 interrupts = <1e>;
168                                 interrupt-parent = <&CPM_PIC>;
169                                 fsl,cpm-command = <0000>;
170                                 linux,network-index = <1>;
171                         };
172                 };
173         };
174
175         chosen {
176                 linux,stdout-path = "/soc/cpm/serial@a80";
177         };
178 };