2 * Device Tree Source for EP405
4 * Copyright 2007 IBM Corp.
5 * Benjamin Herrenschmidt <benh@kernel.crashing.org>
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.
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 = <00000000>;
151 compatible = "ibm,ebc-405gp", "ibm,ebc";
153 #address-cells = <2>;
157 /* The ranges property is supplied by the bootwrapper
158 * and is based on the firmware's configuration of the
161 clock-frequency = <0>; /* Filled in by zImage */
165 compatible = "ds1742";
166 reg = <4 200000 0>; /* size fixed up by zImage */
169 /* "BCSR" CPLD contains a PCI irq controller */
171 compatible = "ep405-bcsr";
173 interrupt-controller;
175 irq-routing = [ 00 /* SYSERR */
179 02 /* NB PCIIRQ mux ? */
180 03 /* SB Winbond 8259 ? */
182 05 /* USB (ep405pc) */
196 #interrupt-cells = <1>;
198 #address-cells = <3>;
199 compatible = "ibm,plb405gp-pci", "ibm,plb-pci";
201 reg = <eec00000 8 /* Config space access */
202 eed80000 4 /* IACK */
203 eed80000 4 /* Special cycle */
204 ef480000 40>; /* Internal registers */
206 /* Outbound ranges, one memory and one IO,
207 * later cannot be changed. Chip supports a second
208 * IO range but we don't use it for now
210 ranges = <02000000 0 80000000 80000000 0 20000000
211 01000000 0 00000000 e8000000 0 00010000>;
213 /* Inbound 2GB range starting at 0 */
214 dma-ranges = <42000000 0 0 0 0 80000000>;
216 /* That's all I know about IRQs on that thing ... */
217 interrupt-map-mask = <f800 0 0 0>;
220 7000 0 0 0 &UIC0 1e 8 /* IRQ5 */
226 linux,stdout-path = "/plb/opb/serial@ef600300";