Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8323E EMDS Device Tree Source |
| 3 | * |
| 4 | * Copyright 2006 Freescale Semiconductor Inc. |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify it |
| 7 | * under the terms of the GNU General Public License as published by the |
| 8 | * Free Software Foundation; either version 2 of the License, or (at your |
| 9 | * option) any later version. |
| 10 | */ |
| 11 | |
| 12 | / { |
| 13 | model = "MPC8323EMDS"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 14 | compatible = "MPC8323EMDS", "MPC832xMDS", "MPC83xxMDS"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 15 | #address-cells = <1>; |
| 16 | #size-cells = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 17 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 18 | aliases { |
| 19 | ethernet0 = &enet0; |
| 20 | ethernet1 = &enet1; |
| 21 | serial0 = &serial0; |
| 22 | serial1 = &serial1; |
| 23 | pci0 = &pci0; |
| 24 | }; |
| 25 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 26 | cpus { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 27 | #address-cells = <1>; |
| 28 | #size-cells = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 29 | |
| 30 | PowerPC,8323@0 { |
| 31 | device_type = "cpu"; |
| 32 | reg = <0>; |
| 33 | d-cache-line-size = <20>; // 32 bytes |
| 34 | i-cache-line-size = <20>; // 32 bytes |
| 35 | d-cache-size = <4000>; // L1, 16K |
| 36 | i-cache-size = <4000>; // L1, 16K |
| 37 | timebase-frequency = <0>; |
| 38 | bus-frequency = <0>; |
| 39 | clock-frequency = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 40 | }; |
| 41 | }; |
| 42 | |
| 43 | memory { |
| 44 | device_type = "memory"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 45 | reg = <00000000 08000000>; |
| 46 | }; |
| 47 | |
| 48 | bcsr@f8000000 { |
| 49 | device_type = "board-control"; |
| 50 | reg = <f8000000 8000>; |
| 51 | }; |
| 52 | |
| 53 | soc8323@e0000000 { |
| 54 | #address-cells = <1>; |
| 55 | #size-cells = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 56 | device_type = "soc"; |
| 57 | ranges = <0 e0000000 00100000>; |
| 58 | reg = <e0000000 00000200>; |
| 59 | bus-frequency = <7DE2900>; |
| 60 | |
| 61 | wdt@200 { |
| 62 | device_type = "watchdog"; |
| 63 | compatible = "mpc83xx_wdt"; |
| 64 | reg = <200 100>; |
| 65 | }; |
| 66 | |
| 67 | i2c@3000 { |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 68 | #address-cells = <1>; |
| 69 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 70 | cell-index = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 71 | compatible = "fsl-i2c"; |
| 72 | reg = <3000 100>; |
| 73 | interrupts = <e 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 74 | interrupt-parent = < &ipic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 75 | dfsrr; |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 76 | |
| 77 | rtc@68 { |
| 78 | compatible = "dallas,ds1374"; |
| 79 | reg = <68>; |
| 80 | }; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 81 | }; |
| 82 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 83 | serial0: serial@4500 { |
| 84 | cell-index = <0>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 85 | device_type = "serial"; |
| 86 | compatible = "ns16550"; |
| 87 | reg = <4500 100>; |
| 88 | clock-frequency = <0>; |
| 89 | interrupts = <9 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 90 | interrupt-parent = < &ipic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 91 | }; |
| 92 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 93 | serial1: serial@4600 { |
| 94 | cell-index = <1>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 95 | device_type = "serial"; |
| 96 | compatible = "ns16550"; |
| 97 | reg = <4600 100>; |
| 98 | clock-frequency = <0>; |
| 99 | interrupts = <a 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 100 | interrupt-parent = < &ipic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | crypto@30000 { |
| 104 | device_type = "crypto"; |
| 105 | model = "SEC2"; |
| 106 | compatible = "talitos"; |
| 107 | reg = <30000 7000>; |
| 108 | interrupts = <b 8>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 109 | interrupt-parent = < &ipic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 110 | /* Rev. 2.2 */ |
| 111 | num-channels = <1>; |
| 112 | channel-fifo-len = <18>; |
| 113 | exec-units-mask = <0000004c>; |
| 114 | descriptor-types-mask = <0122003f>; |
| 115 | }; |
| 116 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 117 | ipic: pic@700 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 118 | interrupt-controller; |
| 119 | #address-cells = <0>; |
| 120 | #interrupt-cells = <2>; |
| 121 | reg = <700 100>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 122 | device_type = "ipic"; |
| 123 | }; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 124 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 125 | par_io@1400 { |
| 126 | reg = <1400 100>; |
| 127 | device_type = "par_io"; |
| 128 | num-ports = <7>; |
| 129 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 130 | pio3: ucc_pin@03 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 131 | pio-map = < |
| 132 | /* port pin dir open_drain assignment has_irq */ |
| 133 | 3 4 3 0 2 0 /* MDIO */ |
| 134 | 3 5 1 0 2 0 /* MDC */ |
| 135 | 0 d 2 0 1 0 /* RX_CLK (CLK9) */ |
| 136 | 3 18 2 0 1 0 /* TX_CLK (CLK10) */ |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 137 | 1 0 1 0 1 0 /* TxD0 */ |
| 138 | 1 1 1 0 1 0 /* TxD1 */ |
| 139 | 1 2 1 0 1 0 /* TxD2 */ |
| 140 | 1 3 1 0 1 0 /* TxD3 */ |
| 141 | 1 4 2 0 1 0 /* RxD0 */ |
| 142 | 1 5 2 0 1 0 /* RxD1 */ |
| 143 | 1 6 2 0 1 0 /* RxD2 */ |
| 144 | 1 7 2 0 1 0 /* RxD3 */ |
| 145 | 1 8 2 0 1 0 /* RX_ER */ |
| 146 | 1 9 1 0 1 0 /* TX_ER */ |
| 147 | 1 a 2 0 1 0 /* RX_DV */ |
| 148 | 1 b 2 0 1 0 /* COL */ |
| 149 | 1 c 1 0 1 0 /* TX_EN */ |
| 150 | 1 d 2 0 1 0>;/* CRS */ |
| 151 | }; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 152 | pio4: ucc_pin@04 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 153 | pio-map = < |
| 154 | /* port pin dir open_drain assignment has_irq */ |
| 155 | 3 1f 2 0 1 0 /* RX_CLK (CLK7) */ |
| 156 | 3 6 2 0 1 0 /* TX_CLK (CLK8) */ |
| 157 | 1 12 1 0 1 0 /* TxD0 */ |
| 158 | 1 13 1 0 1 0 /* TxD1 */ |
| 159 | 1 14 1 0 1 0 /* TxD2 */ |
| 160 | 1 15 1 0 1 0 /* TxD3 */ |
| 161 | 1 16 2 0 1 0 /* RxD0 */ |
| 162 | 1 17 2 0 1 0 /* RxD1 */ |
| 163 | 1 18 2 0 1 0 /* RxD2 */ |
| 164 | 1 19 2 0 1 0 /* RxD3 */ |
| 165 | 1 1a 2 0 1 0 /* RX_ER */ |
| 166 | 1 1b 1 0 1 0 /* TX_ER */ |
| 167 | 1 1c 2 0 1 0 /* RX_DV */ |
| 168 | 1 1d 2 0 1 0 /* COL */ |
| 169 | 1 1e 1 0 1 0 /* TX_EN */ |
| 170 | 1 1f 2 0 1 0>;/* CRS */ |
| 171 | }; |
| 172 | }; |
| 173 | }; |
| 174 | |
| 175 | qe@e0100000 { |
| 176 | #address-cells = <1>; |
| 177 | #size-cells = <1>; |
| 178 | device_type = "qe"; |
| 179 | model = "QE"; |
| 180 | ranges = <0 e0100000 00100000>; |
| 181 | reg = <e0100000 480>; |
| 182 | brg-frequency = <0>; |
| 183 | bus-frequency = <BCD3D80>; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 184 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 185 | muram@10000 { |
| 186 | device_type = "muram"; |
| 187 | ranges = <0 00010000 00004000>; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 188 | |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 189 | data-only@0 { |
| 190 | reg = <0 4000>; |
| 191 | }; |
| 192 | }; |
| 193 | |
| 194 | spi@4c0 { |
| 195 | device_type = "spi"; |
| 196 | compatible = "fsl_spi"; |
| 197 | reg = <4c0 40>; |
| 198 | interrupts = <2>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 199 | interrupt-parent = < &qeic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 200 | mode = "cpu"; |
| 201 | }; |
| 202 | |
| 203 | spi@500 { |
| 204 | device_type = "spi"; |
| 205 | compatible = "fsl_spi"; |
| 206 | reg = <500 40>; |
| 207 | interrupts = <1>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 208 | interrupt-parent = < &qeic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 209 | mode = "cpu"; |
| 210 | }; |
| 211 | |
| 212 | usb@6c0 { |
| 213 | device_type = "usb"; |
| 214 | compatible = "qe_udc"; |
| 215 | reg = <6c0 40 8B00 100>; |
| 216 | interrupts = <b>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 217 | interrupt-parent = < &qeic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 218 | mode = "slave"; |
| 219 | }; |
| 220 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 221 | enet0: ucc@2200 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 222 | device_type = "network"; |
| 223 | compatible = "ucc_geth"; |
| 224 | model = "UCC"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 225 | cell-index = <3>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 226 | device-id = <3>; |
| 227 | reg = <2200 200>; |
| 228 | interrupts = <22>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 229 | interrupt-parent = < &qeic >; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 230 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame^] | 231 | rx-clock-name = "clk9"; |
| 232 | tx-clock-name = "clk10"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 233 | phy-handle = < &phy3 >; |
| 234 | pio-handle = < &pio3 >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 235 | }; |
| 236 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 237 | enet1: ucc@3200 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 238 | device_type = "network"; |
| 239 | compatible = "ucc_geth"; |
| 240 | model = "UCC"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 241 | cell-index = <4>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 242 | device-id = <4>; |
Kim Phillips | 4a2adca | 2007-11-13 17:26:31 -0600 | [diff] [blame] | 243 | reg = <3200 200>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 244 | interrupts = <23>; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 245 | interrupt-parent = < &qeic >; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 246 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Timur Tabi | 9fb1e35 | 2007-12-03 15:17:59 -0600 | [diff] [blame^] | 247 | rx-clock-name = "clk7"; |
| 248 | tx-clock-name = "clk8"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 249 | phy-handle = < &phy4 >; |
| 250 | pio-handle = < &pio4 >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 251 | }; |
| 252 | |
| 253 | mdio@2320 { |
| 254 | #address-cells = <1>; |
| 255 | #size-cells = <0>; |
| 256 | reg = <2320 18>; |
| 257 | device_type = "mdio"; |
| 258 | compatible = "ucc_geth_phy"; |
| 259 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 260 | phy3: ethernet-phy@03 { |
| 261 | interrupt-parent = < &ipic >; |
| 262 | interrupts = <11 8>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 263 | reg = <3>; |
| 264 | device_type = "ethernet-phy"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 265 | }; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 266 | phy4: ethernet-phy@04 { |
| 267 | interrupt-parent = < &ipic >; |
| 268 | interrupts = <12 8>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 269 | reg = <4>; |
| 270 | device_type = "ethernet-phy"; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 271 | }; |
| 272 | }; |
| 273 | |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 274 | qeic: qeic@80 { |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 275 | interrupt-controller; |
| 276 | device_type = "qeic"; |
| 277 | #address-cells = <0>; |
| 278 | #interrupt-cells = <1>; |
| 279 | reg = <80 80>; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 280 | big-endian; |
| 281 | interrupts = <20 8 21 8>; //high:32 low:33 |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 282 | interrupt-parent = < &ipic >; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 283 | }; |
| 284 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 285 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 286 | pci0: pci@e0008500 { |
| 287 | cell-index = <1>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 288 | interrupt-map-mask = <f800 0 0 7>; |
| 289 | interrupt-map = < |
| 290 | /* IDSEL 0x11 AD17 */ |
| 291 | 8800 0 0 1 &ipic 14 8 |
| 292 | 8800 0 0 2 &ipic 15 8 |
| 293 | 8800 0 0 3 &ipic 16 8 |
| 294 | 8800 0 0 4 &ipic 17 8 |
| 295 | |
| 296 | /* IDSEL 0x12 AD18 */ |
| 297 | 9000 0 0 1 &ipic 16 8 |
| 298 | 9000 0 0 2 &ipic 17 8 |
| 299 | 9000 0 0 3 &ipic 14 8 |
| 300 | 9000 0 0 4 &ipic 15 8 |
| 301 | |
| 302 | /* IDSEL 0x13 AD19 */ |
| 303 | 9800 0 0 1 &ipic 17 8 |
| 304 | 9800 0 0 2 &ipic 14 8 |
| 305 | 9800 0 0 3 &ipic 15 8 |
| 306 | 9800 0 0 4 &ipic 16 8 |
| 307 | |
| 308 | /* IDSEL 0x15 AD21*/ |
| 309 | a800 0 0 1 &ipic 14 8 |
| 310 | a800 0 0 2 &ipic 15 8 |
| 311 | a800 0 0 3 &ipic 16 8 |
| 312 | a800 0 0 4 &ipic 17 8 |
| 313 | |
| 314 | /* IDSEL 0x16 AD22*/ |
| 315 | b000 0 0 1 &ipic 17 8 |
| 316 | b000 0 0 2 &ipic 14 8 |
| 317 | b000 0 0 3 &ipic 15 8 |
| 318 | b000 0 0 4 &ipic 16 8 |
| 319 | |
| 320 | /* IDSEL 0x17 AD23*/ |
| 321 | b800 0 0 1 &ipic 16 8 |
| 322 | b800 0 0 2 &ipic 17 8 |
| 323 | b800 0 0 3 &ipic 14 8 |
| 324 | b800 0 0 4 &ipic 15 8 |
| 325 | |
| 326 | /* IDSEL 0x18 AD24*/ |
| 327 | c000 0 0 1 &ipic 15 8 |
| 328 | c000 0 0 2 &ipic 16 8 |
| 329 | c000 0 0 3 &ipic 17 8 |
| 330 | c000 0 0 4 &ipic 14 8>; |
| 331 | interrupt-parent = < &ipic >; |
| 332 | interrupts = <42 8>; |
| 333 | bus-range = <0 0>; |
| 334 | ranges = <02000000 0 90000000 90000000 0 10000000 |
| 335 | 42000000 0 80000000 80000000 0 10000000 |
| 336 | 01000000 0 00000000 d0000000 0 00100000>; |
| 337 | clock-frequency = <0>; |
| 338 | #interrupt-cells = <1>; |
| 339 | #size-cells = <2>; |
| 340 | #address-cells = <3>; |
| 341 | reg = <e0008500 100>; |
| 342 | compatible = "fsl,mpc8349-pci"; |
| 343 | device_type = "pci"; |
| 344 | }; |
Kim Phillips | 18a1e4c | 2007-01-30 16:09:13 -0600 | [diff] [blame] | 345 | }; |