2 * Device Tree Source for IBM Walnut
4 * Copyright 2007 IBM Corp.
5 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
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.
16 compatible = "ibm,walnut";
17 dcr-parent = <&/cpus/cpu@0>;
31 model = "PowerPC,405GP";
33 clock-frequency = <bebc200>; /* Filled in by zImage */
34 timebase-frequency = <0>; /* Filled in by zImage */
35 i-cache-line-size = <20>;
36 d-cache-line-size = <20>;
37 i-cache-size = <4000>;
38 d-cache-size = <4000>;
40 dcr-access-method = "native";
45 device_type = "memory";
46 reg = <0 0>; /* Filled in by zImage */
49 UIC0: interrupt-controller {
50 compatible = "ibm,uic";
56 #interrupt-cells = <2>;
60 compatible = "ibm,plb3";
64 clock-frequency = <0>; /* Filled in by zImage */
66 SDRAM0: memory-controller {
67 compatible = "ibm,sdram-405gp";
72 compatible = "ibm,mcmal-405gp", "ibm,mcmal";
76 interrupt-parent = <&UIC0>;
86 compatible = "ibm,opb-405gp", "ibm,opb";
89 ranges = <ef600000 ef600000 a00000>;
91 clock-frequency = <0>; /* Filled in by zImage */
93 UART0: serial@ef600300 {
94 device_type = "serial";
95 compatible = "ns16550";
97 virtual-reg = <ef600300>;
98 clock-frequency = <0>; /* Filled in by zImage */
99 current-speed = <2580>;
100 interrupt-parent = <&UIC0>;
104 UART1: serial@ef600400 {
105 device_type = "serial";
106 compatible = "ns16550";
108 virtual-reg = <ef600400>;
109 clock-frequency = <0>; /* Filled in by zImage */
110 current-speed = <2580>;
111 interrupt-parent = <&UIC0>;
116 compatible = "ibm,iic-405gp", "ibm,iic";
118 interrupt-parent = <&UIC0>;
122 GPIO: gpio@ef600700 {
123 compatible = "ibm,gpio-405gp";
127 EMAC: ethernet@ef600800 {
128 linux,network-index = <0>;
129 device_type = "network";
130 compatible = "ibm,emac-405gp", "ibm,emac";
131 interrupt-parent = <&UIC0>;
134 9 4 /* Ethernet Wake Up */>;
135 local-mac-address = [000000000000]; /* Filled in by zImage */
138 mal-tx-channel = <0>;
139 mal-rx-channel = <0>;
141 max-frame-size = <5dc>;
142 rx-fifo-size = <1000>;
143 tx-fifo-size = <800>;
145 phy-map = <00000001>;
151 compatible = "ibm,ebc-405gp", "ibm,ebc";
153 #address-cells = <2>;
155 /* The ranges property is supplied by the bootwrapper
156 * and is based on the firmware's configuration of the
159 clock-frequency = <0>; /* Filled in by zImage */
166 compatible = "jedec-flash";
168 reg = <0 80000 80000>;
169 #address-cells = <1>;
180 compatible = "ds1743-nvram";
186 compatible = "intel,82C42PC";
191 compatible = "ti,TIR2000PAG";
196 compatible = "Walnut-FPGA";
198 virtual-reg = <f0300005>;
204 #interrupt-cells = <1>;
206 #address-cells = <3>;
207 compatible = "ibm,plb405gp-pci", "ibm,plb-pci";
209 reg = <eec00000 8 /* Config space access */
210 eed80000 4 /* IACK */
211 eed80000 4 /* Special cycle */
212 ef480000 40>; /* Internal registers */
214 /* Outbound ranges, one memory and one IO,
215 * later cannot be changed. Chip supports a second
216 * IO range but we don't use it for now
218 ranges = <02000000 0 80000000 80000000 0 20000000
219 01000000 0 00000000 e8000000 0 00010000>;
221 /* Inbound 2GB range starting at 0 */
222 dma-ranges = <42000000 0 0 0 0 80000000>;
224 /* Walnut has all 4 IRQ pins tied together per slot */
225 interrupt-map-mask = <f800 0 0 0>;
228 0800 0 0 0 &UIC0 1c 8
231 1000 0 0 0 &UIC0 1d 8
234 1800 0 0 0 &UIC0 1e 8
237 2000 0 0 0 &UIC0 1f 8
243 linux,stdout-path = "/plb/opb/serial@ef600300";