Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8641 HPCN 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 | / { |
| 14 | model = "MPC8641HPCN"; |
| 15 | compatible = "mpc86xx"; |
| 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 19 | aliases { |
| 20 | ethernet0 = &enet0; |
| 21 | ethernet1 = &enet1; |
| 22 | ethernet2 = &enet2; |
| 23 | ethernet3 = &enet3; |
| 24 | serial0 = &serial0; |
| 25 | serial1 = &serial1; |
| 26 | pci0 = &pci0; |
| 27 | pci1 = &pci1; |
| 28 | }; |
| 29 | |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 30 | cpus { |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 31 | #address-cells = <1>; |
| 32 | #size-cells = <0>; |
| 33 | |
| 34 | PowerPC,8641@0 { |
| 35 | device_type = "cpu"; |
| 36 | reg = <0>; |
| 37 | d-cache-line-size = <20>; // 32 bytes |
| 38 | i-cache-line-size = <20>; // 32 bytes |
| 39 | d-cache-size = <8000>; // L1, 32K |
| 40 | i-cache-size = <8000>; // L1, 32K |
| 41 | timebase-frequency = <0>; // 33 MHz, from uboot |
| 42 | bus-frequency = <0>; // From uboot |
| 43 | clock-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 44 | }; |
| 45 | PowerPC,8641@1 { |
| 46 | device_type = "cpu"; |
| 47 | reg = <1>; |
| 48 | d-cache-line-size = <20>; // 32 bytes |
| 49 | i-cache-line-size = <20>; // 32 bytes |
| 50 | d-cache-size = <8000>; // L1, 32K |
| 51 | i-cache-size = <8000>; // L1, 32K |
| 52 | timebase-frequency = <0>; // 33 MHz, from uboot |
| 53 | bus-frequency = <0>; // From uboot |
| 54 | clock-frequency = <0>; // From uboot |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 55 | }; |
| 56 | }; |
| 57 | |
| 58 | memory { |
| 59 | device_type = "memory"; |
| 60 | reg = <00000000 40000000>; // 1G at 0x0 |
| 61 | }; |
| 62 | |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame^] | 63 | localbus@f8005000 { |
| 64 | #address-cells = <2>; |
| 65 | #size-cells = <1>; |
| 66 | compatible = "fsl,mpc8641-localbus", "simple-bus"; |
| 67 | reg = <f8005000 1000>; |
| 68 | interrupts = <13 2>; |
| 69 | interrupt-parent = <&mpic>; |
| 70 | |
| 71 | ranges = <0 0 ff800000 00800000 |
| 72 | 1 0 fe000000 01000000 |
| 73 | 2 0 f8200000 00100000 |
| 74 | 3 0 f8100000 00100000>; |
| 75 | |
| 76 | flash@0,0 { |
| 77 | compatible = "cfi-flash"; |
| 78 | reg = <0 0 00800000>; |
| 79 | bank-width = <2>; |
| 80 | device-width = <2>; |
| 81 | #address-cells = <1>; |
| 82 | #size-cells = <1>; |
| 83 | partition@0 { |
| 84 | label = "kernel"; |
| 85 | reg = <00000000 00300000>; |
| 86 | }; |
| 87 | partition@300000 { |
| 88 | label = "firmware b"; |
| 89 | reg = <00300000 00100000>; |
| 90 | read-only; |
| 91 | }; |
| 92 | partition@400000 { |
| 93 | label = "fs"; |
| 94 | reg = <00400000 00300000>; |
| 95 | }; |
| 96 | partition@700000 { |
| 97 | label = "firmware a"; |
| 98 | reg = <00700000 00100000>; |
| 99 | read-only; |
| 100 | }; |
| 101 | }; |
| 102 | }; |
| 103 | |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 104 | soc8641@f8000000 { |
| 105 | #address-cells = <1>; |
| 106 | #size-cells = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 107 | device_type = "soc"; |
Wade Farnsworth | 0ac247d | 2008-01-22 13:13:39 -0700 | [diff] [blame^] | 108 | compatible = "simple-bus"; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 109 | ranges = <00000000 f8000000 00100000>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 110 | reg = <f8000000 00001000>; // CCSRBAR |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 111 | bus-frequency = <0>; |
| 112 | |
| 113 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 114 | #address-cells = <1>; |
| 115 | #size-cells = <0>; |
| 116 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 117 | compatible = "fsl-i2c"; |
| 118 | reg = <3000 100>; |
| 119 | interrupts = <2b 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 120 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 121 | dfsrr; |
| 122 | }; |
| 123 | |
| 124 | i2c@3100 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 125 | #address-cells = <1>; |
| 126 | #size-cells = <0>; |
| 127 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 128 | compatible = "fsl-i2c"; |
| 129 | reg = <3100 100>; |
| 130 | interrupts = <2b 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 131 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 132 | dfsrr; |
| 133 | }; |
| 134 | |
| 135 | mdio@24520 { |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 138 | compatible = "fsl,gianfar-mdio"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 139 | reg = <24520 20>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 140 | |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 141 | phy0: ethernet-phy@0 { |
| 142 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 143 | interrupts = <a 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 144 | reg = <0>; |
| 145 | device_type = "ethernet-phy"; |
| 146 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 147 | phy1: ethernet-phy@1 { |
| 148 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 149 | interrupts = <a 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 150 | reg = <1>; |
| 151 | device_type = "ethernet-phy"; |
| 152 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 153 | phy2: ethernet-phy@2 { |
| 154 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 155 | interrupts = <a 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 156 | reg = <2>; |
| 157 | device_type = "ethernet-phy"; |
| 158 | }; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 159 | phy3: ethernet-phy@3 { |
| 160 | interrupt-parent = <&mpic>; |
Kumar Gala | b533f8a | 2007-07-03 02:35:35 -0500 | [diff] [blame] | 161 | interrupts = <a 1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 162 | reg = <3>; |
| 163 | device_type = "ethernet-phy"; |
| 164 | }; |
| 165 | }; |
| 166 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 167 | enet0: ethernet@24000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 168 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 169 | device_type = "network"; |
| 170 | model = "TSEC"; |
| 171 | compatible = "gianfar"; |
| 172 | reg = <24000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 173 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 174 | interrupts = <1d 2 1e 2 22 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 175 | interrupt-parent = <&mpic>; |
| 176 | phy-handle = <&phy0>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 177 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 178 | }; |
| 179 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 180 | enet1: ethernet@25000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 181 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 182 | device_type = "network"; |
| 183 | model = "TSEC"; |
| 184 | compatible = "gianfar"; |
| 185 | reg = <25000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 186 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 187 | interrupts = <23 2 24 2 28 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 188 | interrupt-parent = <&mpic>; |
| 189 | phy-handle = <&phy1>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 190 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 191 | }; |
| 192 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 193 | enet2: ethernet@26000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 194 | cell-index = <2>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 195 | device_type = "network"; |
| 196 | model = "TSEC"; |
| 197 | compatible = "gianfar"; |
| 198 | reg = <26000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 199 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 200 | interrupts = <1F 2 20 2 21 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 201 | interrupt-parent = <&mpic>; |
| 202 | phy-handle = <&phy2>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 203 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 204 | }; |
| 205 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 206 | enet3: ethernet@27000 { |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 207 | cell-index = <3>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 208 | device_type = "network"; |
| 209 | model = "TSEC"; |
| 210 | compatible = "gianfar"; |
| 211 | reg = <27000 1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 212 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 213 | interrupts = <25 2 26 2 27 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 214 | interrupt-parent = <&mpic>; |
| 215 | phy-handle = <&phy3>; |
Andy Fleming | cc65185 | 2007-07-10 17:28:49 -0500 | [diff] [blame] | 216 | phy-connection-type = "rgmii-id"; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 217 | }; |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 218 | |
| 219 | serial0: serial@4500 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 220 | cell-index = <0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 221 | device_type = "serial"; |
| 222 | compatible = "ns16550"; |
| 223 | reg = <4500 100>; |
| 224 | clock-frequency = <0>; |
| 225 | interrupts = <2a 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 226 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 227 | }; |
| 228 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 229 | serial1: serial@4600 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 230 | cell-index = <1>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 231 | device_type = "serial"; |
| 232 | compatible = "ns16550"; |
| 233 | reg = <4600 100>; |
| 234 | clock-frequency = <0>; |
| 235 | interrupts = <1c 2>; |
Kumar Gala | 6d9065d | 2007-02-17 16:09:56 -0600 | [diff] [blame] | 236 | interrupt-parent = <&mpic>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 237 | }; |
| 238 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 239 | mpic: pic@40000 { |
| 240 | clock-frequency = <0>; |
| 241 | interrupt-controller; |
| 242 | #address-cells = <0>; |
| 243 | #interrupt-cells = <2>; |
| 244 | reg = <40000 40000>; |
| 245 | compatible = "chrp,open-pic"; |
| 246 | device_type = "open-pic"; |
| 247 | big-endian; |
| 248 | }; |
Kumar Gala | e1c1575 | 2007-10-04 01:04:57 -0500 | [diff] [blame] | 249 | |
| 250 | global-utilities@e0000 { |
| 251 | compatible = "fsl,mpc8641-guts"; |
| 252 | reg = <e0000 1000>; |
| 253 | fsl,has-rstcr; |
| 254 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 255 | }; |
| 256 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 257 | pci0: pcie@f8008000 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 258 | cell-index = <0>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 259 | compatible = "fsl,mpc8641-pcie"; |
| 260 | device_type = "pci"; |
| 261 | #interrupt-cells = <1>; |
| 262 | #size-cells = <2>; |
| 263 | #address-cells = <3>; |
| 264 | reg = <f8008000 1000>; |
| 265 | bus-range = <0 ff>; |
| 266 | ranges = <02000000 0 80000000 80000000 0 20000000 |
| 267 | 01000000 0 00000000 e2000000 0 00100000>; |
| 268 | clock-frequency = <1fca055>; |
| 269 | interrupt-parent = <&mpic>; |
| 270 | interrupts = <18 2>; |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 271 | interrupt-map-mask = <ff00 0 0 7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 272 | interrupt-map = < |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 273 | /* IDSEL 0x11 func 0 - PCI slot 1 */ |
| 274 | 8800 0 0 1 &mpic 2 1 |
| 275 | 8800 0 0 2 &mpic 3 1 |
| 276 | 8800 0 0 3 &mpic 4 1 |
| 277 | 8800 0 0 4 &mpic 1 1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 278 | |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 279 | /* IDSEL 0x11 func 1 - PCI slot 1 */ |
| 280 | 8900 0 0 1 &mpic 2 1 |
| 281 | 8900 0 0 2 &mpic 3 1 |
| 282 | 8900 0 0 3 &mpic 4 1 |
| 283 | 8900 0 0 4 &mpic 1 1 |
| 284 | |
| 285 | /* IDSEL 0x11 func 2 - PCI slot 1 */ |
| 286 | 8a00 0 0 1 &mpic 2 1 |
| 287 | 8a00 0 0 2 &mpic 3 1 |
| 288 | 8a00 0 0 3 &mpic 4 1 |
| 289 | 8a00 0 0 4 &mpic 1 1 |
| 290 | |
| 291 | /* IDSEL 0x11 func 3 - PCI slot 1 */ |
| 292 | 8b00 0 0 1 &mpic 2 1 |
| 293 | 8b00 0 0 2 &mpic 3 1 |
| 294 | 8b00 0 0 3 &mpic 4 1 |
| 295 | 8b00 0 0 4 &mpic 1 1 |
| 296 | |
| 297 | /* IDSEL 0x11 func 4 - PCI slot 1 */ |
| 298 | 8c00 0 0 1 &mpic 2 1 |
| 299 | 8c00 0 0 2 &mpic 3 1 |
| 300 | 8c00 0 0 3 &mpic 4 1 |
| 301 | 8c00 0 0 4 &mpic 1 1 |
| 302 | |
| 303 | /* IDSEL 0x11 func 5 - PCI slot 1 */ |
| 304 | 8d00 0 0 1 &mpic 2 1 |
| 305 | 8d00 0 0 2 &mpic 3 1 |
| 306 | 8d00 0 0 3 &mpic 4 1 |
| 307 | 8d00 0 0 4 &mpic 1 1 |
| 308 | |
| 309 | /* IDSEL 0x11 func 6 - PCI slot 1 */ |
| 310 | 8e00 0 0 1 &mpic 2 1 |
| 311 | 8e00 0 0 2 &mpic 3 1 |
| 312 | 8e00 0 0 3 &mpic 4 1 |
| 313 | 8e00 0 0 4 &mpic 1 1 |
| 314 | |
| 315 | /* IDSEL 0x11 func 7 - PCI slot 1 */ |
| 316 | 8f00 0 0 1 &mpic 2 1 |
| 317 | 8f00 0 0 2 &mpic 3 1 |
| 318 | 8f00 0 0 3 &mpic 4 1 |
| 319 | 8f00 0 0 4 &mpic 1 1 |
| 320 | |
| 321 | /* IDSEL 0x12 func 0 - PCI slot 2 */ |
| 322 | 9000 0 0 1 &mpic 3 1 |
| 323 | 9000 0 0 2 &mpic 4 1 |
| 324 | 9000 0 0 3 &mpic 1 1 |
| 325 | 9000 0 0 4 &mpic 2 1 |
| 326 | |
| 327 | /* IDSEL 0x12 func 1 - PCI slot 2 */ |
| 328 | 9100 0 0 1 &mpic 3 1 |
| 329 | 9100 0 0 2 &mpic 4 1 |
| 330 | 9100 0 0 3 &mpic 1 1 |
| 331 | 9100 0 0 4 &mpic 2 1 |
| 332 | |
| 333 | /* IDSEL 0x12 func 2 - PCI slot 2 */ |
| 334 | 9200 0 0 1 &mpic 3 1 |
| 335 | 9200 0 0 2 &mpic 4 1 |
| 336 | 9200 0 0 3 &mpic 1 1 |
| 337 | 9200 0 0 4 &mpic 2 1 |
| 338 | |
| 339 | /* IDSEL 0x12 func 3 - PCI slot 2 */ |
| 340 | 9300 0 0 1 &mpic 3 1 |
| 341 | 9300 0 0 2 &mpic 4 1 |
| 342 | 9300 0 0 3 &mpic 1 1 |
| 343 | 9300 0 0 4 &mpic 2 1 |
| 344 | |
| 345 | /* IDSEL 0x12 func 4 - PCI slot 2 */ |
| 346 | 9400 0 0 1 &mpic 3 1 |
| 347 | 9400 0 0 2 &mpic 4 1 |
| 348 | 9400 0 0 3 &mpic 1 1 |
| 349 | 9400 0 0 4 &mpic 2 1 |
| 350 | |
| 351 | /* IDSEL 0x12 func 5 - PCI slot 2 */ |
| 352 | 9500 0 0 1 &mpic 3 1 |
| 353 | 9500 0 0 2 &mpic 4 1 |
| 354 | 9500 0 0 3 &mpic 1 1 |
| 355 | 9500 0 0 4 &mpic 2 1 |
| 356 | |
| 357 | /* IDSEL 0x12 func 6 - PCI slot 2 */ |
| 358 | 9600 0 0 1 &mpic 3 1 |
| 359 | 9600 0 0 2 &mpic 4 1 |
| 360 | 9600 0 0 3 &mpic 1 1 |
| 361 | 9600 0 0 4 &mpic 2 1 |
| 362 | |
| 363 | /* IDSEL 0x12 func 7 - PCI slot 2 */ |
| 364 | 9700 0 0 1 &mpic 3 1 |
| 365 | 9700 0 0 2 &mpic 4 1 |
| 366 | 9700 0 0 3 &mpic 1 1 |
| 367 | 9700 0 0 4 &mpic 2 1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 368 | |
| 369 | // IDSEL 0x1c USB |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 370 | e000 0 0 1 &i8259 c 2 |
Kumar Gala | 93967ae | 2008-01-17 22:32:49 -0600 | [diff] [blame] | 371 | e100 0 0 2 &i8259 9 2 |
| 372 | e200 0 0 3 &i8259 a 2 |
| 373 | e300 0 0 4 &i8259 b 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 374 | |
| 375 | // IDSEL 0x1d Audio |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 376 | e800 0 0 1 &i8259 6 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 377 | |
| 378 | // IDSEL 0x1e Legacy |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 379 | f000 0 0 1 &i8259 7 2 |
| 380 | f100 0 0 1 &i8259 7 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 381 | |
| 382 | // IDSEL 0x1f IDE/SATA |
Kumar Gala | bebfa06 | 2007-11-19 23:36:23 -0600 | [diff] [blame] | 383 | f800 0 0 1 &i8259 e 2 |
| 384 | f900 0 0 1 &i8259 5 2 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 385 | >; |
| 386 | |
| 387 | pcie@0 { |
| 388 | reg = <0 0 0 0 0>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 389 | #size-cells = <2>; |
| 390 | #address-cells = <3>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 391 | device_type = "pci"; |
| 392 | ranges = <02000000 0 80000000 |
| 393 | 02000000 0 80000000 |
| 394 | 0 20000000 |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 395 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 396 | 01000000 0 00000000 |
| 397 | 01000000 0 00000000 |
| 398 | 0 00100000>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 399 | uli1575@0 { |
| 400 | reg = <0 0 0 0 0>; |
| 401 | #size-cells = <2>; |
| 402 | #address-cells = <3>; |
| 403 | ranges = <02000000 0 80000000 |
| 404 | 02000000 0 80000000 |
| 405 | 0 20000000 |
| 406 | 01000000 0 00000000 |
| 407 | 01000000 0 00000000 |
| 408 | 0 00100000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 409 | isa@1e { |
| 410 | device_type = "isa"; |
| 411 | #interrupt-cells = <2>; |
| 412 | #size-cells = <1>; |
| 413 | #address-cells = <2>; |
| 414 | reg = <f000 0 0 0 0>; |
| 415 | ranges = <1 0 01000000 0 0 |
| 416 | 00001000>; |
| 417 | interrupt-parent = <&i8259>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 418 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 419 | i8259: interrupt-controller@20 { |
| 420 | reg = <1 20 2 |
| 421 | 1 a0 2 |
| 422 | 1 4d0 2>; |
| 423 | interrupt-controller; |
| 424 | device_type = "interrupt-controller"; |
| 425 | #address-cells = <0>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 426 | #interrupt-cells = <2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 427 | compatible = "chrp,iic"; |
| 428 | interrupts = <9 2>; |
| 429 | interrupt-parent = <&mpic>; |
| 430 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 431 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 432 | i8042@60 { |
| 433 | #size-cells = <0>; |
| 434 | #address-cells = <1>; |
| 435 | reg = <1 60 1 1 64 1>; |
| 436 | interrupts = <1 3 c 3>; |
| 437 | interrupt-parent = |
| 438 | <&i8259>; |
| 439 | |
| 440 | keyboard@0 { |
| 441 | reg = <0>; |
| 442 | compatible = "pnpPNP,303"; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 443 | }; |
| 444 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 445 | mouse@1 { |
| 446 | reg = <1>; |
| 447 | compatible = "pnpPNP,f03"; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 448 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 449 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 450 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 451 | rtc@70 { |
| 452 | compatible = |
| 453 | "pnpPNP,b00"; |
| 454 | reg = <1 70 2>; |
| 455 | }; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 456 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 457 | gpio@400 { |
| 458 | reg = <1 400 80>; |
Wade Farnsworth | dfac6fa | 2007-06-04 13:24:47 -0700 | [diff] [blame] | 459 | }; |
| 460 | }; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 461 | }; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 462 | }; |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 463 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 464 | }; |
| 465 | |
Jon Loeliger | 1c1d167 | 2007-12-05 11:32:50 -0600 | [diff] [blame] | 466 | pci1: pcie@f8009000 { |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 467 | cell-index = <1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 468 | compatible = "fsl,mpc8641-pcie"; |
| 469 | device_type = "pci"; |
| 470 | #interrupt-cells = <1>; |
| 471 | #size-cells = <2>; |
| 472 | #address-cells = <3>; |
| 473 | reg = <f8009000 1000>; |
| 474 | bus-range = <0 ff>; |
| 475 | ranges = <02000000 0 a0000000 a0000000 0 20000000 |
| 476 | 01000000 0 00000000 e3000000 0 00100000>; |
| 477 | clock-frequency = <1fca055>; |
| 478 | interrupt-parent = <&mpic>; |
| 479 | interrupts = <19 2>; |
| 480 | interrupt-map-mask = <f800 0 0 7>; |
| 481 | interrupt-map = < |
| 482 | /* IDSEL 0x0 */ |
| 483 | 0000 0 0 1 &mpic 4 1 |
| 484 | 0000 0 0 2 &mpic 5 1 |
| 485 | 0000 0 0 3 &mpic 6 1 |
| 486 | 0000 0 0 4 &mpic 7 1 |
| 487 | >; |
| 488 | pcie@0 { |
| 489 | reg = <0 0 0 0 0>; |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 490 | #size-cells = <2>; |
| 491 | #address-cells = <3>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 492 | device_type = "pci"; |
| 493 | ranges = <02000000 0 a0000000 |
| 494 | 02000000 0 a0000000 |
| 495 | 0 20000000 |
Zhang Wei | e0e3c8d | 2007-03-07 11:47:41 -0600 | [diff] [blame] | 496 | |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 497 | 01000000 0 00000000 |
| 498 | 01000000 0 00000000 |
| 499 | 0 00100000>; |
Jon Loeliger | 707ba16 | 2006-08-03 16:27:57 -0500 | [diff] [blame] | 500 | }; |
| 501 | }; |
| 502 | }; |