Merge branch 'for-linus' of git://git.o-hand.com/linux-rpurdie-backlight
[linux-2.6] / arch / powerpc / boot / dts / ep88xc.dts
1 /*
2  * EP88xC Device Tree Source
3  *
4  * Copyright 2006 MontaVista Software, Inc.
5  * Copyright 2007 Freescale Semiconductor, Inc.
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 = "EP88xC";
16         compatible = "fsl,ep88xc";
17         #address-cells = <1>;
18         #size-cells = <1>;
19
20         cpus {
21                 #address-cells = <1>;
22                 #size-cells = <0>;
23
24                 PowerPC,885@0 {
25                         device_type = "cpu";
26                         reg = <0>;
27                         d-cache-line-size = <d#16>;
28                         i-cache-line-size = <d#16>;
29                         d-cache-size = <d#8192>;
30                         i-cache-size = <d#8192>;
31                         timebase-frequency = <0>;
32                         bus-frequency = <0>;
33                         clock-frequency = <0>;
34                         interrupts = <f 2>;     // decrementer interrupt
35                         interrupt-parent = <&PIC>;
36                 };
37         };
38
39         memory {
40                 device_type = "memory";
41                 reg = <0 0>;
42         };
43
44         localbus@fa200100 {
45                 compatible = "fsl,mpc885-localbus", "fsl,pq1-localbus";
46                 #address-cells = <2>;
47                 #size-cells = <1>;
48                 reg = <fa200100 40>;
49
50                 ranges = <
51                         0 0 fc000000 04000000
52                         3 0 fa000000 01000000
53                 >;
54
55                 flash@0,2000000 {
56                         compatible = "cfi-flash";
57                         reg = <0 2000000 2000000>;
58                         bank-width = <4>;
59                         device-width = <2>;
60                 };
61
62                 board-control@3,400000 {
63                         reg = <3 400000 10>;
64                         compatible = "fsl,ep88xc-bcsr";
65                 };
66         };
67
68         soc@fa200000 {
69                 compatible = "fsl,mpc885", "fsl,pq1-soc";
70                 #address-cells = <1>;
71                 #size-cells = <1>;
72                 device_type = "soc";
73                 ranges = <0 fa200000 00004000>;
74                 bus-frequency = <0>;
75
76                 // Temporary -- will go away once kernel uses ranges for get_immrbase().
77                 reg = <fa200000 4000>;
78
79                 mdio@e00 {
80                         compatible = "fsl,mpc885-fec-mdio", "fsl,pq1-fec-mdio";
81                         reg = <e00 188>;
82                         #address-cells = <1>;
83                         #size-cells = <0>;
84
85                         PHY0: ethernet-phy@0 {
86                                 reg = <0>;
87                                 device_type = "ethernet-phy";
88                         };
89
90                         PHY1: ethernet-phy@1 {
91                                 reg = <1>;
92                                 device_type = "ethernet-phy";
93                         };
94                 };
95
96                 ethernet@e00 {
97                         device_type = "network";
98                         compatible = "fsl,mpc885-fec-enet",
99                                      "fsl,pq1-fec-enet";
100                         reg = <e00 188>;
101                         local-mac-address = [ 00 00 00 00 00 00 ];
102                         interrupts = <3 1>;
103                         interrupt-parent = <&PIC>;
104                         phy-handle = <&PHY0>;
105                         linux,network-index = <0>;
106                 };
107
108                 ethernet@1e00 {
109                         device_type = "network";
110                         compatible = "fsl,mpc885-fec-enet",
111                                      "fsl,pq1-fec-enet";
112                         reg = <1e00 188>;
113                         local-mac-address = [ 00 00 00 00 00 00 ];
114                         interrupts = <7 1>;
115                         interrupt-parent = <&PIC>;
116                         phy-handle = <&PHY1>;
117                         linux,network-index = <1>;
118                 };
119
120                 PIC: interrupt-controller@0 {
121                         interrupt-controller;
122                         #interrupt-cells = <2>;
123                         reg = <0 24>;
124                         compatible = "fsl,mpc885-pic", "fsl,pq1-pic";
125                 };
126
127                 pcmcia@80 {
128                         #address-cells = <3>;
129                         #interrupt-cells = <1>;
130                         #size-cells = <2>;
131                         compatible = "fsl,pq-pcmcia";
132                         device_type = "pcmcia";
133                         reg = <80 80>;
134                         interrupt-parent = <&PIC>;
135                         interrupts = <d 1>;
136                 };
137
138                 cpm@9c0 {
139                         #address-cells = <1>;
140                         #size-cells = <1>;
141                         compatible = "fsl,mpc885-cpm", "fsl,cpm1";
142                         command-proc = <9c0>;
143                         interrupts = <0>;       // cpm error interrupt
144                         interrupt-parent = <&CPM_PIC>;
145                         reg = <9c0 40>;
146                         ranges;
147
148                         muram@2000 {
149                                 #address-cells = <1>;
150                                 #size-cells = <1>;
151                                 ranges = <0 2000 2000>;
152
153                                 data@0 {
154                                         compatible = "fsl,cpm-muram-data";
155                                         reg = <0 1c00>;
156                                 };
157                         };
158
159                         brg@9f0 {
160                                 compatible = "fsl,mpc885-brg",
161                                              "fsl,cpm1-brg",
162                                              "fsl,cpm-brg";
163                                 reg = <9f0 10>;
164                         };
165
166                         CPM_PIC: interrupt-controller@930 {
167                                 interrupt-controller;
168                                 #interrupt-cells = <1>;
169                                 interrupts = <5 2 0 2>;
170                                 interrupt-parent = <&PIC>;
171                                 reg = <930 20>;
172                                 compatible = "fsl,mpc885-cpm-pic",
173                                              "fsl,cpm1-pic";
174                         };
175
176                         // MON-1
177                         serial@a80 {
178                                 device_type = "serial";
179                                 compatible = "fsl,mpc885-smc-uart",
180                                              "fsl,cpm1-smc-uart";
181                                 reg = <a80 10 3e80 40>;
182                                 interrupts = <4>;
183                                 interrupt-parent = <&CPM_PIC>;
184                                 fsl,cpm-brg = <1>;
185                                 fsl,cpm-command = <0090>;
186                                 linux,planetcore-label = "SMC1";
187                         };
188
189                         // SER-1
190                         serial@a20 {
191                                 device_type = "serial";
192                                 compatible = "fsl,mpc885-scc-uart",
193                                              "fsl,cpm1-scc-uart";
194                                 reg = <a20 20 3d00 80>;
195                                 interrupts = <1d>;
196                                 interrupt-parent = <&CPM_PIC>;
197                                 fsl,cpm-brg = <2>;
198                                 fsl,cpm-command = <0040>;
199                                 linux,planetcore-label = "SCC2";
200                         };
201
202                         usb@a00 {
203                                 #address-cells = <1>;
204                                 #size-cells = <0>;
205                                 compatible = "fsl,mpc885-usb",
206                                              "fsl,cpm1-usb";
207                                 reg = <a00 18 1c00 80>;
208                                 interrupt-parent = <&CPM_PIC>;
209                                 interrupts = <1e>;
210                                 fsl,cpm-command = <0000>;
211                         };
212                 };
213         };
214 };