diff options
Diffstat (limited to 'arch/powerpc/boot/dts/mpc8349emitx.dts')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8349emitx.dts | 231 |
1 files changed, 122 insertions, 109 deletions
diff --git a/arch/powerpc/boot/dts/mpc8349emitx.dts b/arch/powerpc/boot/dts/mpc8349emitx.dts index 5072f6d0a46d..9426676b0b7d 100644 --- a/arch/powerpc/boot/dts/mpc8349emitx.dts +++ b/arch/powerpc/boot/dts/mpc8349emitx.dts | |||
@@ -8,23 +8,35 @@ | |||
8 | * Free Software Foundation; either version 2 of the License, or (at your | 8 | * Free Software Foundation; either version 2 of the License, or (at your |
9 | * option) any later version. | 9 | * option) any later version. |
10 | */ | 10 | */ |
11 | |||
12 | /dts-v1/; | ||
13 | |||
11 | / { | 14 | / { |
12 | model = "MPC8349EMITX"; | 15 | model = "MPC8349EMITX"; |
13 | compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; | 16 | compatible = "MPC8349EMITX", "MPC834xMITX", "MPC83xxMITX"; |
14 | #address-cells = <1>; | 17 | #address-cells = <1>; |
15 | #size-cells = <1>; | 18 | #size-cells = <1>; |
16 | 19 | ||
20 | aliases { | ||
21 | ethernet0 = &enet0; | ||
22 | ethernet1 = &enet1; | ||
23 | serial0 = &serial0; | ||
24 | serial1 = &serial1; | ||
25 | pci0 = &pci0; | ||
26 | pci1 = &pci1; | ||
27 | }; | ||
28 | |||
17 | cpus { | 29 | cpus { |
18 | #address-cells = <1>; | 30 | #address-cells = <1>; |
19 | #size-cells = <0>; | 31 | #size-cells = <0>; |
20 | 32 | ||
21 | PowerPC,8349@0 { | 33 | PowerPC,8349@0 { |
22 | device_type = "cpu"; | 34 | device_type = "cpu"; |
23 | reg = <0>; | 35 | reg = <0x0>; |
24 | d-cache-line-size = <20>; | 36 | d-cache-line-size = <32>; |
25 | i-cache-line-size = <20>; | 37 | i-cache-line-size = <32>; |
26 | d-cache-size = <8000>; | 38 | d-cache-size = <32768>; |
27 | i-cache-size = <8000>; | 39 | i-cache-size = <32768>; |
28 | timebase-frequency = <0>; // from bootloader | 40 | timebase-frequency = <0>; // from bootloader |
29 | bus-frequency = <0>; // from bootloader | 41 | bus-frequency = <0>; // from bootloader |
30 | clock-frequency = <0>; // from bootloader | 42 | clock-frequency = <0>; // from bootloader |
@@ -33,222 +45,223 @@ | |||
33 | 45 | ||
34 | memory { | 46 | memory { |
35 | device_type = "memory"; | 47 | device_type = "memory"; |
36 | reg = <00000000 10000000>; | 48 | reg = <0x00000000 0x10000000>; |
37 | }; | 49 | }; |
38 | 50 | ||
39 | soc8349@e0000000 { | 51 | soc8349@e0000000 { |
40 | #address-cells = <1>; | 52 | #address-cells = <1>; |
41 | #size-cells = <1>; | 53 | #size-cells = <1>; |
42 | device_type = "soc"; | 54 | device_type = "soc"; |
43 | ranges = <0 e0000000 00100000>; | 55 | ranges = <0x0 0xe0000000 0x00100000>; |
44 | reg = <e0000000 00000200>; | 56 | reg = <0xe0000000 0x00000200>; |
45 | bus-frequency = <0>; // from bootloader | 57 | bus-frequency = <0>; // from bootloader |
46 | 58 | ||
47 | wdt@200 { | 59 | wdt@200 { |
48 | device_type = "watchdog"; | 60 | device_type = "watchdog"; |
49 | compatible = "mpc83xx_wdt"; | 61 | compatible = "mpc83xx_wdt"; |
50 | reg = <200 100>; | 62 | reg = <0x200 0x100>; |
51 | }; | 63 | }; |
52 | 64 | ||
53 | i2c@3000 { | 65 | i2c@3000 { |
54 | device_type = "i2c"; | 66 | #address-cells = <1>; |
67 | #size-cells = <0>; | ||
68 | cell-index = <0>; | ||
55 | compatible = "fsl-i2c"; | 69 | compatible = "fsl-i2c"; |
56 | reg = <3000 100>; | 70 | reg = <0x3000 0x100>; |
57 | interrupts = <e 8>; | 71 | interrupts = <14 0x8>; |
58 | interrupt-parent = < &ipic >; | 72 | interrupt-parent = <&ipic>; |
59 | dfsrr; | 73 | dfsrr; |
60 | }; | 74 | }; |
61 | 75 | ||
62 | i2c@3100 { | 76 | i2c@3100 { |
63 | device_type = "i2c"; | 77 | #address-cells = <1>; |
78 | #size-cells = <0>; | ||
79 | cell-index = <1>; | ||
64 | compatible = "fsl-i2c"; | 80 | compatible = "fsl-i2c"; |
65 | reg = <3100 100>; | 81 | reg = <0x3100 0x100>; |
66 | interrupts = <f 8>; | 82 | interrupts = <15 0x8>; |
67 | interrupt-parent = < &ipic >; | 83 | interrupt-parent = <&ipic>; |
68 | dfsrr; | 84 | dfsrr; |
69 | }; | 85 | }; |
70 | 86 | ||
71 | spi@7000 { | 87 | spi@7000 { |
72 | device_type = "spi"; | 88 | cell-index = <0>; |
73 | compatible = "fsl_spi"; | 89 | compatible = "fsl,spi"; |
74 | reg = <7000 1000>; | 90 | reg = <0x7000 0x1000>; |
75 | interrupts = <10 8>; | 91 | interrupts = <16 0x8>; |
76 | interrupt-parent = < &ipic >; | 92 | interrupt-parent = <&ipic>; |
77 | mode = "cpu"; | 93 | mode = "cpu"; |
78 | }; | 94 | }; |
79 | 95 | ||
80 | usb@22000 { | 96 | usb@22000 { |
81 | device_type = "usb"; | ||
82 | compatible = "fsl-usb2-mph"; | 97 | compatible = "fsl-usb2-mph"; |
83 | reg = <22000 1000>; | 98 | reg = <0x22000 0x1000>; |
84 | #address-cells = <1>; | 99 | #address-cells = <1>; |
85 | #size-cells = <0>; | 100 | #size-cells = <0>; |
86 | interrupt-parent = < &ipic >; | 101 | interrupt-parent = <&ipic>; |
87 | interrupts = <27 8>; | 102 | interrupts = <39 0x8>; |
88 | phy_type = "ulpi"; | 103 | phy_type = "ulpi"; |
89 | port1; | 104 | port1; |
90 | }; | 105 | }; |
91 | 106 | ||
92 | usb@23000 { | 107 | usb@23000 { |
93 | device_type = "usb"; | ||
94 | compatible = "fsl-usb2-dr"; | 108 | compatible = "fsl-usb2-dr"; |
95 | reg = <23000 1000>; | 109 | reg = <0x23000 0x1000>; |
96 | #address-cells = <1>; | 110 | #address-cells = <1>; |
97 | #size-cells = <0>; | 111 | #size-cells = <0>; |
98 | interrupt-parent = < &ipic >; | 112 | interrupt-parent = <&ipic>; |
99 | interrupts = <26 8>; | 113 | interrupts = <38 0x8>; |
100 | dr_mode = "peripheral"; | 114 | dr_mode = "peripheral"; |
101 | phy_type = "ulpi"; | 115 | phy_type = "ulpi"; |
102 | }; | 116 | }; |
103 | 117 | ||
104 | mdio@24520 { | 118 | mdio@24520 { |
105 | device_type = "mdio"; | ||
106 | compatible = "gianfar"; | ||
107 | reg = <24520 20>; | ||
108 | #address-cells = <1>; | 119 | #address-cells = <1>; |
109 | #size-cells = <0>; | 120 | #size-cells = <0>; |
121 | compatible = "fsl,gianfar-mdio"; | ||
122 | reg = <0x24520 0x20>; | ||
110 | 123 | ||
111 | /* Vitesse 8201 */ | 124 | /* Vitesse 8201 */ |
112 | phy1c: ethernet-phy@1c { | 125 | phy1c: ethernet-phy@1c { |
113 | interrupt-parent = < &ipic >; | 126 | interrupt-parent = <&ipic>; |
114 | interrupts = <12 8>; | 127 | interrupts = <18 0x8>; |
115 | reg = <1c>; | 128 | reg = <0x1c>; |
116 | device_type = "ethernet-phy"; | ||
117 | }; | ||
118 | |||
119 | /* Vitesse 7385 */ | ||
120 | phy1f: ethernet-phy@1f { | ||
121 | interrupt-parent = < &ipic >; | ||
122 | interrupts = <12 8>; | ||
123 | reg = <1f>; | ||
124 | device_type = "ethernet-phy"; | 129 | device_type = "ethernet-phy"; |
125 | }; | 130 | }; |
126 | }; | 131 | }; |
127 | 132 | ||
128 | ethernet@24000 { | 133 | enet0: ethernet@24000 { |
134 | cell-index = <0>; | ||
129 | device_type = "network"; | 135 | device_type = "network"; |
130 | model = "TSEC"; | 136 | model = "TSEC"; |
131 | compatible = "gianfar"; | 137 | compatible = "gianfar"; |
132 | reg = <24000 1000>; | 138 | reg = <0x24000 0x1000>; |
133 | /* | ||
134 | * address is deprecated and will be removed | ||
135 | * in 2.6.25. Only recent versions of | ||
136 | * U-Boot support local-mac-address, however. | ||
137 | */ | ||
138 | address = [ 00 00 00 00 00 00 ]; | ||
139 | local-mac-address = [ 00 00 00 00 00 00 ]; | 139 | local-mac-address = [ 00 00 00 00 00 00 ]; |
140 | interrupts = <20 8 21 8 22 8>; | 140 | interrupts = <32 0x8 33 0x8 34 0x8>; |
141 | interrupt-parent = < &ipic >; | 141 | interrupt-parent = <&ipic>; |
142 | phy-handle = < &phy1c >; | 142 | phy-handle = <&phy1c>; |
143 | linux,network-index = <0>; | 143 | linux,network-index = <0>; |
144 | }; | 144 | }; |
145 | 145 | ||
146 | ethernet@25000 { | 146 | enet1: ethernet@25000 { |
147 | #address-cells = <1>; | 147 | cell-index = <1>; |
148 | #size-cells = <0>; | ||
149 | device_type = "network"; | 148 | device_type = "network"; |
150 | model = "TSEC"; | 149 | model = "TSEC"; |
151 | compatible = "gianfar"; | 150 | compatible = "gianfar"; |
152 | reg = <25000 1000>; | 151 | reg = <0x25000 0x1000>; |
153 | /* | ||
154 | * address is deprecated and will be removed | ||
155 | * in 2.6.25. Only recent versions of | ||
156 | * U-Boot support local-mac-address, however. | ||
157 | */ | ||
158 | address = [ 00 00 00 00 00 00 ]; | ||
159 | local-mac-address = [ 00 00 00 00 00 00 ]; | 152 | local-mac-address = [ 00 00 00 00 00 00 ]; |
160 | interrupts = <23 8 24 8 25 8>; | 153 | interrupts = <35 0x8 36 0x8 37 0x8>; |
161 | interrupt-parent = < &ipic >; | 154 | interrupt-parent = <&ipic>; |
162 | phy-handle = < &phy1f >; | 155 | /* Vitesse 7385 isn't on the MDIO bus */ |
156 | fixed-link = <1 1 1000 0 0>; | ||
163 | linux,network-index = <1>; | 157 | linux,network-index = <1>; |
164 | }; | 158 | }; |
165 | 159 | ||
166 | serial@4500 { | 160 | serial0: serial@4500 { |
161 | cell-index = <0>; | ||
167 | device_type = "serial"; | 162 | device_type = "serial"; |
168 | compatible = "ns16550"; | 163 | compatible = "ns16550"; |
169 | reg = <4500 100>; | 164 | reg = <0x4500 0x100>; |
170 | clock-frequency = <0>; // from bootloader | 165 | clock-frequency = <0>; // from bootloader |
171 | interrupts = <9 8>; | 166 | interrupts = <9 0x8>; |
172 | interrupt-parent = < &ipic >; | 167 | interrupt-parent = <&ipic>; |
173 | }; | 168 | }; |
174 | 169 | ||
175 | serial@4600 { | 170 | serial1: serial@4600 { |
171 | cell-index = <1>; | ||
176 | device_type = "serial"; | 172 | device_type = "serial"; |
177 | compatible = "ns16550"; | 173 | compatible = "ns16550"; |
178 | reg = <4600 100>; | 174 | reg = <0x4600 0x100>; |
179 | clock-frequency = <0>; // from bootloader | 175 | clock-frequency = <0>; // from bootloader |
180 | interrupts = <a 8>; | 176 | interrupts = <10 0x8>; |
181 | interrupt-parent = < &ipic >; | 177 | interrupt-parent = <&ipic>; |
182 | }; | 178 | }; |
183 | 179 | ||
184 | crypto@30000 { | 180 | crypto@30000 { |
185 | device_type = "crypto"; | 181 | device_type = "crypto"; |
186 | model = "SEC2"; | 182 | model = "SEC2"; |
187 | compatible = "talitos"; | 183 | compatible = "talitos"; |
188 | reg = <30000 10000>; | 184 | reg = <0x30000 0x10000>; |
189 | interrupts = <b 8>; | 185 | interrupts = <11 0x8>; |
190 | interrupt-parent = < &ipic >; | 186 | interrupt-parent = <&ipic>; |
191 | num-channels = <4>; | 187 | num-channels = <4>; |
192 | channel-fifo-len = <18>; | 188 | channel-fifo-len = <24>; |
193 | exec-units-mask = <0000007e>; | 189 | exec-units-mask = <0x0000007e>; |
194 | descriptor-types-mask = <01010ebf>; | 190 | descriptor-types-mask = <0x01010ebf>; |
195 | }; | 191 | }; |
196 | 192 | ||
197 | ipic: pic@700 { | 193 | ipic: pic@700 { |
198 | interrupt-controller; | 194 | interrupt-controller; |
199 | #address-cells = <0>; | 195 | #address-cells = <0>; |
200 | #interrupt-cells = <2>; | 196 | #interrupt-cells = <2>; |
201 | reg = <700 100>; | 197 | reg = <0x700 0x100>; |
202 | device_type = "ipic"; | 198 | device_type = "ipic"; |
203 | }; | 199 | }; |
204 | }; | 200 | }; |
205 | 201 | ||
206 | pci@e0008500 { | 202 | pci0: pci@e0008500 { |
207 | interrupt-map-mask = <f800 0 0 7>; | 203 | cell-index = <1>; |
204 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
208 | interrupt-map = < | 205 | interrupt-map = < |
209 | /* IDSEL 0x10 - SATA */ | 206 | /* IDSEL 0x10 - SATA */ |
210 | 8000 0 0 1 &ipic 16 8 /* SATA_INTA */ | 207 | 0x8000 0x0 0x0 0x1 &ipic 22 0x8 /* SATA_INTA */ |
211 | >; | 208 | >; |
212 | interrupt-parent = < &ipic >; | 209 | interrupt-parent = <&ipic>; |
213 | interrupts = <42 8>; | 210 | interrupts = <66 0x8>; |
214 | bus-range = <0 0>; | 211 | bus-range = <0x0 0x0>; |
215 | ranges = <42000000 0 80000000 80000000 0 10000000 | 212 | ranges = <0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
216 | 02000000 0 90000000 90000000 0 10000000 | 213 | 0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
217 | 01000000 0 00000000 e2000000 0 01000000>; | 214 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x01000000>; |
218 | clock-frequency = <3f940aa>; | 215 | clock-frequency = <66666666>; |
219 | #interrupt-cells = <1>; | 216 | #interrupt-cells = <1>; |
220 | #size-cells = <2>; | 217 | #size-cells = <2>; |
221 | #address-cells = <3>; | 218 | #address-cells = <3>; |
222 | reg = <e0008500 100>; | 219 | reg = <0xe0008500 0x100>; |
223 | compatible = "fsl,mpc8349-pci"; | 220 | compatible = "fsl,mpc8349-pci"; |
224 | device_type = "pci"; | 221 | device_type = "pci"; |
225 | }; | 222 | }; |
226 | 223 | ||
227 | pci@e0008600 { | 224 | pci1: pci@e0008600 { |
228 | interrupt-map-mask = <f800 0 0 7>; | 225 | cell-index = <2>; |
226 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; | ||
229 | interrupt-map = < | 227 | interrupt-map = < |
230 | /* IDSEL 0x0E - MiniPCI Slot */ | 228 | /* IDSEL 0x0E - MiniPCI Slot */ |
231 | 7000 0 0 1 &ipic 15 8 /* PCI_INTA */ | 229 | 0x7000 0x0 0x0 0x1 &ipic 21 0x8 /* PCI_INTA */ |
232 | 230 | ||
233 | /* IDSEL 0x0F - PCI Slot */ | 231 | /* IDSEL 0x0F - PCI Slot */ |
234 | 7800 0 0 1 &ipic 14 8 /* PCI_INTA */ | 232 | 0x7800 0x0 0x0 0x1 &ipic 20 0x8 /* PCI_INTA */ |
235 | 7800 0 0 2 &ipic 15 8 /* PCI_INTB */ | 233 | 0x7800 0x0 0x0 0x2 &ipic 21 0x8 /* PCI_INTB */ |
236 | >; | 234 | >; |
237 | interrupt-parent = < &ipic >; | 235 | interrupt-parent = <&ipic>; |
238 | interrupts = <43 8>; | 236 | interrupts = <67 0x8>; |
239 | bus-range = <0 0>; | 237 | bus-range = <0x0 0x0>; |
240 | ranges = <42000000 0 a0000000 a0000000 0 10000000 | 238 | ranges = <0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
241 | 02000000 0 b0000000 b0000000 0 10000000 | 239 | 0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 |
242 | 01000000 0 00000000 e3000000 0 01000000>; | 240 | 0x01000000 0x0 0x00000000 0xe3000000 0x0 0x01000000>; |
243 | clock-frequency = <3f940aa>; | 241 | clock-frequency = <66666666>; |
244 | #interrupt-cells = <1>; | 242 | #interrupt-cells = <1>; |
245 | #size-cells = <2>; | 243 | #size-cells = <2>; |
246 | #address-cells = <3>; | 244 | #address-cells = <3>; |
247 | reg = <e0008600 100>; | 245 | reg = <0xe0008600 0x100>; |
248 | compatible = "fsl,mpc8349-pci"; | 246 | compatible = "fsl,mpc8349-pci"; |
249 | device_type = "pci"; | 247 | device_type = "pci"; |
250 | }; | 248 | }; |
251 | 249 | ||
250 | localbus@e0005000 { | ||
251 | #address-cells = <2>; | ||
252 | #size-cells = <1>; | ||
253 | compatible = "fsl,mpc8349e-localbus", | ||
254 | "fsl,pq2pro-localbus"; | ||
255 | reg = <0xe0005000 0xd8>; | ||
256 | ranges = <0x3 0x0 0xf0000000 0x210>; | ||
252 | 257 | ||
253 | 258 | pata@3,0 { | |
259 | compatible = "fsl,mpc8349emitx-pata", "ata-generic"; | ||
260 | reg = <0x3 0x0 0x10 0x3 0x20c 0x4>; | ||
261 | reg-shift = <1>; | ||
262 | pio-mode = <6>; | ||
263 | interrupts = <23 0x8>; | ||
264 | interrupt-parent = <&ipic>; | ||
265 | }; | ||
266 | }; | ||
254 | }; | 267 | }; |