Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8568E MDS Device Tree Source |
| 3 | * |
| 4 | * Copyright 2007 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 | /* |
| 14 | /memreserve/ 00000000 1000000; |
| 15 | */ |
| 16 | |
| 17 | / { |
| 18 | model = "MPC8568EMDS"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 19 | compatible = "MPC8568EMDS", "MPC85xxMDS"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 22 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame^] | 23 | aliases { |
| 24 | ethernet0 = &enet0; |
| 25 | ethernet1 = &enet1; |
| 26 | ethernet2 = &enet2; |
| 27 | ethernet3 = &enet3; |
| 28 | serial0 = &serial0; |
| 29 | serial1 = &serial1; |
| 30 | pci0 = &pci0; |
| 31 | pci1 = &pci1; |
| 32 | }; |
| 33 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 34 | cpus { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 35 | #address-cells = <1>; |
| 36 | #size-cells = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 37 | |
| 38 | PowerPC,8568@0 { |
| 39 | device_type = "cpu"; |
| 40 | reg = <0>; |
| 41 | d-cache-line-size = <20>; // 32 bytes |
| 42 | i-cache-line-size = <20>; // 32 bytes |
| 43 | d-cache-size = <8000>; // L1, 32K |
| 44 | i-cache-size = <8000>; // L1, 32K |
| 45 | timebase-frequency = <0>; |
| 46 | bus-frequency = <0>; |
| 47 | clock-frequency = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 48 | }; |
| 49 | }; |
| 50 | |
| 51 | memory { |
| 52 | device_type = "memory"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 53 | reg = <00000000 10000000>; |
| 54 | }; |
| 55 | |
| 56 | bcsr@f8000000 { |
| 57 | device_type = "board-control"; |
| 58 | reg = <f8000000 8000>; |
| 59 | }; |
| 60 | |
| 61 | soc8568@e0000000 { |
| 62 | #address-cells = <1>; |
| 63 | #size-cells = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 64 | device_type = "soc"; |
| 65 | ranges = <0 e0000000 00100000>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 66 | reg = <e0000000 00001000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 67 | bus-frequency = <0>; |
| 68 | |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 69 | memory-controller@2000 { |
| 70 | compatible = "fsl,8568-memory-controller"; |
| 71 | reg = <2000 1000>; |
| 72 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 73 | interrupts = <12 2>; |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 74 | }; |
| 75 | |
| 76 | l2-cache-controller@20000 { |
| 77 | compatible = "fsl,8568-l2-cache-controller"; |
| 78 | reg = <20000 1000>; |
| 79 | cache-line-size = <20>; // 32 bytes |
| 80 | cache-size = <80000>; // L2, 512K |
| 81 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 82 | interrupts = <10 2>; |
Kumar Gala | 4da421d | 2007-05-15 13:20:05 -0500 | [diff] [blame] | 83 | }; |
| 84 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 85 | i2c@3000 { |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 86 | #address-cells = <1>; |
| 87 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 88 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 89 | compatible = "fsl-i2c"; |
| 90 | reg = <3000 100>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 91 | interrupts = <2b 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 92 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 93 | dfsrr; |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 94 | |
| 95 | rtc@68 { |
| 96 | compatible = "dallas,ds1374"; |
| 97 | reg = <68>; |
| 98 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 99 | }; |
| 100 | |
| 101 | i2c@3100 { |
Anton Vorontsov | c0e4eb2 | 2007-10-02 17:47:43 +0400 | [diff] [blame] | 102 | #address-cells = <1>; |
| 103 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 104 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 105 | compatible = "fsl-i2c"; |
| 106 | reg = <3100 100>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 107 | interrupts = <2b 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 108 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 109 | dfsrr; |
| 110 | }; |
| 111 | |
| 112 | mdio@24520 { |
| 113 | #address-cells = <1>; |
| 114 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 115 | compatible = "fsl,gianfar-mdio"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 116 | reg = <24520 20>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 117 | |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 118 | phy0: ethernet-phy@7 { |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 119 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 120 | interrupts = <1 1>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 121 | reg = <7>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 122 | device_type = "ethernet-phy"; |
| 123 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 124 | phy1: ethernet-phy@1 { |
| 125 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 126 | interrupts = <2 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 127 | reg = <1>; |
| 128 | device_type = "ethernet-phy"; |
| 129 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 130 | phy2: ethernet-phy@2 { |
| 131 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 132 | interrupts = <1 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 133 | reg = <2>; |
| 134 | device_type = "ethernet-phy"; |
| 135 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 136 | phy3: ethernet-phy@3 { |
| 137 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 138 | interrupts = <2 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 139 | reg = <3>; |
| 140 | device_type = "ethernet-phy"; |
| 141 | }; |
| 142 | }; |
| 143 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 144 | enet0: ethernet@24000 { |
| 145 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 146 | device_type = "network"; |
| 147 | model = "eTSEC"; |
| 148 | compatible = "gianfar"; |
| 149 | reg = <24000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 150 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 151 | interrupts = <1d 2 1e 2 22 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 152 | interrupt-parent = <&mpic>; |
| 153 | phy-handle = <&phy2>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 154 | }; |
| 155 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 156 | enet1: ethernet@25000 { |
| 157 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 158 | device_type = "network"; |
| 159 | model = "eTSEC"; |
| 160 | compatible = "gianfar"; |
| 161 | reg = <25000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 162 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 163 | interrupts = <23 2 24 2 28 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 164 | interrupt-parent = <&mpic>; |
| 165 | phy-handle = <&phy3>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 166 | }; |
| 167 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame^] | 168 | serial0: serial@4500 { |
| 169 | cell-index = <0>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 170 | device_type = "serial"; |
| 171 | compatible = "ns16550"; |
| 172 | reg = <4500 100>; |
| 173 | clock-frequency = <0>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 174 | interrupts = <2a 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 175 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 176 | }; |
| 177 | |
Roy Zang | 10ce8c6 | 2007-07-13 17:35:33 +0800 | [diff] [blame] | 178 | global-utilities@e0000 { //global utilities block |
| 179 | compatible = "fsl,mpc8548-guts"; |
| 180 | reg = <e0000 1000>; |
| 181 | fsl,has-rstcr; |
| 182 | }; |
| 183 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame^] | 184 | serial1: serial@4600 { |
| 185 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 186 | device_type = "serial"; |
| 187 | compatible = "ns16550"; |
| 188 | reg = <4600 100>; |
| 189 | clock-frequency = <0>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 190 | interrupts = <2a 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 191 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 192 | }; |
| 193 | |
| 194 | crypto@30000 { |
| 195 | device_type = "crypto"; |
| 196 | model = "SEC2"; |
| 197 | compatible = "talitos"; |
| 198 | reg = <30000 f000>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 199 | interrupts = <2d 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 200 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 201 | num-channels = <4>; |
| 202 | channel-fifo-len = <18>; |
| 203 | exec-units-mask = <000000fe>; |
| 204 | descriptor-types-mask = <012b0ebf>; |
| 205 | }; |
| 206 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 207 | mpic: pic@40000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 208 | clock-frequency = <0>; |
| 209 | interrupt-controller; |
| 210 | #address-cells = <0>; |
| 211 | #interrupt-cells = <2>; |
| 212 | reg = <40000 40000>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 213 | compatible = "chrp,open-pic"; |
| 214 | device_type = "open-pic"; |
| 215 | big-endian; |
| 216 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 217 | |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 218 | par_io@e0100 { |
| 219 | reg = <e0100 100>; |
| 220 | device_type = "par_io"; |
| 221 | num-ports = <7>; |
| 222 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 223 | pio1: ucc_pin@01 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 224 | pio-map = < |
| 225 | /* port pin dir open_drain assignment has_irq */ |
| 226 | 4 0a 1 0 2 0 /* TxD0 */ |
| 227 | 4 09 1 0 2 0 /* TxD1 */ |
| 228 | 4 08 1 0 2 0 /* TxD2 */ |
| 229 | 4 07 1 0 2 0 /* TxD3 */ |
| 230 | 4 17 1 0 2 0 /* TxD4 */ |
| 231 | 4 16 1 0 2 0 /* TxD5 */ |
| 232 | 4 15 1 0 2 0 /* TxD6 */ |
| 233 | 4 14 1 0 2 0 /* TxD7 */ |
| 234 | 4 0f 2 0 2 0 /* RxD0 */ |
| 235 | 4 0e 2 0 2 0 /* RxD1 */ |
| 236 | 4 0d 2 0 2 0 /* RxD2 */ |
| 237 | 4 0c 2 0 2 0 /* RxD3 */ |
| 238 | 4 1d 2 0 2 0 /* RxD4 */ |
| 239 | 4 1c 2 0 2 0 /* RxD5 */ |
| 240 | 4 1b 2 0 2 0 /* RxD6 */ |
| 241 | 4 1a 2 0 2 0 /* RxD7 */ |
| 242 | 4 0b 1 0 2 0 /* TX_EN */ |
| 243 | 4 18 1 0 2 0 /* TX_ER */ |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 244 | 4 10 2 0 2 0 /* RX_DV */ |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 245 | 4 1e 2 0 2 0 /* RX_ER */ |
| 246 | 4 11 2 0 2 0 /* RX_CLK */ |
| 247 | 4 13 1 0 2 0 /* GTX_CLK */ |
| 248 | 1 1f 2 0 3 0>; /* GTX125 */ |
| 249 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 250 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 251 | pio2: ucc_pin@02 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 252 | pio-map = < |
| 253 | /* port pin dir open_drain assignment has_irq */ |
| 254 | 5 0a 1 0 2 0 /* TxD0 */ |
| 255 | 5 09 1 0 2 0 /* TxD1 */ |
| 256 | 5 08 1 0 2 0 /* TxD2 */ |
| 257 | 5 07 1 0 2 0 /* TxD3 */ |
| 258 | 5 17 1 0 2 0 /* TxD4 */ |
| 259 | 5 16 1 0 2 0 /* TxD5 */ |
| 260 | 5 15 1 0 2 0 /* TxD6 */ |
| 261 | 5 14 1 0 2 0 /* TxD7 */ |
| 262 | 5 0f 2 0 2 0 /* RxD0 */ |
| 263 | 5 0e 2 0 2 0 /* RxD1 */ |
| 264 | 5 0d 2 0 2 0 /* RxD2 */ |
| 265 | 5 0c 2 0 2 0 /* RxD3 */ |
| 266 | 5 1d 2 0 2 0 /* RxD4 */ |
| 267 | 5 1c 2 0 2 0 /* RxD5 */ |
| 268 | 5 1b 2 0 2 0 /* RxD6 */ |
| 269 | 5 1a 2 0 2 0 /* RxD7 */ |
| 270 | 5 0b 1 0 2 0 /* TX_EN */ |
| 271 | 5 18 1 0 2 0 /* TX_ER */ |
| 272 | 5 10 2 0 2 0 /* RX_DV */ |
| 273 | 5 1e 2 0 2 0 /* RX_ER */ |
| 274 | 5 11 2 0 2 0 /* RX_CLK */ |
| 275 | 5 13 1 0 2 0 /* GTX_CLK */ |
| 276 | 1 1f 2 0 3 0 /* GTX125 */ |
| 277 | 4 06 3 0 2 0 /* MDIO */ |
| 278 | 4 05 1 0 2 0>; /* MDC */ |
| 279 | }; |
| 280 | }; |
| 281 | }; |
| 282 | |
| 283 | qe@e0080000 { |
| 284 | #address-cells = <1>; |
| 285 | #size-cells = <1>; |
| 286 | device_type = "qe"; |
| 287 | model = "QE"; |
| 288 | ranges = <0 e0080000 00040000>; |
| 289 | reg = <e0080000 480>; |
| 290 | brg-frequency = <0>; |
| 291 | bus-frequency = <179A7B00>; |
| 292 | |
| 293 | muram@10000 { |
| 294 | device_type = "muram"; |
| 295 | ranges = <0 00010000 0000c000>; |
| 296 | |
| 297 | data-only@0{ |
| 298 | reg = <0 c000>; |
| 299 | }; |
| 300 | }; |
| 301 | |
| 302 | spi@4c0 { |
| 303 | device_type = "spi"; |
| 304 | compatible = "fsl_spi"; |
| 305 | reg = <4c0 40>; |
| 306 | interrupts = <2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 307 | interrupt-parent = <&qeic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 308 | mode = "cpu"; |
| 309 | }; |
| 310 | |
| 311 | spi@500 { |
| 312 | device_type = "spi"; |
| 313 | compatible = "fsl_spi"; |
| 314 | reg = <500 40>; |
| 315 | interrupts = <1>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 316 | interrupt-parent = <&qeic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 317 | mode = "cpu"; |
| 318 | }; |
| 319 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 320 | enet2: ucc@2000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 321 | device_type = "network"; |
| 322 | compatible = "ucc_geth"; |
| 323 | model = "UCC"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 324 | cell-index = <1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 325 | device-id = <1>; |
| 326 | reg = <2000 200>; |
| 327 | interrupts = <20>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 328 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 329 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 330 | rx-clock = <0>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 331 | tx-clock = <20>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 332 | pio-handle = <&pio1>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 333 | phy-handle = <&phy0>; |
| 334 | phy-connection-type = "rgmii-id"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 335 | }; |
| 336 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 337 | enet3: ucc@3000 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 338 | device_type = "network"; |
| 339 | compatible = "ucc_geth"; |
| 340 | model = "UCC"; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 341 | cell-index = <2>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 342 | device-id = <2>; |
| 343 | reg = <3000 200>; |
| 344 | interrupts = <21>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 345 | interrupt-parent = <&qeic>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 346 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 347 | rx-clock = <0>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 348 | tx-clock = <20>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 349 | pio-handle = <&pio2>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 350 | phy-handle = <&phy1>; |
| 351 | phy-connection-type = "rgmii-id"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 352 | }; |
| 353 | |
| 354 | mdio@2120 { |
| 355 | #address-cells = <1>; |
| 356 | #size-cells = <0>; |
| 357 | reg = <2120 18>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 358 | compatible = "ucc_geth_phy"; |
| 359 | |
| 360 | /* These are the same PHYs as on |
| 361 | * gianfar's MDIO bus */ |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 362 | qe_phy0: ethernet-phy@07 { |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 363 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 364 | interrupts = <1 1>; |
Anton Vorontsov | af6521e | 2007-10-05 21:46:53 +0400 | [diff] [blame] | 365 | reg = <7>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 366 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 367 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 368 | qe_phy1: ethernet-phy@01 { |
| 369 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 370 | interrupts = <2 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 371 | reg = <1>; |
| 372 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 373 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 374 | qe_phy2: ethernet-phy@02 { |
| 375 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 376 | interrupts = <1 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 377 | reg = <2>; |
| 378 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 379 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 380 | qe_phy3: ethernet-phy@03 { |
| 381 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 382 | interrupts = <2 1>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 383 | reg = <3>; |
| 384 | device_type = "ethernet-phy"; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 385 | }; |
| 386 | }; |
| 387 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 388 | qeic: qeic@80 { |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 389 | interrupt-controller; |
| 390 | device_type = "qeic"; |
| 391 | #address-cells = <0>; |
| 392 | #interrupt-cells = <1>; |
| 393 | reg = <80 80>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 394 | big-endian; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 395 | interrupts = <2e 2 2e 2>; //high:30 low:30 |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 396 | interrupt-parent = <&mpic>; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 397 | }; |
| 398 | |
| 399 | }; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 400 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame^] | 401 | pci0: pci@e0008000 { |
| 402 | cell-index = <0>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 403 | interrupt-map-mask = <f800 0 0 7>; |
| 404 | interrupt-map = < |
| 405 | /* IDSEL 0x12 AD18 */ |
| 406 | 9000 0 0 1 &mpic 5 1 |
| 407 | 9000 0 0 2 &mpic 6 1 |
| 408 | 9000 0 0 3 &mpic 7 1 |
| 409 | 9000 0 0 4 &mpic 4 1 |
| 410 | |
| 411 | /* IDSEL 0x13 AD19 */ |
| 412 | 9800 0 0 1 &mpic 6 1 |
| 413 | 9800 0 0 2 &mpic 7 1 |
| 414 | 9800 0 0 3 &mpic 4 1 |
| 415 | 9800 0 0 4 &mpic 5 1>; |
| 416 | |
| 417 | interrupt-parent = <&mpic>; |
| 418 | interrupts = <18 2>; |
| 419 | bus-range = <0 ff>; |
| 420 | ranges = <02000000 0 80000000 80000000 0 20000000 |
| 421 | 01000000 0 00000000 e2000000 0 00800000>; |
| 422 | clock-frequency = <3f940aa>; |
| 423 | #interrupt-cells = <1>; |
| 424 | #size-cells = <2>; |
| 425 | #address-cells = <3>; |
| 426 | reg = <e0008000 1000>; |
| 427 | compatible = "fsl,mpc8540-pci"; |
| 428 | device_type = "pci"; |
| 429 | }; |
| 430 | |
| 431 | /* PCI Express */ |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame^] | 432 | pci1: pcie@e000a000 { |
| 433 | cell-index = <2>; |
Kumar Gala | 86a04d9 | 2007-10-02 09:51:32 -0500 | [diff] [blame] | 434 | interrupt-map-mask = <f800 0 0 7>; |
| 435 | interrupt-map = < |
| 436 | |
| 437 | /* IDSEL 0x0 (PEX) */ |
| 438 | 00000 0 0 1 &mpic 0 1 |
| 439 | 00000 0 0 2 &mpic 1 1 |
| 440 | 00000 0 0 3 &mpic 2 1 |
| 441 | 00000 0 0 4 &mpic 3 1>; |
| 442 | |
| 443 | interrupt-parent = <&mpic>; |
| 444 | interrupts = <1a 2>; |
| 445 | bus-range = <0 ff>; |
| 446 | ranges = <02000000 0 a0000000 a0000000 0 10000000 |
| 447 | 01000000 0 00000000 e2800000 0 00800000>; |
| 448 | clock-frequency = <1fca055>; |
| 449 | #interrupt-cells = <1>; |
| 450 | #size-cells = <2>; |
| 451 | #address-cells = <3>; |
| 452 | reg = <e000a000 1000>; |
| 453 | compatible = "fsl,mpc8548-pcie"; |
| 454 | device_type = "pci"; |
| 455 | pcie@0 { |
| 456 | reg = <0 0 0 0 0>; |
| 457 | #size-cells = <2>; |
| 458 | #address-cells = <3>; |
| 459 | device_type = "pci"; |
| 460 | ranges = <02000000 0 a0000000 |
| 461 | 02000000 0 a0000000 |
| 462 | 0 10000000 |
| 463 | |
| 464 | 01000000 0 00000000 |
| 465 | 01000000 0 00000000 |
| 466 | 0 00800000>; |
| 467 | }; |
| 468 | }; |
Andy Fleming | c2882bb | 2007-02-09 17:28:31 -0600 | [diff] [blame] | 469 | }; |