]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blob - arch/powerpc/boot/dts/gef_sbc610.dts
sched: sched_slice() fixlet
[linux-2.6-omap-h63xx.git] / arch / powerpc / boot / dts / gef_sbc610.dts
1 /*
2  * GE Fanuc SBC610 Device Tree Source
3  *
4  * Copyright 2008 GE Fanuc Intelligent Platforms Embedded Systems, 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  * Based on: SBS CM6 Device Tree Source
12  * Copyright 2007 SBS Technologies GmbH & Co. KG
13  * And: mpc8641_hpcn.dts (MPC8641 HPCN Device Tree Source)
14  * Copyright 2006 Freescale Semiconductor Inc.
15  */
16
17 /*
18  * Compiled with dtc -I dts -O dtb -o gef_sbc610.dtb gef_sbc610.dts
19  */
20
21 /dts-v1/;
22
23 / {
24         model = "GEF_SBC610";
25         compatible = "gef,sbc610";
26         #address-cells = <1>;
27         #size-cells = <1>;
28
29         aliases {
30                 ethernet0 = &enet0;
31                 ethernet1 = &enet1;
32                 serial0 = &serial0;
33                 serial1 = &serial1;
34                 pci0 = &pci0;
35         };
36
37         cpus {
38                 #address-cells = <1>;
39                 #size-cells = <0>;
40
41                 PowerPC,8641@0 {
42                         device_type = "cpu";
43                         reg = <0>;
44                         d-cache-line-size = <32>;       // 32 bytes
45                         i-cache-line-size = <32>;       // 32 bytes
46                         d-cache-size = <32768>;         // L1, 32K
47                         i-cache-size = <32768>;         // L1, 32K
48                         timebase-frequency = <0>;       // From uboot
49                         bus-frequency = <0>;            // From uboot
50                         clock-frequency = <0>;          // From uboot
51                 };
52                 PowerPC,8641@1 {
53                         device_type = "cpu";
54                         reg = <1>;
55                         d-cache-line-size = <32>;       // 32 bytes
56                         i-cache-line-size = <32>;       // 32 bytes
57                         d-cache-size = <32768>;         // L1, 32K
58                         i-cache-size = <32768>;         // L1, 32K
59                         timebase-frequency = <0>;       // From uboot
60                         bus-frequency = <0>;            // From uboot
61                         clock-frequency = <0>;          // From uboot
62                 };
63         };
64
65         memory {
66                 device_type = "memory";
67                 reg = <0x0 0x40000000>; // set by uboot
68         };
69
70         localbus@fef05000 {
71                 #address-cells = <2>;
72                 #size-cells = <1>;
73                 compatible = "fsl,mpc8641-localbus", "simple-bus";
74                 reg = <0xf8005000 0x1000>;
75                 interrupts = <19 2>;
76                 interrupt-parent = <&mpic>;
77
78                 ranges = <0 0 0xff000000 0x01000000     // 16MB Boot flash
79                           1 0 0xe8000000 0x08000000     // Paged Flash 0
80                           2 0 0xe0000000 0x08000000     // Paged Flash 1
81                           3 0 0xfc100000 0x00020000     // NVRAM
82                           4 0 0xfc000000 0x00008000     // FPGA
83                           5 0 0xfc008000 0x00008000     // AFIX FPGA
84                           6 0 0xfd000000 0x00800000     // IO FPGA (8-bit)
85                           7 0 0xfd800000 0x00800000>;   // IO FPGA (32-bit)
86
87                 fpga@4,0 {
88                         compatible = "gef,fpga-regs";
89                         reg = <0x4 0x0 0x40>;
90                 };
91                 gef_pic: pic@4,4000 {
92                         #interrupt-cells = <1>;
93                         interrupt-controller;
94                         compatible = "gef,fpga-pic";
95                         reg = <0x4 0x4000 0x20>;
96                         interrupts = <0x8
97                                       0x9>;
98                         interrupt-parent = <&mpic>;
99
100                 };
101                 gef_gpio: gpio@7,14000 {
102                         #gpio-cells = <2>;
103                         compatible = "gef,sbc610-gpio";
104                         reg = <0x7 0x14000 0x24>;
105                         gpio-controller;
106                 };
107         };
108
109         soc@fef00000 {
110                 #address-cells = <1>;
111                 #size-cells = <1>;
112                 #interrupt-cells = <2>;
113                 device_type = "soc";
114                 compatible = "simple-bus";
115                 ranges = <0x0 0xfef00000 0x00100000>;
116                 reg = <0xfef00000 0x100000>;    // CCSRBAR 1M
117                 bus-frequency = <33333333>;
118
119                 i2c1: i2c@3000 {
120                         #address-cells = <1>;
121                         #size-cells = <0>;
122                         compatible = "fsl-i2c";
123                         reg = <0x3000 0x100>;
124                         interrupts = <0x2b 0x2>;
125                         interrupt-parent = <&mpic>;
126                         dfsrr;
127
128                         rtc@51 {
129                                 compatible = "epson,rx8581";
130                                 reg = <0x00000051>;
131                         };
132
133                         eti@6b {
134                                 compatible = "dallas,ds1682";
135                                 reg = <0x6b>;
136                         };
137                 };
138
139                 i2c2: i2c@3100 {
140                         #address-cells = <1>;
141                         #size-cells = <0>;
142                         compatible = "fsl-i2c";
143                         reg = <0x3100 0x100>;
144                         interrupts = <0x2b 0x2>;
145                         interrupt-parent = <&mpic>;
146                         dfsrr;
147                 };
148
149                 dma@21300 {
150                         #address-cells = <1>;
151                         #size-cells = <1>;
152                         compatible = "fsl,mpc8641-dma", "fsl,eloplus-dma";
153                         reg = <0x21300 0x4>;
154                         ranges = <0x0 0x21100 0x200>;
155                         cell-index = <0>;
156                         dma-channel@0 {
157                                 compatible = "fsl,mpc8641-dma-channel",
158                                            "fsl,eloplus-dma-channel";
159                                 reg = <0x0 0x80>;
160                                 cell-index = <0>;
161                                 interrupt-parent = <&mpic>;
162                                 interrupts = <20 2>;
163                         };
164                         dma-channel@80 {
165                                 compatible = "fsl,mpc8641-dma-channel",
166                                            "fsl,eloplus-dma-channel";
167                                 reg = <0x80 0x80>;
168                                 cell-index = <1>;
169                                 interrupt-parent = <&mpic>;
170                                 interrupts = <21 2>;
171                         };
172                         dma-channel@100 {
173                                 compatible = "fsl,mpc8641-dma-channel",
174                                            "fsl,eloplus-dma-channel";
175                                 reg = <0x100 0x80>;
176                                 cell-index = <2>;
177                                 interrupt-parent = <&mpic>;
178                                 interrupts = <22 2>;
179                         };
180                         dma-channel@180 {
181                                 compatible = "fsl,mpc8641-dma-channel",
182                                            "fsl,eloplus-dma-channel";
183                                 reg = <0x180 0x80>;
184                                 cell-index = <3>;
185                                 interrupt-parent = <&mpic>;
186                                 interrupts = <23 2>;
187                         };
188                 };
189
190                 mdio@24520 {
191                         #address-cells = <1>;
192                         #size-cells = <0>;
193                         compatible = "fsl,gianfar-mdio";
194                         reg = <0x24520 0x20>;
195
196                         phy0: ethernet-phy@0 {
197                                 interrupt-parent = <&gef_pic>;
198                                 interrupts = <0x9 0x4>;
199                                 reg = <1>;
200                         };
201                         phy2: ethernet-phy@2 {
202                                 interrupt-parent = <&gef_pic>;
203                                 interrupts = <0x8 0x4>;
204                                 reg = <3>;
205                         };
206                 };
207
208                 enet0: ethernet@24000 {
209                         device_type = "network";
210                         model = "eTSEC";
211                         compatible = "gianfar";
212                         reg = <0x24000 0x1000>;
213                         local-mac-address = [ 00 00 00 00 00 00 ];
214                         interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>;
215                         interrupt-parent = <&mpic>;
216                         phy-handle = <&phy0>;
217                         phy-connection-type = "gmii";
218                 };
219
220                 enet1: ethernet@26000 {
221                         device_type = "network";
222                         model = "eTSEC";
223                         compatible = "gianfar";
224                         reg = <0x26000 0x1000>;
225                         local-mac-address = [ 00 00 00 00 00 00 ];
226                         interrupts = <0x1f 0x2 0x20 0x2 0x21 0x2>;
227                         interrupt-parent = <&mpic>;
228                         phy-handle = <&phy2>;
229                         phy-connection-type = "gmii";
230                 };
231
232                 serial0: serial@4500 {
233                         cell-index = <0>;
234                         device_type = "serial";
235                         compatible = "ns16550";
236                         reg = <0x4500 0x100>;
237                         clock-frequency = <0>;
238                         interrupts = <0x2a 0x2>;
239                         interrupt-parent = <&mpic>;
240                 };
241
242                 serial1: serial@4600 {
243                         cell-index = <1>;
244                         device_type = "serial";
245                         compatible = "ns16550";
246                         reg = <0x4600 0x100>;
247                         clock-frequency = <0>;
248                         interrupts = <0x1c 0x2>;
249                         interrupt-parent = <&mpic>;
250                 };
251
252                 mpic: pic@40000 {
253                         clock-frequency = <0>;
254                         interrupt-controller;
255                         #address-cells = <0>;
256                         #interrupt-cells = <2>;
257                         reg = <0x40000 0x40000>;
258                         compatible = "chrp,open-pic";
259                         device_type = "open-pic";
260                 };
261
262                 global-utilities@e0000 {
263                         compatible = "fsl,mpc8641-guts";
264                         reg = <0xe0000 0x1000>;
265                         fsl,has-rstcr;
266                 };
267         };
268
269         pci0: pcie@fef08000 {
270                 compatible = "fsl,mpc8641-pcie";
271                 device_type = "pci";
272                 #interrupt-cells = <1>;
273                 #size-cells = <2>;
274                 #address-cells = <3>;
275                 reg = <0xfef08000 0x1000>;
276                 bus-range = <0x0 0xff>;
277                 ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x40000000
278                           0x01000000 0x0 0x00000000 0xfe000000 0x0 0x00400000>;
279                 clock-frequency = <33333333>;
280                 interrupt-parent = <&mpic>;
281                 interrupts = <0x18 0x2>;
282                 interrupt-map-mask = <0xf800 0x0 0x0 0x7>;
283                 interrupt-map = <
284                         0x0000 0x0 0x0 0x1 &mpic 0x0 0x1
285                         0x0000 0x0 0x0 0x2 &mpic 0x1 0x1
286                         0x0000 0x0 0x0 0x3 &mpic 0x2 0x1
287                         0x0000 0x0 0x0 0x4 &mpic 0x3 0x1
288                 >;
289
290                 pcie@0 {
291                         reg = <0 0 0 0 0>;
292                         #size-cells = <2>;
293                         #address-cells = <3>;
294                         device_type = "pci";
295                         ranges = <0x02000000 0x0 0x80000000
296                                   0x02000000 0x0 0x80000000
297                                   0x0 0x40000000
298
299                                   0x01000000 0x0 0x00000000
300                                   0x01000000 0x0 0x00000000
301                                   0x0 0x00400000>;
302                 };
303         };
304 };