Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog
[pandora-kernel.git] / arch / powerpc / boot / dts / walnut.dts
1 /*
2  * Device Tree Source for IBM Walnut
3  *
4  * Copyright 2007 IBM Corp.
5  * Josh Boyer <jwboyer@linux.vnet.ibm.com>
6  *
7  * This file is licensed under the terms of the GNU General Public
8  * License version 2.  This program is licensed "as is" without
9  * any warranty of any kind, whether express or implied.
10  */
11
12 / {
13         #address-cells = <1>;
14         #size-cells = <1>;
15         model = "ibm,walnut";
16         compatible = "ibm,walnut";
17         dcr-parent = <&/cpus/PowerPC,405GP@0>;
18
19         cpus {
20                 #address-cells = <1>;
21                 #size-cells = <0>;
22
23                 PowerPC,405GP@0 {
24                         device_type = "cpu";
25                         reg = <0>;
26                         clock-frequency = <bebc200>; /* Filled in by zImage */
27                         timebase-frequency = <0>; /* Filled in by zImage */
28                         i-cache-line-size = <20>;
29                         d-cache-line-size = <20>;
30                         i-cache-size = <4000>;
31                         d-cache-size = <4000>;
32                         dcr-controller;
33                         dcr-access-method = "native";
34                 };
35         };
36
37         memory {
38                 device_type = "memory";
39                 reg = <0 0>; /* Filled in by zImage */
40         };
41
42         UIC0: interrupt-controller {
43                 compatible = "ibm,uic";
44                 interrupt-controller;
45                 cell-index = <0>;
46                 dcr-reg = <0c0 9>;
47                 #address-cells = <0>;
48                 #size-cells = <0>;
49                 #interrupt-cells = <2>;
50         };
51
52         plb {
53                 compatible = "ibm,plb3";
54                 #address-cells = <1>;
55                 #size-cells = <1>;
56                 ranges;
57                 clock-frequency = <0>; /* Filled in by zImage */
58
59                 SDRAM0: memory-controller {
60                         compatible = "ibm,sdram-405gp";
61                         dcr-reg = <010 2>;
62                 };
63
64                 MAL: mcmal {
65                         compatible = "ibm,mcmal-405gp", "ibm,mcmal";
66                         dcr-reg = <180 62>;
67                         num-tx-chans = <1>;
68                         num-rx-chans = <1>;
69                         interrupt-parent = <&UIC0>;
70                         interrupts = <
71                                 b 4 /* TXEOB */
72                                 c 4 /* RXEOB */
73                                 a 4 /* SERR */
74                                 d 4 /* TXDE */
75                                 e 4 /* RXDE */>;
76                 };
77
78                 POB0: opb {
79                         compatible = "ibm,opb-405gp", "ibm,opb";
80                         #address-cells = <1>;
81                         #size-cells = <1>;
82                         ranges = <ef600000 ef600000 a00000>;
83                         dcr-reg = <0a0 5>;
84                         clock-frequency = <0>; /* Filled in by zImage */
85
86                         UART0: serial@ef600300 {
87                                 device_type = "serial";
88                                 compatible = "ns16550";
89                                 reg = <ef600300 8>;
90                                 virtual-reg = <ef600300>;
91                                 clock-frequency = <0>; /* Filled in by zImage */
92                                 current-speed = <2580>;
93                                 interrupt-parent = <&UIC0>;
94                                 interrupts = <0 4>;
95                         };
96
97                         UART1: serial@ef600400 {
98                                 device_type = "serial";
99                                 compatible = "ns16550";
100                                 reg = <ef600400 8>;
101                                 virtual-reg = <ef600400>;
102                                 clock-frequency = <0>; /* Filled in by zImage */
103                                 current-speed = <2580>;
104                                 interrupt-parent = <&UIC0>;
105                                 interrupts = <1 4>;
106                         };
107
108                         IIC: i2c@ef600500 {
109                                 compatible = "ibm,iic-405gp", "ibm,iic";
110                                 reg = <ef600500 11>;
111                                 interrupt-parent = <&UIC0>;
112                                 interrupts = <2 4>;
113                         };
114
115                         GPIO: gpio@ef600700 {
116                                 compatible = "ibm,gpio-405gp";
117                                 reg = <ef600700 20>;
118                         };
119
120                         EMAC: ethernet@ef600800 {
121                                 linux,network-index = <0>;
122                                 device_type = "network";
123                                 compatible = "ibm,emac-405gp", "ibm,emac";
124                                 interrupt-parent = <&UIC0>;
125                                 interrupts = <9 4 f 4>;
126                                 local-mac-address = [000000000000]; /* Filled in by zImage */
127                                 reg = <ef600800 70>;
128                                 mal-device = <&MAL>;
129                                 mal-tx-channel = <0>;
130                                 mal-rx-channel = <0>;
131                                 cell-index = <0>;
132                                 max-frame-size = <5dc>;
133                                 rx-fifo-size = <1000>;
134                                 tx-fifo-size = <800>;
135                                 phy-mode = "rmii";
136                                 phy-map = <00000001>;
137                         };
138
139                 };
140
141                 EBC0: ebc {
142                         compatible = "ibm,ebc-405gp", "ibm,ebc";
143                         dcr-reg = <012 2>;
144                         #address-cells = <2>;
145                         #size-cells = <1>;
146                         /* The ranges property is supplied by the bootwrapper
147                          * and is based on the firmware's configuration of the
148                          * EBC bridge
149                          */
150                         clock-frequency = <0>; /* Filled in by zImage */
151
152                         sram@0,0 {
153                                 reg = <0 0 80000>;
154                         };
155
156                         flash@0,80000 {
157                                 compatible = "jedec-flash";
158                                 bank-width = <1>;
159                                 reg = <0 80000 80000>;
160                                 #address-cells = <1>;
161                                 #size-cells = <1>;
162                                 partition@0 {
163                                         label = "OpenBIOS";
164                                         reg = <0 80000>;
165                                         read-only;
166                                 };
167                         };
168
169                         ds1743@1,0 {
170                                 /* NVRAM and RTC */
171                                 compatible = "ds1743";
172                                 reg = <1 0 2000>;
173                         };
174
175                         keyboard@2,0 {
176                                 compatible = "intel,82C42PC";
177                                 reg = <2 0 2>;
178                         };
179
180                         ir@3,0 {
181                                 compatible = "ti,TIR2000PAG";
182                                 reg = <3 0 10>;
183                         };
184
185                         fpga@7,0 {
186                                 compatible = "Walnut-FPGA";
187                                 reg = <7 0 10>;
188                                 virtual-reg = <f0300005>;
189                         };
190                 };
191         };
192
193         chosen {
194                 linux,stdout-path = "/plb/opb/serial@ef600300";
195         };
196 };