2 * Device Tree Source for AMCC Haleakala (405EXr)
4 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without
8 * any warranty of any kind, whether express or implied.
16 model = "amcc,haleakala";
17 compatible = "amcc,haleakala", "amcc,kilauea";
18 dcr-parent = <&{/cpus/cpu@0}>;
32 model = "PowerPC,405EXr";
34 clock-frequency = <0>; /* Filled in by U-Boot */
35 timebase-frequency = <0>; /* Filled in by U-Boot */
36 i-cache-line-size = <32>;
37 d-cache-line-size = <32>;
38 i-cache-size = <16384>; /* 16 kB */
39 d-cache-size = <16384>; /* 16 kB */
41 dcr-access-method = "native";
46 device_type = "memory";
47 reg = <0x00000000 0x00000000>; /* Filled in by U-Boot */
50 UIC0: interrupt-controller {
51 compatible = "ibm,uic-405exr", "ibm,uic";
54 dcr-reg = <0x0c0 0x009>;
57 #interrupt-cells = <2>;
60 UIC1: interrupt-controller1 {
61 compatible = "ibm,uic-405exr","ibm,uic";
64 dcr-reg = <0x0d0 0x009>;
67 #interrupt-cells = <2>;
68 interrupts = <0x1e 0x4 0x1f 0x4>; /* cascade */
69 interrupt-parent = <&UIC0>;
72 UIC2: interrupt-controller2 {
73 compatible = "ibm,uic-405exr","ibm,uic";
76 dcr-reg = <0x0e0 0x009>;
79 #interrupt-cells = <2>;
80 interrupts = <0x1c 0x4 0x1d 0x4>; /* cascade */
81 interrupt-parent = <&UIC0>;
85 compatible = "ibm,plb-405exr", "ibm,plb4";
89 clock-frequency = <0>; /* Filled in by U-Boot */
91 SDRAM0: memory-controller {
92 compatible = "ibm,sdram-405exr", "ibm,sdram-4xx-ddr2";
93 dcr-reg = <0x010 0x002>;
94 interrupt-parent = <&UIC2>;
95 interrupts = <0x5 0x4 /* ECC DED Error */
96 0x6 0x4>; /* ECC SEC Error */
100 compatible = "ibm,mcmal-405exr", "ibm,mcmal2";
101 dcr-reg = <0x180 0x062>;
104 interrupt-parent = <&MAL0>;
105 interrupts = <0x0 0x1 0x2 0x3 0x4>;
106 #interrupt-cells = <1>;
107 #address-cells = <0>;
109 interrupt-map = </*TXEOB*/ 0x0 &UIC0 0xa 0x4
110 /*RXEOB*/ 0x1 &UIC0 0xb 0x4
111 /*SERR*/ 0x2 &UIC1 0x0 0x4
112 /*TXDE*/ 0x3 &UIC1 0x1 0x4
113 /*RXDE*/ 0x4 &UIC1 0x2 0x4>;
114 interrupt-map-mask = <0xffffffff>;
118 compatible = "ibm,opb-405exr", "ibm,opb";
119 #address-cells = <1>;
121 ranges = <0x80000000 0x80000000 0x10000000
122 0xef600000 0xef600000 0x00a00000
123 0xf0000000 0xf0000000 0x10000000>;
124 dcr-reg = <0x0a0 0x005>;
125 clock-frequency = <0>; /* Filled in by U-Boot */
128 compatible = "ibm,ebc-405exr", "ibm,ebc";
129 dcr-reg = <0x012 0x002>;
130 #address-cells = <2>;
132 clock-frequency = <0>; /* Filled in by U-Boot */
133 /* ranges property is supplied by U-Boot */
134 interrupts = <0x5 0x1>;
135 interrupt-parent = <&UIC1>;
138 compatible = "amd,s29gl512n", "cfi-flash";
140 reg = <0x00000000 0x00000000 0x04000000>;
141 #address-cells = <1>;
145 reg = <0x00000000 0x00200000>;
149 reg = <0x00200000 0x00200000>;
153 reg = <0x00400000 0x03b60000>;
157 reg = <0x03f60000 0x00040000>;
161 reg = <0x03fa0000 0x00060000>;
166 UART0: serial@ef600200 {
167 device_type = "serial";
168 compatible = "ns16550";
169 reg = <0xef600200 0x00000008>;
170 virtual-reg = <0xef600200>;
171 clock-frequency = <0>; /* Filled in by U-Boot */
173 interrupt-parent = <&UIC0>;
174 interrupts = <0x1a 0x4>;
177 UART1: serial@ef600300 {
178 device_type = "serial";
179 compatible = "ns16550";
180 reg = <0xef600300 0x00000008>;
181 virtual-reg = <0xef600300>;
182 clock-frequency = <0>; /* Filled in by U-Boot */
184 interrupt-parent = <&UIC0>;
185 interrupts = <0x1 0x4>;
189 compatible = "ibm,iic-405exr", "ibm,iic";
190 reg = <0xef600400 0x00000014>;
191 interrupt-parent = <&UIC0>;
192 interrupts = <0x2 0x4>;
196 compatible = "ibm,iic-405exr", "ibm,iic";
197 reg = <0xef600500 0x00000014>;
198 interrupt-parent = <&UIC0>;
199 interrupts = <0x7 0x4>;
203 RGMII0: emac-rgmii@ef600b00 {
204 compatible = "ibm,rgmii-405exr", "ibm,rgmii";
205 reg = <0xef600b00 0x00000104>;
209 EMAC0: ethernet@ef600900 {
210 linux,network-index = <0x0>;
211 device_type = "network";
212 compatible = "ibm,emac-405exr", "ibm,emac4sync";
213 interrupt-parent = <&EMAC0>;
214 interrupts = <0x0 0x1>;
215 #interrupt-cells = <1>;
216 #address-cells = <0>;
218 interrupt-map = </*Status*/ 0x0 &UIC0 0x18 0x4
219 /*Wake*/ 0x1 &UIC1 0x1d 0x4>;
220 reg = <0xef600900 0x000000c4>;
221 local-mac-address = [000000000000]; /* Filled in by U-Boot */
222 mal-device = <&MAL0>;
223 mal-tx-channel = <0>;
224 mal-rx-channel = <0>;
226 max-frame-size = <9000>;
227 rx-fifo-size = <4096>;
228 tx-fifo-size = <2048>;
230 phy-map = <0x00000000>;
231 rgmii-device = <&RGMII0>;
233 has-inverted-stacr-oc;
234 has-new-stacr-staopc;
238 PCIE0: pciex@0a0000000 {
240 #interrupt-cells = <1>;
242 #address-cells = <3>;
243 compatible = "ibm,plb-pciex-405ex", "ibm,plb-pciex";
245 port = <0x0>; /* port number */
246 reg = <0xa0000000 0x20000000 /* Config space access */
247 0xef000000 0x00001000>; /* Registers */
248 dcr-reg = <0x040 0x020>;
251 /* Outbound ranges, one memory and one IO,
252 * later cannot be changed
254 ranges = <0x02000000 0x00000000 0x80000000 0x90000000 0x00000000 0x08000000
255 0x01000000 0x00000000 0x00000000 0xe0000000 0x00000000 0x00010000>;
257 /* Inbound 2GB range starting at 0 */
258 dma-ranges = <0x42000000 0x0 0x0 0x0 0x0 0x80000000>;
260 /* This drives busses 0x00 to 0x3f */
261 bus-range = <0x0 0x3f>;
263 /* Legacy interrupts (note the weird polarity, the bridge seems
264 * to invert PCIe legacy interrupts).
265 * We are de-swizzling here because the numbers are actually for
266 * port of the root complex virtual P2P bridge. But I want
267 * to avoid putting a node for it in the tree, so the numbers
268 * below are basically de-swizzled numbers.
269 * The real slot is on idsel 0, so the swizzling is 1:1
271 interrupt-map-mask = <0x0 0x0 0x0 0x7>;
273 0x0 0x0 0x0 0x1 &UIC2 0x0 0x4 /* swizzled int A */
274 0x0 0x0 0x0 0x2 &UIC2 0x1 0x4 /* swizzled int B */
275 0x0 0x0 0x0 0x3 &UIC2 0x2 0x4 /* swizzled int C */
276 0x0 0x0 0x0 0x4 &UIC2 0x3 0x4 /* swizzled int D */>;