Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rric/oprofile
[pandora-kernel.git] / arch / powerpc / boot / dts / mgsuvd.dts
1 /*
2  * MGSUVD Device Tree Source
3  *
4  * Copyright 2008 DENX Software Engineering GmbH
5  * Heiko Schocher <hs@denx.de>
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 /dts-v1/;
14 / {
15         model = "MGSUVD";
16         compatible = "keymile,mgsuvd";
17         #address-cells = <1>;
18         #size-cells = <1>;
19
20         cpus {
21                 #address-cells = <1>;
22                 #size-cells = <0>;
23
24                 PowerPC,852@0 {
25                         device_type = "cpu";
26                         reg = <0>;
27                         d-cache-line-size = <16>;
28                         i-cache-line-size = <16>;
29                         d-cache-size = <8192>;
30                         i-cache-size = <8192>;
31                         timebase-frequency = <0>;       /* Filled in by u-boot */
32                         bus-frequency = <0>;            /* Filled in by u-boot */
33                         clock-frequency = <0>;          /* Filled in by u-boot */
34                         interrupts = <15 2>;            /* decrementer interrupt */
35                         interrupt-parent = <&PIC>;
36                 };
37         };
38
39         memory {
40                 device_type = "memory";
41                 reg = <00000000 0x4000000>;  /* Filled in by u-boot */
42         };
43
44         localbus@fff00100 {
45                 compatible = "fsl,mpc852-localbus", "fsl,pq1-localbus", "simple-bus";
46                 #address-cells = <2>;
47                 #size-cells = <1>;
48                 reg = <0xfff00100 0x40>;
49
50                 ranges = <0 0 0xf0000000 0x01000000>;  /* Filled in by u-boot */
51
52                 flash@0,0 {
53                         compatible = "cfi-flash";
54                         reg = <0 0 0x1000000>;
55                         #address-cells = <1>;
56                         #size-cells = <1>;
57                         bank-width = <1>;
58                         device-width = <1>;
59                         partition@0 {
60                                 label = "u-boot";
61                                 reg = <0 0x80000>;
62                         };
63                         partition@80000 {
64                                 label = "env";
65                                 reg = <0x80000 0x20000>;
66                         };
67                         partition@a0000 {
68                                 label = "kernel";
69                                 reg = <0xa0000 0x1e0000>;
70                         };
71                         partition@280000 {
72                                 label = "dtb";
73                                 reg = <0x280000 0x20000>;
74                         };
75                         partition@2a0000 {
76                                 label = "root";
77                                 reg = <0x2a0000 0x500000>;
78                         };
79                         partition@7a0000 {
80                                 label = "user";
81                                 reg = <0x7a0000 0x860000>;
82                         };
83                 };
84         };
85
86         soc@fff00000 {
87                 compatible = "fsl,mpc852", "fsl,pq1-soc", "simple-bus";
88                 #address-cells = <1>;
89                 #size-cells = <1>;
90                 device_type = "soc";
91                 ranges = <0 0xfff00000 0x00004000>;
92
93                 PIC: interrupt-controller@0 {
94                         interrupt-controller;
95                         #interrupt-cells = <2>;
96                         reg = <0 24>;
97                         compatible = "fsl,mpc852-pic", "fsl,pq1-pic";
98                 };
99
100                 cpm@9c0 {
101                         #address-cells = <1>;
102                         #size-cells = <1>;
103                         compatible = "fsl,mpc852-cpm", "fsl,cpm1", "simple-bus";
104                         interrupts = <0>;       /* cpm error interrupt */
105                         interrupt-parent = <&CPM_PIC>;
106                         reg = <0x9c0 10>;
107                         ranges;
108
109                         muram@2000 {
110                                 compatible = "fsl,cpm-muram";
111                                 #address-cells = <1>;
112                                 #size-cells = <1>;
113                                 ranges = <0 0x2000 0x2000>;
114
115                                 data@0 {
116                                         compatible = "fsl,cpm-muram-data";
117                                         reg = <0x800 0x1800>;
118                                 };
119                         };
120
121                         brg@9f0 {
122                                 compatible = "fsl,mpc852-brg",
123                                              "fsl,cpm1-brg",
124                                              "fsl,cpm-brg";
125                                 reg = <0x9f0 0x10>;
126                                 clock-frequency = <0>; /* Filled in by u-boot */
127                         };
128
129                         CPM_PIC: interrupt-controller@930 {
130                                 interrupt-controller;
131                                 #interrupt-cells = <1>;
132                                 interrupts = <5 2 0 2>;
133                                 interrupt-parent = <&PIC>;
134                                 reg = <0x930 0x20>;
135                                 compatible = "fsl,cpm1-pic";
136                         };
137
138                         /* MON-1 */
139                         serial@a80 {
140                                 device_type = "serial";
141                                 compatible = "fsl,cpm1-smc-uart";
142                                 reg = <0xa80 0x10 0x3fc0 0x40>;
143                                 interrupts = <4>;
144                                 interrupt-parent = <&CPM_PIC>;
145                                 fsl,cpm-brg = <1>;
146                                 fsl,cpm-command = <0x0090>;
147                                 current-speed = <0>; /* Filled in by u-boot */
148                         };
149
150                         ethernet@a40 {
151                                 device_type = "network";
152                                 compatible  = "fsl,mpc866-scc-enet",
153                                               "fsl,cpm1-scc-enet";
154                                 reg = <0xa40 0x18 0x3e00 0x100>;
155                                 local-mac-address = [ 00 00 00 00 00 00 ];  /* Filled in by u-boot */
156                                 interrupts = <28>;
157                                 interrupt-parent = <&CPM_PIC>;
158                                 fsl,cpm-command = <0x80>;
159                                 fixed-link = <0 0 10 0 0>;
160                         };
161                 };
162         };
163 };