Merge branch 'release' of git://lm-sensors.org/kernel/mhoffman/hwmon-2.6
[linux-2.6] / 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 = <2>;
68                         num-rx-chans = <1>;
69                         interrupt-parent = <&UIC0>;
70                         interrupts = <a 4 b 4 c 4 d 4 e 4>;
71                 };
72
73                 POB0: opb {
74                         compatible = "ibm,opb-405gp", "ibm,opb";
75                         #address-cells = <1>;
76                         #size-cells = <1>;
77                         ranges = <ef600000 ef600000 a00000>;
78                         dcr-reg = <0a0 5>;
79                         clock-frequency = <0>; /* Filled in by zImage */
80
81                         UART0: serial@ef600300 {
82                                 device_type = "serial";
83                                 compatible = "ns16550";
84                                 reg = <ef600300 8>;
85                                 virtual-reg = <ef600300>;
86                                 clock-frequency = <0>; /* Filled in by zImage */
87                                 current-speed = <2580>;
88                                 interrupt-parent = <&UIC0>;
89                                 interrupts = <0 4>;
90                         };
91
92                         UART1: serial@ef600400 {
93                                 device_type = "serial";
94                                 compatible = "ns16550";
95                                 reg = <ef600400 8>;
96                                 virtual-reg = <ef600400>;
97                                 clock-frequency = <0>; /* Filled in by zImage */
98                                 current-speed = <2580>;
99                                 interrupt-parent = <&UIC0>;
100                                 interrupts = <1 4>;
101                         };
102
103                         IIC: i2c@ef600500 {
104                                 compatible = "ibm,iic-405gp", "ibm,iic";
105                                 reg = <ef600500 11>;
106                                 interrupt-parent = <&UIC0>;
107                                 interrupts = <2 4>;
108                         };
109
110                         GPIO: gpio@ef600700 {
111                                 compatible = "ibm,gpio-405gp";
112                                 reg = <ef600700 20>;
113                         };
114
115                         EMAC: ethernet@ef600800 {
116                                 linux,network-index = <0>;
117                                 device_type = "network";
118                                 compatible = "ibm,emac-405gp", "ibm,emac";
119                                 interrupt-parent = <&UIC0>;
120                                 interrupts = <9 4 f 4>;
121                                 reg = <ef600800 70>;
122                                 mal-device = <&MAL>;
123                                 mal-tx-channel = <0 1>;
124                                 mal-rx-channel = <0>;
125                                 cell-index = <0>;
126                                 max-frame-size = <5dc>;
127                                 rx-fifo-size = <1000>;
128                                 tx-fifo-size = <800>;
129                                 phy-mode = "rmii";
130                                 phy-map = <00000001>;
131                         };
132
133                 };
134
135                 EBC0: ebc {
136                         compatible = "ibm,ebc-405gp", "ibm,ebc";
137                         dcr-reg = <012 2>;
138                         #address-cells = <2>;
139                         #size-cells = <1>;
140                         /* The ranges property is supplied by the bootwrapper
141                          * and is based on the firmware's configuration of the
142                          * EBC bridge
143                          */
144                         clock-frequency = <0>; /* Filled in by zImage */
145
146                         sram@0,0 {
147                                 reg = <0 0 80000>;
148                         };
149
150                         flash@0,80000 {
151                                 compatible = "jedec-flash";
152                                 bank-width = <1>;
153                                 reg = <0 80000 80000>;
154                                 #address-cells = <1>;
155                                 #size-cells = <1>;
156                                 partition@0 {
157                                         label = "OpenBIOS";
158                                         reg = <0 80000>;
159                                         read-only;
160                                 };
161                         };
162
163                         ds1743@1,0 {
164                                 /* NVRAM and RTC */
165                                 compatible = "ds1743";
166                                 reg = <1 0 2000>;
167                         };
168
169                         keyboard@2,0 {
170                                 compatible = "intel,82C42PC";
171                                 reg = <2 0 2>;
172                         };
173
174                         ir@3,0 {
175                                 compatible = "ti,TIR2000PAG";
176                                 reg = <3 0 10>;
177                         };
178
179                         fpga@7,0 {
180                                 compatible = "Walnut-FPGA";
181                                 reg = <7 0 10>;
182                                 virtual-reg = <f0300005>;
183                         };
184                 };
185         };
186
187         chosen {
188                 linux,stdout-path = "/plb/opb/serial@ef600300";
189         };
190 };