Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8540 ADS Device Tree Source |
| 3 | * |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 4 | * Copyright 2006, 2008 Freescale Semiconductor Inc. |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 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 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 12 | /dts-v1/; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 13 | |
| 14 | / { |
| 15 | model = "MPC8540ADS"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 16 | compatible = "MPC8540ADS", "MPC85xxADS"; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 19 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | ethernet2 = &enet2; |
| 24 | serial0 = &serial0; |
| 25 | serial1 = &serial1; |
| 26 | pci0 = &pci0; |
| 27 | }; |
| 28 | |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 29 | cpus { |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 30 | #address-cells = <1>; |
| 31 | #size-cells = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 32 | |
| 33 | PowerPC,8540@0 { |
| 34 | device_type = "cpu"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 35 | reg = <0x0>; |
| 36 | d-cache-line-size = <32>; // 32 bytes |
| 37 | i-cache-line-size = <32>; // 32 bytes |
| 38 | d-cache-size = <0x8000>; // L1, 32K |
| 39 | i-cache-size = <0x8000>; // L1, 32K |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 40 | timebase-frequency = <0>; // 33 MHz, from uboot |
| 41 | bus-frequency = <0>; // 166 MHz |
| 42 | clock-frequency = <0>; // 825 MHz, from uboot |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 43 | next-level-cache = <&L2>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 44 | }; |
| 45 | }; |
| 46 | |
| 47 | memory { |
| 48 | device_type = "memory"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 49 | reg = <0x0 0x8000000>; // 128M at 0x0 |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | soc8540@e0000000 { |
| 53 | #address-cells = <1>; |
| 54 | #size-cells = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 55 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 56 | compatible = "simple-bus"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 57 | ranges = <0x0 0xe0000000 0x100000>; |
| 58 | reg = <0xe0000000 0x100000>; // CCSRBAR 1M |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 59 | bus-frequency = <0>; |
| 60 | |
Kumar Gala | e1a2289 | 2009-04-22 13:17:42 -0500 | [diff] [blame^] | 61 | ecm-law@0 { |
| 62 | compatible = "fsl,ecm-law"; |
| 63 | reg = <0x0 0x1000>; |
| 64 | fsl,num-laws = <8>; |
| 65 | }; |
| 66 | |
| 67 | ecm@1000 { |
| 68 | compatible = "fsl,mpc8540-ecm", "fsl,ecm"; |
| 69 | reg = <0x1000 0x1000>; |
| 70 | interrupts = <17 2>; |
| 71 | interrupt-parent = <&mpic>; |
| 72 | }; |
| 73 | |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 74 | memory-controller@2000 { |
| 75 | compatible = "fsl,8540-memory-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 76 | reg = <0x2000 0x1000>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 77 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 78 | interrupts = <18 2>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 79 | }; |
| 80 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 81 | L2: l2-cache-controller@20000 { |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 82 | compatible = "fsl,8540-l2-cache-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 83 | reg = <0x20000 0x1000>; |
| 84 | cache-line-size = <32>; // 32 bytes |
| 85 | cache-size = <0x40000>; // L2, 256K |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 86 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 87 | interrupts = <16 2>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 88 | }; |
| 89 | |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 90 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 91 | #address-cells = <1>; |
| 92 | #size-cells = <0>; |
| 93 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 94 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 95 | reg = <0x3000 0x100>; |
| 96 | interrupts = <43 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 97 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 98 | dfsrr; |
| 99 | }; |
| 100 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 101 | dma@21300 { |
| 102 | #address-cells = <1>; |
| 103 | #size-cells = <1>; |
| 104 | compatible = "fsl,mpc8540-dma", "fsl,eloplus-dma"; |
| 105 | reg = <0x21300 0x4>; |
| 106 | ranges = <0x0 0x21100 0x200>; |
| 107 | cell-index = <0>; |
| 108 | dma-channel@0 { |
| 109 | compatible = "fsl,mpc8540-dma-channel", |
| 110 | "fsl,eloplus-dma-channel"; |
| 111 | reg = <0x0 0x80>; |
| 112 | cell-index = <0>; |
| 113 | interrupt-parent = <&mpic>; |
| 114 | interrupts = <20 2>; |
| 115 | }; |
| 116 | dma-channel@80 { |
| 117 | compatible = "fsl,mpc8540-dma-channel", |
| 118 | "fsl,eloplus-dma-channel"; |
| 119 | reg = <0x80 0x80>; |
| 120 | cell-index = <1>; |
| 121 | interrupt-parent = <&mpic>; |
| 122 | interrupts = <21 2>; |
| 123 | }; |
| 124 | dma-channel@100 { |
| 125 | compatible = "fsl,mpc8540-dma-channel", |
| 126 | "fsl,eloplus-dma-channel"; |
| 127 | reg = <0x100 0x80>; |
| 128 | cell-index = <2>; |
| 129 | interrupt-parent = <&mpic>; |
| 130 | interrupts = <22 2>; |
| 131 | }; |
| 132 | dma-channel@180 { |
| 133 | compatible = "fsl,mpc8540-dma-channel", |
| 134 | "fsl,eloplus-dma-channel"; |
| 135 | reg = <0x180 0x80>; |
| 136 | cell-index = <3>; |
| 137 | interrupt-parent = <&mpic>; |
| 138 | interrupts = <23 2>; |
| 139 | }; |
| 140 | }; |
| 141 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 142 | enet0: ethernet@24000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 143 | #address-cells = <1>; |
| 144 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 145 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 146 | device_type = "network"; |
| 147 | model = "TSEC"; |
| 148 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 149 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 150 | ranges = <0x0 0x24000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 151 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 152 | interrupts = <29 2 30 2 34 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 153 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 154 | tbi-handle = <&tbi0>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 155 | phy-handle = <&phy0>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 156 | |
| 157 | mdio@520 { |
| 158 | #address-cells = <1>; |
| 159 | #size-cells = <0>; |
| 160 | compatible = "fsl,gianfar-mdio"; |
| 161 | reg = <0x520 0x20>; |
| 162 | |
| 163 | phy0: ethernet-phy@0 { |
| 164 | interrupt-parent = <&mpic>; |
| 165 | interrupts = <5 1>; |
| 166 | reg = <0x0>; |
| 167 | device_type = "ethernet-phy"; |
| 168 | }; |
| 169 | phy1: ethernet-phy@1 { |
| 170 | interrupt-parent = <&mpic>; |
| 171 | interrupts = <5 1>; |
| 172 | reg = <0x1>; |
| 173 | device_type = "ethernet-phy"; |
| 174 | }; |
| 175 | phy3: ethernet-phy@3 { |
| 176 | interrupt-parent = <&mpic>; |
| 177 | interrupts = <7 1>; |
| 178 | reg = <0x3>; |
| 179 | device_type = "ethernet-phy"; |
| 180 | }; |
| 181 | tbi0: tbi-phy@11 { |
| 182 | reg = <0x11>; |
| 183 | device_type = "tbi-phy"; |
| 184 | }; |
| 185 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 186 | }; |
| 187 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 188 | enet1: ethernet@25000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 189 | #address-cells = <1>; |
| 190 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 191 | cell-index = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 192 | device_type = "network"; |
| 193 | model = "TSEC"; |
| 194 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 195 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 196 | ranges = <0x0 0x25000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 197 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 198 | interrupts = <35 2 36 2 40 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 199 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 200 | tbi-handle = <&tbi1>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 201 | phy-handle = <&phy1>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 202 | |
| 203 | mdio@520 { |
| 204 | #address-cells = <1>; |
| 205 | #size-cells = <0>; |
| 206 | compatible = "fsl,gianfar-tbi"; |
| 207 | reg = <0x520 0x20>; |
| 208 | |
| 209 | tbi1: tbi-phy@11 { |
| 210 | reg = <0x11>; |
| 211 | device_type = "tbi-phy"; |
| 212 | }; |
| 213 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 214 | }; |
| 215 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 216 | enet2: ethernet@26000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 217 | #address-cells = <1>; |
| 218 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 219 | cell-index = <2>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 220 | device_type = "network"; |
Andy Fleming | aa74a30 | 2006-08-21 14:29:28 -0500 | [diff] [blame] | 221 | model = "FEC"; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 222 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 223 | reg = <0x26000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 224 | ranges = <0x0 0x26000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 225 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 226 | interrupts = <41 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 227 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 228 | tbi-handle = <&tbi2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 229 | phy-handle = <&phy3>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 230 | |
| 231 | mdio@520 { |
| 232 | #address-cells = <1>; |
| 233 | #size-cells = <0>; |
| 234 | compatible = "fsl,gianfar-tbi"; |
| 235 | reg = <0x520 0x20>; |
| 236 | |
| 237 | tbi2: tbi-phy@11 { |
| 238 | reg = <0x11>; |
| 239 | device_type = "tbi-phy"; |
| 240 | }; |
| 241 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 242 | }; |
| 243 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 244 | serial0: serial@4500 { |
| 245 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 246 | device_type = "serial"; |
| 247 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 248 | reg = <0x4500 0x100>; // reg base, size |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 249 | clock-frequency = <0>; // should we fill in in uboot? |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 250 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 251 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 252 | }; |
| 253 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 254 | serial1: serial@4600 { |
| 255 | cell-index = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 256 | device_type = "serial"; |
| 257 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 258 | reg = <0x4600 0x100>; // reg base, size |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 259 | clock-frequency = <0>; // should we fill in in uboot? |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 260 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 261 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 262 | }; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 263 | mpic: pic@40000 { |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 264 | interrupt-controller; |
| 265 | #address-cells = <0>; |
| 266 | #interrupt-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 267 | reg = <0x40000 0x40000>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 268 | compatible = "chrp,open-pic"; |
| 269 | device_type = "open-pic"; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 270 | }; |
| 271 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 272 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 273 | pci0: pci@e0008000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 274 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 275 | interrupt-map = < |
| 276 | |
| 277 | /* IDSEL 0x02 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 278 | 0x1000 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 279 | 0x1000 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 280 | 0x1000 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 281 | 0x1000 0x0 0x0 0x4 &mpic 0x4 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 282 | |
| 283 | /* IDSEL 0x03 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 284 | 0x1800 0x0 0x0 0x1 &mpic 0x4 0x1 |
| 285 | 0x1800 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 286 | 0x1800 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 287 | 0x1800 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 288 | |
| 289 | /* IDSEL 0x04 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 290 | 0x2000 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 291 | 0x2000 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 292 | 0x2000 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 293 | 0x2000 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 294 | |
| 295 | /* IDSEL 0x05 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 296 | 0x2800 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 297 | 0x2800 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 298 | 0x2800 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 299 | 0x2800 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 300 | |
| 301 | /* IDSEL 0x0c */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 302 | 0x6000 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 303 | 0x6000 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 304 | 0x6000 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 305 | 0x6000 0x0 0x0 0x4 &mpic 0x4 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 306 | |
| 307 | /* IDSEL 0x0d */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 308 | 0x6800 0x0 0x0 0x1 &mpic 0x4 0x1 |
| 309 | 0x6800 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 310 | 0x6800 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 311 | 0x6800 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 312 | |
| 313 | /* IDSEL 0x0e */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 314 | 0x7000 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 315 | 0x7000 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 316 | 0x7000 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 317 | 0x7000 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 318 | |
| 319 | /* IDSEL 0x0f */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 320 | 0x7800 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 321 | 0x7800 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 322 | 0x7800 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 323 | 0x7800 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 324 | |
| 325 | /* IDSEL 0x12 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 326 | 0x9000 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 327 | 0x9000 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 328 | 0x9000 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 329 | 0x9000 0x0 0x0 0x4 &mpic 0x4 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 330 | |
| 331 | /* IDSEL 0x13 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 332 | 0x9800 0x0 0x0 0x1 &mpic 0x4 0x1 |
| 333 | 0x9800 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 334 | 0x9800 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 335 | 0x9800 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 336 | |
| 337 | /* IDSEL 0x14 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 338 | 0xa000 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 339 | 0xa000 0x0 0x0 0x2 &mpic 0x4 0x1 |
| 340 | 0xa000 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 341 | 0xa000 0x0 0x0 0x4 &mpic 0x2 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 342 | |
| 343 | /* IDSEL 0x15 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 344 | 0xa800 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 345 | 0xa800 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 346 | 0xa800 0x0 0x0 0x3 &mpic 0x4 0x1 |
| 347 | 0xa800 0x0 0x0 0x4 &mpic 0x1 0x1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 348 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 349 | interrupts = <24 2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 350 | bus-range = <0 0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 351 | ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x20000000 |
| 352 | 0x1000000 0x0 0x0 0xe2000000 0x0 0x100000>; |
| 353 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 354 | #interrupt-cells = <1>; |
| 355 | #size-cells = <2>; |
| 356 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 357 | reg = <0xe0008000 0x1000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 358 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; |
| 359 | device_type = "pci"; |
| 360 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 361 | }; |