diff options
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r-- | arch/powerpc/boot/dts/sbc8548-post.dtsi | 295 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/sbc8548-pre.dtsi | 52 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/sbc8548.dts | 322 |
3 files changed, 351 insertions, 318 deletions
diff --git a/arch/powerpc/boot/dts/sbc8548-post.dtsi b/arch/powerpc/boot/dts/sbc8548-post.dtsi new file mode 100644 index 000000000000..33a47e27a11e --- /dev/null +++ b/arch/powerpc/boot/dts/sbc8548-post.dtsi | |||
@@ -0,0 +1,295 @@ | |||
1 | /* | ||
2 | * SBC8548 Device Tree Source | ||
3 | * | ||
4 | * Copyright 2007 Wind River Systems Inc. | ||
5 | * | ||
6 | * Paul Gortmaker (see MAINTAINERS for contact information) | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License as published by the | ||
10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
11 | * option) any later version. | ||
12 | */ | ||
13 | |||
14 | /{ | ||
15 | soc8548@e0000000 { | ||
16 | #address-cells = <1>; | ||
17 | #size-cells = <1>; | ||
18 | device_type = "soc"; | ||
19 | ranges = <0x00000000 0xe0000000 0x00100000>; | ||
20 | bus-frequency = <0>; | ||
21 | compatible = "simple-bus"; | ||
22 | |||
23 | ecm-law@0 { | ||
24 | compatible = "fsl,ecm-law"; | ||
25 | reg = <0x0 0x1000>; | ||
26 | fsl,num-laws = <10>; | ||
27 | }; | ||
28 | |||
29 | ecm@1000 { | ||
30 | compatible = "fsl,mpc8548-ecm", "fsl,ecm"; | ||
31 | reg = <0x1000 0x1000>; | ||
32 | interrupts = <17 2>; | ||
33 | interrupt-parent = <&mpic>; | ||
34 | }; | ||
35 | |||
36 | memory-controller@2000 { | ||
37 | compatible = "fsl,mpc8548-memory-controller"; | ||
38 | reg = <0x2000 0x1000>; | ||
39 | interrupt-parent = <&mpic>; | ||
40 | interrupts = <0x12 0x2>; | ||
41 | }; | ||
42 | |||
43 | L2: l2-cache-controller@20000 { | ||
44 | compatible = "fsl,mpc8548-l2-cache-controller"; | ||
45 | reg = <0x20000 0x1000>; | ||
46 | cache-line-size = <0x20>; // 32 bytes | ||
47 | cache-size = <0x80000>; // L2, 512K | ||
48 | interrupt-parent = <&mpic>; | ||
49 | interrupts = <0x10 0x2>; | ||
50 | }; | ||
51 | |||
52 | i2c@3000 { | ||
53 | #address-cells = <1>; | ||
54 | #size-cells = <0>; | ||
55 | cell-index = <0>; | ||
56 | compatible = "fsl-i2c"; | ||
57 | reg = <0x3000 0x100>; | ||
58 | interrupts = <0x2b 0x2>; | ||
59 | interrupt-parent = <&mpic>; | ||
60 | dfsrr; | ||
61 | }; | ||
62 | |||
63 | i2c@3100 { | ||
64 | #address-cells = <1>; | ||
65 | #size-cells = <0>; | ||
66 | cell-index = <1>; | ||
67 | compatible = "fsl-i2c"; | ||
68 | reg = <0x3100 0x100>; | ||
69 | interrupts = <0x2b 0x2>; | ||
70 | interrupt-parent = <&mpic>; | ||
71 | dfsrr; | ||
72 | }; | ||
73 | |||
74 | dma@21300 { | ||
75 | #address-cells = <1>; | ||
76 | #size-cells = <1>; | ||
77 | compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma"; | ||
78 | reg = <0x21300 0x4>; | ||
79 | ranges = <0x0 0x21100 0x200>; | ||
80 | cell-index = <0>; | ||
81 | dma-channel@0 { | ||
82 | compatible = "fsl,mpc8548-dma-channel", | ||
83 | "fsl,eloplus-dma-channel"; | ||
84 | reg = <0x0 0x80>; | ||
85 | cell-index = <0>; | ||
86 | interrupt-parent = <&mpic>; | ||
87 | interrupts = <20 2>; | ||
88 | }; | ||
89 | dma-channel@80 { | ||
90 | compatible = "fsl,mpc8548-dma-channel", | ||
91 | "fsl,eloplus-dma-channel"; | ||
92 | reg = <0x80 0x80>; | ||
93 | cell-index = <1>; | ||
94 | interrupt-parent = <&mpic>; | ||
95 | interrupts = <21 2>; | ||
96 | }; | ||
97 | dma-channel@100 { | ||
98 | compatible = "fsl,mpc8548-dma-channel", | ||
99 | "fsl,eloplus-dma-channel"; | ||
100 | reg = <0x100 0x80>; | ||
101 | cell-index = <2>; | ||
102 | interrupt-parent = <&mpic>; | ||
103 | interrupts = <22 2>; | ||
104 | }; | ||
105 | dma-channel@180 { | ||
106 | compatible = "fsl,mpc8548-dma-channel", | ||
107 | "fsl,eloplus-dma-channel"; | ||
108 | reg = <0x180 0x80>; | ||
109 | cell-index = <3>; | ||
110 | interrupt-parent = <&mpic>; | ||
111 | interrupts = <23 2>; | ||
112 | }; | ||
113 | }; | ||
114 | |||
115 | enet0: ethernet@24000 { | ||
116 | #address-cells = <1>; | ||
117 | #size-cells = <1>; | ||
118 | cell-index = <0>; | ||
119 | device_type = "network"; | ||
120 | model = "eTSEC"; | ||
121 | compatible = "gianfar"; | ||
122 | reg = <0x24000 0x1000>; | ||
123 | ranges = <0x0 0x24000 0x1000>; | ||
124 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
125 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | ||
126 | interrupt-parent = <&mpic>; | ||
127 | tbi-handle = <&tbi0>; | ||
128 | phy-handle = <&phy0>; | ||
129 | |||
130 | mdio@520 { | ||
131 | #address-cells = <1>; | ||
132 | #size-cells = <0>; | ||
133 | compatible = "fsl,gianfar-mdio"; | ||
134 | reg = <0x520 0x20>; | ||
135 | |||
136 | phy0: ethernet-phy@19 { | ||
137 | interrupt-parent = <&mpic>; | ||
138 | interrupts = <0x6 0x1>; | ||
139 | reg = <0x19>; | ||
140 | device_type = "ethernet-phy"; | ||
141 | }; | ||
142 | phy1: ethernet-phy@1a { | ||
143 | interrupt-parent = <&mpic>; | ||
144 | interrupts = <0x7 0x1>; | ||
145 | reg = <0x1a>; | ||
146 | device_type = "ethernet-phy"; | ||
147 | }; | ||
148 | tbi0: tbi-phy@11 { | ||
149 | reg = <0x11>; | ||
150 | device_type = "tbi-phy"; | ||
151 | }; | ||
152 | }; | ||
153 | }; | ||
154 | |||
155 | enet1: ethernet@25000 { | ||
156 | #address-cells = <1>; | ||
157 | #size-cells = <1>; | ||
158 | cell-index = <1>; | ||
159 | device_type = "network"; | ||
160 | model = "eTSEC"; | ||
161 | compatible = "gianfar"; | ||
162 | reg = <0x25000 0x1000>; | ||
163 | ranges = <0x0 0x25000 0x1000>; | ||
164 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
165 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | ||
166 | interrupt-parent = <&mpic>; | ||
167 | tbi-handle = <&tbi1>; | ||
168 | phy-handle = <&phy1>; | ||
169 | |||
170 | mdio@520 { | ||
171 | #address-cells = <1>; | ||
172 | #size-cells = <0>; | ||
173 | compatible = "fsl,gianfar-tbi"; | ||
174 | reg = <0x520 0x20>; | ||
175 | |||
176 | tbi1: tbi-phy@11 { | ||
177 | reg = <0x11>; | ||
178 | device_type = "tbi-phy"; | ||
179 | }; | ||
180 | }; | ||
181 | }; | ||
182 | |||
183 | serial0: serial@4500 { | ||
184 | cell-index = <0>; | ||
185 | device_type = "serial"; | ||
186 | compatible = "fsl,ns16550", "ns16550"; | ||
187 | reg = <0x4500 0x100>; // reg base, size | ||
188 | clock-frequency = <0>; // should we fill in in uboot? | ||
189 | interrupts = <0x2a 0x2>; | ||
190 | interrupt-parent = <&mpic>; | ||
191 | }; | ||
192 | |||
193 | serial1: serial@4600 { | ||
194 | cell-index = <1>; | ||
195 | device_type = "serial"; | ||
196 | compatible = "fsl,ns16550", "ns16550"; | ||
197 | reg = <0x4600 0x100>; // reg base, size | ||
198 | clock-frequency = <0>; // should we fill in in uboot? | ||
199 | interrupts = <0x2a 0x2>; | ||
200 | interrupt-parent = <&mpic>; | ||
201 | }; | ||
202 | |||
203 | global-utilities@e0000 { //global utilities reg | ||
204 | compatible = "fsl,mpc8548-guts"; | ||
205 | reg = <0xe0000 0x1000>; | ||
206 | fsl,has-rstcr; | ||
207 | }; | ||
208 | |||
209 | crypto@30000 { | ||
210 | compatible = "fsl,sec2.1", "fsl,sec2.0"; | ||
211 | reg = <0x30000 0x10000>; | ||
212 | interrupts = <45 2>; | ||
213 | interrupt-parent = <&mpic>; | ||
214 | fsl,num-channels = <4>; | ||
215 | fsl,channel-fifo-len = <24>; | ||
216 | fsl,exec-units-mask = <0xfe>; | ||
217 | fsl,descriptor-types-mask = <0x12b0ebf>; | ||
218 | }; | ||
219 | |||
220 | mpic: pic@40000 { | ||
221 | interrupt-controller; | ||
222 | #address-cells = <0>; | ||
223 | #interrupt-cells = <2>; | ||
224 | reg = <0x40000 0x40000>; | ||
225 | compatible = "chrp,open-pic"; | ||
226 | device_type = "open-pic"; | ||
227 | }; | ||
228 | }; | ||
229 | |||
230 | pci0: pci@e0008000 { | ||
231 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
232 | interrupt-map = < | ||
233 | /* IDSEL 0x01 (PCI-X slot) @66MHz */ | ||
234 | 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
235 | 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
236 | 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
237 | 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
238 | |||
239 | /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */ | ||
240 | 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
241 | 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
242 | 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
243 | 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>; | ||
244 | |||
245 | interrupt-parent = <&mpic>; | ||
246 | interrupts = <0x18 0x2>; | ||
247 | bus-range = <0 0>; | ||
248 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 | ||
249 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; | ||
250 | clock-frequency = <66000000>; | ||
251 | #interrupt-cells = <1>; | ||
252 | #size-cells = <2>; | ||
253 | #address-cells = <3>; | ||
254 | reg = <0xe0008000 0x1000>; | ||
255 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; | ||
256 | device_type = "pci"; | ||
257 | }; | ||
258 | |||
259 | pci1: pcie@e000a000 { | ||
260 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
261 | interrupt-map = < | ||
262 | |||
263 | /* IDSEL 0x0 (PEX) */ | ||
264 | 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1 | ||
265 | 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1 | ||
266 | 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1 | ||
267 | 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>; | ||
268 | |||
269 | interrupt-parent = <&mpic>; | ||
270 | interrupts = <0x1a 0x2>; | ||
271 | bus-range = <0x0 0xff>; | ||
272 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 | ||
273 | 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>; | ||
274 | clock-frequency = <33000000>; | ||
275 | #interrupt-cells = <1>; | ||
276 | #size-cells = <2>; | ||
277 | #address-cells = <3>; | ||
278 | reg = <0xe000a000 0x1000>; | ||
279 | compatible = "fsl,mpc8548-pcie"; | ||
280 | device_type = "pci"; | ||
281 | pcie@0 { | ||
282 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
283 | #size-cells = <2>; | ||
284 | #address-cells = <3>; | ||
285 | device_type = "pci"; | ||
286 | ranges = <0x02000000 0x0 0xa0000000 | ||
287 | 0x02000000 0x0 0xa0000000 | ||
288 | 0x0 0x10000000 | ||
289 | |||
290 | 0x01000000 0x0 0x00000000 | ||
291 | 0x01000000 0x0 0x00000000 | ||
292 | 0x0 0x00800000>; | ||
293 | }; | ||
294 | }; | ||
295 | }; | ||
diff --git a/arch/powerpc/boot/dts/sbc8548-pre.dtsi b/arch/powerpc/boot/dts/sbc8548-pre.dtsi new file mode 100644 index 000000000000..d8c66290c5b4 --- /dev/null +++ b/arch/powerpc/boot/dts/sbc8548-pre.dtsi | |||
@@ -0,0 +1,52 @@ | |||
1 | /* | ||
2 | * SBC8548 Device Tree Source | ||
3 | * | ||
4 | * Copyright 2007 Wind River Systems Inc. | ||
5 | * | ||
6 | * Paul Gortmaker (see MAINTAINERS for contact information) | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify it | ||
9 | * under the terms of the GNU General Public License as published by the | ||
10 | * Free Software Foundation; either version 2 of the License, or (at your | ||
11 | * option) any later version. | ||
12 | */ | ||
13 | |||
14 | /{ | ||
15 | model = "SBC8548"; | ||
16 | compatible = "SBC8548"; | ||
17 | #address-cells = <1>; | ||
18 | #size-cells = <1>; | ||
19 | |||
20 | aliases { | ||
21 | ethernet0 = &enet0; | ||
22 | ethernet1 = &enet1; | ||
23 | serial0 = &serial0; | ||
24 | serial1 = &serial1; | ||
25 | pci0 = &pci0; | ||
26 | pci1 = &pci1; | ||
27 | }; | ||
28 | |||
29 | cpus { | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <0>; | ||
32 | |||
33 | PowerPC,8548@0 { | ||
34 | device_type = "cpu"; | ||
35 | reg = <0>; | ||
36 | d-cache-line-size = <0x20>; // 32 bytes | ||
37 | i-cache-line-size = <0x20>; // 32 bytes | ||
38 | d-cache-size = <0x8000>; // L1, 32K | ||
39 | i-cache-size = <0x8000>; // L1, 32K | ||
40 | timebase-frequency = <0>; // From uboot | ||
41 | bus-frequency = <0>; | ||
42 | clock-frequency = <0>; | ||
43 | next-level-cache = <&L2>; | ||
44 | }; | ||
45 | }; | ||
46 | |||
47 | memory { | ||
48 | device_type = "memory"; | ||
49 | reg = <0x00000000 0x10000000>; | ||
50 | }; | ||
51 | |||
52 | }; | ||
diff --git a/arch/powerpc/boot/dts/sbc8548.dts b/arch/powerpc/boot/dts/sbc8548.dts index 77be77116c2e..ad8dc6808d2e 100644 --- a/arch/powerpc/boot/dts/sbc8548.dts +++ b/arch/powerpc/boot/dts/sbc8548.dts | |||
@@ -14,44 +14,9 @@ | |||
14 | 14 | ||
15 | /dts-v1/; | 15 | /dts-v1/; |
16 | 16 | ||
17 | / { | 17 | /include/ "sbc8548-pre.dtsi" |
18 | model = "SBC8548"; | ||
19 | compatible = "SBC8548"; | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <1>; | ||
22 | |||
23 | aliases { | ||
24 | ethernet0 = &enet0; | ||
25 | ethernet1 = &enet1; | ||
26 | serial0 = &serial0; | ||
27 | serial1 = &serial1; | ||
28 | pci0 = &pci0; | ||
29 | pci1 = &pci1; | ||
30 | }; | ||
31 | |||
32 | cpus { | ||
33 | #address-cells = <1>; | ||
34 | #size-cells = <0>; | ||
35 | |||
36 | PowerPC,8548@0 { | ||
37 | device_type = "cpu"; | ||
38 | reg = <0>; | ||
39 | d-cache-line-size = <0x20>; // 32 bytes | ||
40 | i-cache-line-size = <0x20>; // 32 bytes | ||
41 | d-cache-size = <0x8000>; // L1, 32K | ||
42 | i-cache-size = <0x8000>; // L1, 32K | ||
43 | timebase-frequency = <0>; // From uboot | ||
44 | bus-frequency = <0>; | ||
45 | clock-frequency = <0>; | ||
46 | next-level-cache = <&L2>; | ||
47 | }; | ||
48 | }; | ||
49 | |||
50 | memory { | ||
51 | device_type = "memory"; | ||
52 | reg = <0x00000000 0x10000000>; | ||
53 | }; | ||
54 | 18 | ||
19 | /{ | ||
55 | localbus@e0000000 { | 20 | localbus@e0000000 { |
56 | #address-cells = <2>; | 21 | #address-cells = <2>; |
57 | #size-cells = <1>; | 22 | #size-cells = <1>; |
@@ -144,285 +109,6 @@ | |||
144 | }; | 109 | }; |
145 | }; | 110 | }; |
146 | }; | 111 | }; |
147 | |||
148 | soc8548@e0000000 { | ||
149 | #address-cells = <1>; | ||
150 | #size-cells = <1>; | ||
151 | device_type = "soc"; | ||
152 | ranges = <0x00000000 0xe0000000 0x00100000>; | ||
153 | bus-frequency = <0>; | ||
154 | compatible = "simple-bus"; | ||
155 | |||
156 | ecm-law@0 { | ||
157 | compatible = "fsl,ecm-law"; | ||
158 | reg = <0x0 0x1000>; | ||
159 | fsl,num-laws = <10>; | ||
160 | }; | ||
161 | |||
162 | ecm@1000 { | ||
163 | compatible = "fsl,mpc8548-ecm", "fsl,ecm"; | ||
164 | reg = <0x1000 0x1000>; | ||
165 | interrupts = <17 2>; | ||
166 | interrupt-parent = <&mpic>; | ||
167 | }; | ||
168 | |||
169 | memory-controller@2000 { | ||
170 | compatible = "fsl,mpc8548-memory-controller"; | ||
171 | reg = <0x2000 0x1000>; | ||
172 | interrupt-parent = <&mpic>; | ||
173 | interrupts = <0x12 0x2>; | ||
174 | }; | ||
175 | |||
176 | L2: l2-cache-controller@20000 { | ||
177 | compatible = "fsl,mpc8548-l2-cache-controller"; | ||
178 | reg = <0x20000 0x1000>; | ||
179 | cache-line-size = <0x20>; // 32 bytes | ||
180 | cache-size = <0x80000>; // L2, 512K | ||
181 | interrupt-parent = <&mpic>; | ||
182 | interrupts = <0x10 0x2>; | ||
183 | }; | ||
184 | |||
185 | i2c@3000 { | ||
186 | #address-cells = <1>; | ||
187 | #size-cells = <0>; | ||
188 | cell-index = <0>; | ||
189 | compatible = "fsl-i2c"; | ||
190 | reg = <0x3000 0x100>; | ||
191 | interrupts = <0x2b 0x2>; | ||
192 | interrupt-parent = <&mpic>; | ||
193 | dfsrr; | ||
194 | }; | ||
195 | |||
196 | i2c@3100 { | ||
197 | #address-cells = <1>; | ||
198 | #size-cells = <0>; | ||
199 | cell-index = <1>; | ||
200 | compatible = "fsl-i2c"; | ||
201 | reg = <0x3100 0x100>; | ||
202 | interrupts = <0x2b 0x2>; | ||
203 | interrupt-parent = <&mpic>; | ||
204 | dfsrr; | ||
205 | }; | ||
206 | |||
207 | dma@21300 { | ||
208 | #address-cells = <1>; | ||
209 | #size-cells = <1>; | ||
210 | compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma"; | ||
211 | reg = <0x21300 0x4>; | ||
212 | ranges = <0x0 0x21100 0x200>; | ||
213 | cell-index = <0>; | ||
214 | dma-channel@0 { | ||
215 | compatible = "fsl,mpc8548-dma-channel", | ||
216 | "fsl,eloplus-dma-channel"; | ||
217 | reg = <0x0 0x80>; | ||
218 | cell-index = <0>; | ||
219 | interrupt-parent = <&mpic>; | ||
220 | interrupts = <20 2>; | ||
221 | }; | ||
222 | dma-channel@80 { | ||
223 | compatible = "fsl,mpc8548-dma-channel", | ||
224 | "fsl,eloplus-dma-channel"; | ||
225 | reg = <0x80 0x80>; | ||
226 | cell-index = <1>; | ||
227 | interrupt-parent = <&mpic>; | ||
228 | interrupts = <21 2>; | ||
229 | }; | ||
230 | dma-channel@100 { | ||
231 | compatible = "fsl,mpc8548-dma-channel", | ||
232 | "fsl,eloplus-dma-channel"; | ||
233 | reg = <0x100 0x80>; | ||
234 | cell-index = <2>; | ||
235 | interrupt-parent = <&mpic>; | ||
236 | interrupts = <22 2>; | ||
237 | }; | ||
238 | dma-channel@180 { | ||
239 | compatible = "fsl,mpc8548-dma-channel", | ||
240 | "fsl,eloplus-dma-channel"; | ||
241 | reg = <0x180 0x80>; | ||
242 | cell-index = <3>; | ||
243 | interrupt-parent = <&mpic>; | ||
244 | interrupts = <23 2>; | ||
245 | }; | ||
246 | }; | ||
247 | |||
248 | enet0: ethernet@24000 { | ||
249 | #address-cells = <1>; | ||
250 | #size-cells = <1>; | ||
251 | cell-index = <0>; | ||
252 | device_type = "network"; | ||
253 | model = "eTSEC"; | ||
254 | compatible = "gianfar"; | ||
255 | reg = <0x24000 0x1000>; | ||
256 | ranges = <0x0 0x24000 0x1000>; | ||
257 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
258 | interrupts = <0x1d 0x2 0x1e 0x2 0x22 0x2>; | ||
259 | interrupt-parent = <&mpic>; | ||
260 | tbi-handle = <&tbi0>; | ||
261 | phy-handle = <&phy0>; | ||
262 | |||
263 | mdio@520 { | ||
264 | #address-cells = <1>; | ||
265 | #size-cells = <0>; | ||
266 | compatible = "fsl,gianfar-mdio"; | ||
267 | reg = <0x520 0x20>; | ||
268 | |||
269 | phy0: ethernet-phy@19 { | ||
270 | interrupt-parent = <&mpic>; | ||
271 | interrupts = <0x6 0x1>; | ||
272 | reg = <0x19>; | ||
273 | device_type = "ethernet-phy"; | ||
274 | }; | ||
275 | phy1: ethernet-phy@1a { | ||
276 | interrupt-parent = <&mpic>; | ||
277 | interrupts = <0x7 0x1>; | ||
278 | reg = <0x1a>; | ||
279 | device_type = "ethernet-phy"; | ||
280 | }; | ||
281 | tbi0: tbi-phy@11 { | ||
282 | reg = <0x11>; | ||
283 | device_type = "tbi-phy"; | ||
284 | }; | ||
285 | }; | ||
286 | }; | ||
287 | |||
288 | enet1: ethernet@25000 { | ||
289 | #address-cells = <1>; | ||
290 | #size-cells = <1>; | ||
291 | cell-index = <1>; | ||
292 | device_type = "network"; | ||
293 | model = "eTSEC"; | ||
294 | compatible = "gianfar"; | ||
295 | reg = <0x25000 0x1000>; | ||
296 | ranges = <0x0 0x25000 0x1000>; | ||
297 | local-mac-address = [ 00 00 00 00 00 00 ]; | ||
298 | interrupts = <0x23 0x2 0x24 0x2 0x28 0x2>; | ||
299 | interrupt-parent = <&mpic>; | ||
300 | tbi-handle = <&tbi1>; | ||
301 | phy-handle = <&phy1>; | ||
302 | |||
303 | mdio@520 { | ||
304 | #address-cells = <1>; | ||
305 | #size-cells = <0>; | ||
306 | compatible = "fsl,gianfar-tbi"; | ||
307 | reg = <0x520 0x20>; | ||
308 | |||
309 | tbi1: tbi-phy@11 { | ||
310 | reg = <0x11>; | ||
311 | device_type = "tbi-phy"; | ||
312 | }; | ||
313 | }; | ||
314 | }; | ||
315 | |||
316 | serial0: serial@4500 { | ||
317 | cell-index = <0>; | ||
318 | device_type = "serial"; | ||
319 | compatible = "fsl,ns16550", "ns16550"; | ||
320 | reg = <0x4500 0x100>; // reg base, size | ||
321 | clock-frequency = <0>; // should we fill in in uboot? | ||
322 | interrupts = <0x2a 0x2>; | ||
323 | interrupt-parent = <&mpic>; | ||
324 | }; | ||
325 | |||
326 | serial1: serial@4600 { | ||
327 | cell-index = <1>; | ||
328 | device_type = "serial"; | ||
329 | compatible = "fsl,ns16550", "ns16550"; | ||
330 | reg = <0x4600 0x100>; // reg base, size | ||
331 | clock-frequency = <0>; // should we fill in in uboot? | ||
332 | interrupts = <0x2a 0x2>; | ||
333 | interrupt-parent = <&mpic>; | ||
334 | }; | ||
335 | |||
336 | global-utilities@e0000 { //global utilities reg | ||
337 | compatible = "fsl,mpc8548-guts"; | ||
338 | reg = <0xe0000 0x1000>; | ||
339 | fsl,has-rstcr; | ||
340 | }; | ||
341 | |||
342 | crypto@30000 { | ||
343 | compatible = "fsl,sec2.1", "fsl,sec2.0"; | ||
344 | reg = <0x30000 0x10000>; | ||
345 | interrupts = <45 2>; | ||
346 | interrupt-parent = <&mpic>; | ||
347 | fsl,num-channels = <4>; | ||
348 | fsl,channel-fifo-len = <24>; | ||
349 | fsl,exec-units-mask = <0xfe>; | ||
350 | fsl,descriptor-types-mask = <0x12b0ebf>; | ||
351 | }; | ||
352 | |||
353 | mpic: pic@40000 { | ||
354 | interrupt-controller; | ||
355 | #address-cells = <0>; | ||
356 | #interrupt-cells = <2>; | ||
357 | reg = <0x40000 0x40000>; | ||
358 | compatible = "chrp,open-pic"; | ||
359 | device_type = "open-pic"; | ||
360 | }; | ||
361 | }; | ||
362 | |||
363 | pci0: pci@e0008000 { | ||
364 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
365 | interrupt-map = < | ||
366 | /* IDSEL 0x01 (PCI-X slot) @66MHz */ | ||
367 | 0x0800 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
368 | 0x0800 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
369 | 0x0800 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
370 | 0x0800 0x0 0x0 0x4 &mpic 0x1 0x1 | ||
371 | |||
372 | /* IDSEL 0x11 (PCI, 3.3V 32bit) @33MHz */ | ||
373 | 0x8800 0x0 0x0 0x1 &mpic 0x2 0x1 | ||
374 | 0x8800 0x0 0x0 0x2 &mpic 0x3 0x1 | ||
375 | 0x8800 0x0 0x0 0x3 &mpic 0x4 0x1 | ||
376 | 0x8800 0x0 0x0 0x4 &mpic 0x1 0x1>; | ||
377 | |||
378 | interrupt-parent = <&mpic>; | ||
379 | interrupts = <0x18 0x2>; | ||
380 | bus-range = <0 0>; | ||
381 | ranges = <0x02000000 0x0 0x80000000 0x80000000 0x0 0x10000000 | ||
382 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00800000>; | ||
383 | clock-frequency = <66000000>; | ||
384 | #interrupt-cells = <1>; | ||
385 | #size-cells = <2>; | ||
386 | #address-cells = <3>; | ||
387 | reg = <0xe0008000 0x1000>; | ||
388 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; | ||
389 | device_type = "pci"; | ||
390 | }; | ||
391 | |||
392 | pci1: pcie@e000a000 { | ||
393 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
394 | interrupt-map = < | ||
395 | |||
396 | /* IDSEL 0x0 (PEX) */ | ||
397 | 0x0000 0x0 0x0 0x1 &mpic 0x0 0x1 | ||
398 | 0x0000 0x0 0x0 0x2 &mpic 0x1 0x1 | ||
399 | 0x0000 0x0 0x0 0x3 &mpic 0x2 0x1 | ||
400 | 0x0000 0x0 0x0 0x4 &mpic 0x3 0x1>; | ||
401 | |||
402 | interrupt-parent = <&mpic>; | ||
403 | interrupts = <0x1a 0x2>; | ||
404 | bus-range = <0x0 0xff>; | ||
405 | ranges = <0x02000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 | ||
406 | 0x01000000 0x0 0x00000000 0xe2800000 0x0 0x08000000>; | ||
407 | clock-frequency = <33000000>; | ||
408 | #interrupt-cells = <1>; | ||
409 | #size-cells = <2>; | ||
410 | #address-cells = <3>; | ||
411 | reg = <0xe000a000 0x1000>; | ||
412 | compatible = "fsl,mpc8548-pcie"; | ||
413 | device_type = "pci"; | ||
414 | pcie@0 { | ||
415 | reg = <0x0 0x0 0x0 0x0 0x0>; | ||
416 | #size-cells = <2>; | ||
417 | #address-cells = <3>; | ||
418 | device_type = "pci"; | ||
419 | ranges = <0x02000000 0x0 0xa0000000 | ||
420 | 0x02000000 0x0 0xa0000000 | ||
421 | 0x0 0x10000000 | ||
422 | |||
423 | 0x01000000 0x0 0x00000000 | ||
424 | 0x01000000 0x0 0x00000000 | ||
425 | 0x0 0x00800000>; | ||
426 | }; | ||
427 | }; | ||
428 | }; | 112 | }; |
113 | |||
114 | /include/ "sbc8548-post.dtsi" | ||