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