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.
18 compatible = "ibm,walnut";
19 dcr-parent = <&{/cpus/cpu@0}>;
33 model = "PowerPC,405GP";
35 clock-frequency = <200000000>; /* Filled in by zImage */
36 timebase-frequency = <0>; /* Filled in by zImage */
37 i-cache-line-size = <32>;
38 d-cache-line-size = <32>;
39 i-cache-size = <16384>;
40 d-cache-size = <16384>;
42 dcr-access-method = "native";
47 device_type = "memory";
48 reg = <0x00000000 0x00000000>; /* Filled in by zImage */
51 UIC0: interrupt-controller {
52 compatible = "ibm,uic";
55 dcr-reg = <0x0c0 0x009>;
58 #interrupt-cells = <2>;
62 compatible = "ibm,plb3";
66 clock-frequency = <0>; /* Filled in by zImage */
68 SDRAM0: memory-controller {
69 compatible = "ibm,sdram-405gp";
70 dcr-reg = <0x010 0x002>;
74 compatible = "ibm,mcmal-405gp", "ibm,mcmal";
75 dcr-reg = <0x180 0x062>;
78 interrupt-parent = <&UIC0>;
88 compatible = "ibm,opb-405gp", "ibm,opb";
91 ranges = <0xef600000 0xef600000 0x00a00000>;
92 dcr-reg = <0x0a0 0x005>;
93 clock-frequency = <0>; /* Filled in by zImage */
95 UART0: serial@ef600300 {
96 device_type = "serial";
97 compatible = "ns16550";
98 reg = <0xef600300 0x00000008>;
99 virtual-reg = <0xef600300>;
100 clock-frequency = <0>; /* Filled in by zImage */
101 current-speed = <9600>;
102 interrupt-parent = <&UIC0>;
103 interrupts = <0x0 0x4>;
106 UART1: serial@ef600400 {
107 device_type = "serial";
108 compatible = "ns16550";
109 reg = <0xef600400 0x00000008>;
110 virtual-reg = <0xef600400>;
111 clock-frequency = <0>; /* Filled in by zImage */
112 current-speed = <9600>;
113 interrupt-parent = <&UIC0>;
114 interrupts = <0x1 0x4>;
118 compatible = "ibm,iic-405gp", "ibm,iic";
119 reg = <0xef600500 0x00000011>;
120 interrupt-parent = <&UIC0>;
121 interrupts = <0x2 0x4>;
124 GPIO: gpio@ef600700 {
125 compatible = "ibm,gpio-405gp";
126 reg = <0xef600700 0x00000020>;
129 EMAC: ethernet@ef600800 {
130 device_type = "network";
131 compatible = "ibm,emac-405gp", "ibm,emac";
132 interrupt-parent = <&UIC0>;
134 0xf 0x4 /* Ethernet */
135 0x9 0x4 /* Ethernet Wake Up */>;
136 local-mac-address = [000000000000]; /* Filled in by zImage */
137 reg = <0xef600800 0x00000070>;
139 mal-tx-channel = <0>;
140 mal-rx-channel = <0>;
142 max-frame-size = <1500>;
143 rx-fifo-size = <4096>;
144 tx-fifo-size = <2048>;
146 phy-map = <0x00000001>;
152 compatible = "ibm,ebc-405gp", "ibm,ebc";
153 dcr-reg = <0x012 0x002>;
154 #address-cells = <2>;
156 /* The ranges property is supplied by the bootwrapper
157 * and is based on the firmware's configuration of the
160 clock-frequency = <0>; /* Filled in by zImage */
163 reg = <0x00000000 0x00000000 0x00080000>;
167 compatible = "jedec-flash";
169 reg = <0x00000000 0x00080000 0x00080000>;
170 #address-cells = <1>;
174 reg = <0x00000000 0x00080000>;
181 compatible = "ds1743-nvram";
183 reg = <0x00000001 0x00000000 0x00002000>;
187 compatible = "intel,82C42PC";
188 reg = <0x00000002 0x00000000 0x00000002>;
192 compatible = "ti,TIR2000PAG";
193 reg = <0x00000003 0x00000000 0x00000010>;
197 compatible = "Walnut-FPGA";
198 reg = <0x00000007 0x00000000 0x00000010>;
199 virtual-reg = <0xf0300005>;
205 #interrupt-cells = <1>;
207 #address-cells = <3>;
208 compatible = "ibm,plb405gp-pci", "ibm,plb-pci";
210 reg = <0xeec00000 0x00000008 /* Config space access */
211 0xeed80000 0x00000004 /* IACK */
212 0xeed80000 0x00000004 /* Special cycle */
213 0xef480000 0x00000040>; /* Internal registers */
215 /* Outbound ranges, one memory and one IO,
216 * later cannot be changed. Chip supports a second
217 * IO range but we don't use it for now
219 ranges = <0x02000000 0x00000000 0x80000000 0x80000000 0x00000000 0x20000000
220 0x01000000 0x00000000 0x00000000 0xe8000000 0x00000000 0x00010000>;
222 /* Inbound 2GB range starting at 0 */
223 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>;
225 /* Walnut has all 4 IRQ pins tied together per slot */
226 interrupt-map-mask = <0xf800 0x0 0x0 0x0>;
229 0x800 0x0 0x0 0x0 &UIC0 0x1c 0x8
232 0x1000 0x0 0x0 0x0 &UIC0 0x1d 0x8
235 0x1800 0x0 0x0 0x0 &UIC0 0x1e 0x8
238 0x2000 0x0 0x0 0x0 &UIC0 0x1f 0x8
244 stdout-path = "/plb/opb/serial@ef600300";