diff options
author | Sean MacLennan <smaclennan@pikatech.com> | 2008-01-12 15:32:38 -0500 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2008-01-25 08:10:22 -0500 |
commit | 99192af00af3ba336e6fd74a30b7809a18f79a8f (patch) | |
tree | e50250e05a491760cecebe99680aa6643eba9bf6 /arch | |
parent | f9bdedb2c5f2952f33e4f88038e5c48e27144cda (diff) |
[POWERPC] 4xx: PIKA Warp DTS
Add the device tree for the PIKA Warp board
Signed-off-by: Sean MacLennan <smaclennan@pikatech.com>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/warp.dts | 239 |
1 files changed, 239 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/warp.dts b/arch/powerpc/boot/dts/warp.dts new file mode 100644 index 000000000000..dc1499d30f43 --- /dev/null +++ b/arch/powerpc/boot/dts/warp.dts | |||
@@ -0,0 +1,239 @@ | |||
1 | /* | ||
2 | * Device Tree Source for PIKA Warp | ||
3 | * | ||
4 | * Copyright (c) 2008 PIKA Technologies | ||
5 | * Sean MacLennan <smaclennan@pikatech.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 = <2>; | ||
14 | #size-cells = <1>; | ||
15 | model = "pika,warp"; | ||
16 | compatible = "pika,warp"; | ||
17 | dcr-parent = <&/cpus/cpu@0>; | ||
18 | |||
19 | aliases { | ||
20 | ethernet0 = &EMAC0; | ||
21 | serial0 = &UART0; | ||
22 | }; | ||
23 | |||
24 | cpus { | ||
25 | #address-cells = <1>; | ||
26 | #size-cells = <0>; | ||
27 | |||
28 | cpu@0 { | ||
29 | device_type = "cpu"; | ||
30 | model = "PowerPC,440EP"; | ||
31 | reg = <0>; | ||
32 | clock-frequency = <0>; /* Filled in by zImage */ | ||
33 | timebase-frequency = <0>; /* Filled in by zImage */ | ||
34 | i-cache-line-size = <20>; | ||
35 | d-cache-line-size = <20>; | ||
36 | i-cache-size = <8000>; | ||
37 | d-cache-size = <8000>; | ||
38 | dcr-controller; | ||
39 | dcr-access-method = "native"; | ||
40 | }; | ||
41 | }; | ||
42 | |||
43 | memory { | ||
44 | device_type = "memory"; | ||
45 | reg = <0 0 0>; /* Filled in by zImage */ | ||
46 | }; | ||
47 | |||
48 | UIC0: interrupt-controller0 { | ||
49 | compatible = "ibm,uic-440ep","ibm,uic"; | ||
50 | interrupt-controller; | ||
51 | cell-index = <0>; | ||
52 | dcr-reg = <0c0 009>; | ||
53 | #address-cells = <0>; | ||
54 | #size-cells = <0>; | ||
55 | #interrupt-cells = <2>; | ||
56 | }; | ||
57 | |||
58 | UIC1: interrupt-controller1 { | ||
59 | compatible = "ibm,uic-440ep","ibm,uic"; | ||
60 | interrupt-controller; | ||
61 | cell-index = <1>; | ||
62 | dcr-reg = <0d0 009>; | ||
63 | #address-cells = <0>; | ||
64 | #size-cells = <0>; | ||
65 | #interrupt-cells = <2>; | ||
66 | interrupts = <1e 4 1f 4>; /* cascade */ | ||
67 | interrupt-parent = <&UIC0>; | ||
68 | }; | ||
69 | |||
70 | SDR0: sdr { | ||
71 | compatible = "ibm,sdr-440ep"; | ||
72 | dcr-reg = <00e 002>; | ||
73 | }; | ||
74 | |||
75 | CPR0: cpr { | ||
76 | compatible = "ibm,cpr-440ep"; | ||
77 | dcr-reg = <00c 002>; | ||
78 | }; | ||
79 | |||
80 | plb { | ||
81 | compatible = "ibm,plb-440ep", "ibm,plb-440gp", "ibm,plb4"; | ||
82 | #address-cells = <2>; | ||
83 | #size-cells = <1>; | ||
84 | ranges; | ||
85 | clock-frequency = <0>; /* Filled in by zImage */ | ||
86 | |||
87 | SDRAM0: sdram { | ||
88 | compatible = "ibm,sdram-440ep", "ibm,sdram-405gp"; | ||
89 | dcr-reg = <010 2>; | ||
90 | }; | ||
91 | |||
92 | DMA0: dma { | ||
93 | compatible = "ibm,dma-440ep", "ibm,dma-440gp"; | ||
94 | dcr-reg = <100 027>; | ||
95 | }; | ||
96 | |||
97 | MAL0: mcmal { | ||
98 | compatible = "ibm,mcmal-440ep", "ibm,mcmal-440gp", "ibm,mcmal"; | ||
99 | dcr-reg = <180 62>; | ||
100 | num-tx-chans = <4>; | ||
101 | num-rx-chans = <2>; | ||
102 | interrupt-parent = <&MAL0>; | ||
103 | interrupts = <0 1 2 3 4>; | ||
104 | #interrupt-cells = <1>; | ||
105 | #address-cells = <0>; | ||
106 | #size-cells = <0>; | ||
107 | interrupt-map = </*TXEOB*/ 0 &UIC0 a 4 | ||
108 | /*RXEOB*/ 1 &UIC0 b 4 | ||
109 | /*SERR*/ 2 &UIC1 0 4 | ||
110 | /*TXDE*/ 3 &UIC1 1 4 | ||
111 | /*RXDE*/ 4 &UIC1 2 4>; | ||
112 | }; | ||
113 | |||
114 | POB0: opb { | ||
115 | compatible = "ibm,opb-440ep", "ibm,opb-440gp", "ibm,opb"; | ||
116 | #address-cells = <1>; | ||
117 | #size-cells = <1>; | ||
118 | ranges = <00000000 0 00000000 80000000 | ||
119 | 80000000 0 80000000 80000000>; | ||
120 | interrupt-parent = <&UIC1>; | ||
121 | interrupts = <7 4>; | ||
122 | clock-frequency = <0>; /* Filled in by zImage */ | ||
123 | |||
124 | EBC0: ebc { | ||
125 | compatible = "ibm,ebc-440ep", "ibm,ebc-440gp", "ibm,ebc"; | ||
126 | dcr-reg = <012 2>; | ||
127 | #address-cells = <2>; | ||
128 | #size-cells = <1>; | ||
129 | clock-frequency = <0>; /* Filled in by zImage */ | ||
130 | interrupts = <5 1>; | ||
131 | interrupt-parent = <&UIC1>; | ||
132 | |||
133 | fpga@2,0 { | ||
134 | compatible = "pika,fpga"; | ||
135 | reg = <2 0 2200>; | ||
136 | interrupts = <18 8>; | ||
137 | interrupt-parent = <&UIC0>; | ||
138 | }; | ||
139 | |||
140 | nor_flash@0,0 { | ||
141 | compatible = "amd,s29gl512n", "cfi-flash"; | ||
142 | bank-width = <2>; | ||
143 | reg = <0 0 4000000>; | ||
144 | #address-cells = <1>; | ||
145 | #size-cells = <1>; | ||
146 | partition@0 { | ||
147 | label = "kernel"; | ||
148 | reg = <0 180000>; | ||
149 | }; | ||
150 | partition@180000 { | ||
151 | label = "root"; | ||
152 | reg = <180000 3480000>; | ||
153 | }; | ||
154 | partition@3600000 { | ||
155 | label = "user"; | ||
156 | reg = <3600000 900000>; | ||
157 | }; | ||
158 | partition@3f00000 { | ||
159 | label = "fpga"; | ||
160 | reg = <3f00000 40000>; | ||
161 | }; | ||
162 | partition@3f40000 { | ||
163 | label = "env"; | ||
164 | reg = <3f40000 40000>; | ||
165 | }; | ||
166 | partition@3f80000 { | ||
167 | label = "u-boot"; | ||
168 | reg = <3f80000 80000>; | ||
169 | }; | ||
170 | }; | ||
171 | }; | ||
172 | |||
173 | UART0: serial@ef600300 { | ||
174 | device_type = "serial"; | ||
175 | compatible = "ns16550"; | ||
176 | reg = <ef600300 8>; | ||
177 | virtual-reg = <ef600300>; | ||
178 | clock-frequency = <0>; /* Filled in by zImage */ | ||
179 | current-speed = <1c200>; | ||
180 | interrupt-parent = <&UIC0>; | ||
181 | interrupts = <0 4>; | ||
182 | }; | ||
183 | |||
184 | IIC0: i2c@ef600700 { | ||
185 | compatible = "ibm,iic-440ep", "ibm,iic-440gp", "ibm,iic"; | ||
186 | reg = <ef600700 14>; | ||
187 | interrupt-parent = <&UIC0>; | ||
188 | interrupts = <2 4>; | ||
189 | }; | ||
190 | |||
191 | GPIO0: gpio@ef600b00 { | ||
192 | compatible = "ibm,gpio-440ep"; | ||
193 | reg = <ef600b00 48>; | ||
194 | }; | ||
195 | |||
196 | GPIO1: gpio@ef600c00 { | ||
197 | compatible = "ibm,gpio-440ep"; | ||
198 | reg = <ef600c00 48>; | ||
199 | }; | ||
200 | |||
201 | ZMII0: emac-zmii@ef600d00 { | ||
202 | compatible = "ibm,zmii-440ep", "ibm,zmii-440gp", "ibm,zmii"; | ||
203 | reg = <ef600d00 c>; | ||
204 | }; | ||
205 | |||
206 | EMAC0: ethernet@ef600e00 { | ||
207 | linux,network-index = <0>; | ||
208 | device_type = "network"; | ||
209 | compatible = "ibm,emac-440ep", "ibm,emac-440gp", "ibm,emac"; | ||
210 | interrupt-parent = <&UIC1>; | ||
211 | interrupts = <1c 4 1d 4>; | ||
212 | reg = <ef600e00 70>; | ||
213 | local-mac-address = [000000000000]; | ||
214 | mal-device = <&MAL0>; | ||
215 | mal-tx-channel = <0 1>; | ||
216 | mal-rx-channel = <0>; | ||
217 | cell-index = <0>; | ||
218 | max-frame-size = <5dc>; | ||
219 | rx-fifo-size = <1000>; | ||
220 | tx-fifo-size = <800>; | ||
221 | phy-mode = "rmii"; | ||
222 | phy-map = <00000000>; | ||
223 | zmii-device = <&ZMII0>; | ||
224 | zmii-channel = <0>; | ||
225 | }; | ||
226 | |||
227 | usb@ef601000 { | ||
228 | compatible = "ohci-be"; | ||
229 | reg = <ef601000 80>; | ||
230 | interrupts = <8 1 9 1>; | ||
231 | interrupt-parent = < &UIC1 >; | ||
232 | }; | ||
233 | }; | ||
234 | }; | ||
235 | |||
236 | chosen { | ||
237 | linux,stdout-path = "/plb/opb/serial@ef600300"; | ||
238 | }; | ||
239 | }; | ||