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