Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8379E RDB Device Tree Source |
| 3 | * |
| 4 | * Copyright 2007, 2008 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 | /dts-v1/; |
| 13 | |
| 14 | / { |
Kim Phillips | 3b29dade | 2008-01-28 13:00:37 -0600 | [diff] [blame] | 15 | compatible = "fsl,mpc8379rdb"; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 16 | #address-cells = <1>; |
| 17 | #size-cells = <1>; |
| 18 | |
| 19 | aliases { |
| 20 | ethernet0 = &enet0; |
| 21 | ethernet1 = &enet1; |
| 22 | serial0 = &serial0; |
| 23 | serial1 = &serial1; |
| 24 | pci0 = &pci0; |
| 25 | }; |
| 26 | |
| 27 | cpus { |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <0>; |
| 30 | |
| 31 | PowerPC,8379@0 { |
| 32 | device_type = "cpu"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 33 | reg = <0x0>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 34 | d-cache-line-size = <32>; |
| 35 | i-cache-line-size = <32>; |
| 36 | d-cache-size = <32768>; |
| 37 | i-cache-size = <32768>; |
| 38 | timebase-frequency = <0>; |
| 39 | bus-frequency = <0>; |
| 40 | clock-frequency = <0>; |
| 41 | }; |
| 42 | }; |
| 43 | |
| 44 | memory { |
| 45 | device_type = "memory"; |
| 46 | reg = <0x00000000 0x10000000>; // 256MB at 0 |
| 47 | }; |
| 48 | |
| 49 | localbus@e0005000 { |
| 50 | #address-cells = <2>; |
| 51 | #size-cells = <1>; |
| 52 | compatible = "fsl,mpc8379-elbc", "fsl,elbc", "simple-bus"; |
| 53 | reg = <0xe0005000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 54 | interrupts = <77 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 55 | interrupt-parent = <&ipic>; |
| 56 | |
| 57 | // CS0 and CS1 are swapped when |
| 58 | // booting from nand, but the |
| 59 | // addresses are the same. |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 60 | ranges = <0x0 0x0 0xfe000000 0x00800000 |
| 61 | 0x1 0x0 0xe0600000 0x00008000 |
| 62 | 0x2 0x0 0xf0000000 0x00020000 |
| 63 | 0x3 0x0 0xfa000000 0x00008000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 64 | |
| 65 | flash@0,0 { |
| 66 | #address-cells = <1>; |
| 67 | #size-cells = <1>; |
| 68 | compatible = "cfi-flash"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 69 | reg = <0x0 0x0 0x800000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 70 | bank-width = <2>; |
| 71 | device-width = <1>; |
| 72 | }; |
| 73 | |
| 74 | nand@1,0 { |
| 75 | #address-cells = <1>; |
| 76 | #size-cells = <1>; |
| 77 | compatible = "fsl,mpc8379-fcm-nand", |
| 78 | "fsl,elbc-fcm-nand"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 79 | reg = <0x1 0x0 0x8000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 80 | |
| 81 | u-boot@0 { |
| 82 | reg = <0x0 0x100000>; |
| 83 | read-only; |
| 84 | }; |
| 85 | |
| 86 | kernel@100000 { |
| 87 | reg = <0x100000 0x300000>; |
| 88 | }; |
| 89 | fs@400000 { |
| 90 | reg = <0x400000 0x1c00000>; |
| 91 | }; |
| 92 | }; |
| 93 | }; |
| 94 | |
| 95 | immr@e0000000 { |
| 96 | #address-cells = <1>; |
| 97 | #size-cells = <1>; |
| 98 | device_type = "soc"; |
| 99 | compatible = "simple-bus"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 100 | ranges = <0x0 0xe0000000 0x00100000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 101 | reg = <0xe0000000 0x00000200>; |
| 102 | bus-frequency = <0>; |
| 103 | |
| 104 | wdt@200 { |
| 105 | device_type = "watchdog"; |
| 106 | compatible = "mpc83xx_wdt"; |
| 107 | reg = <0x200 0x100>; |
| 108 | }; |
| 109 | |
Reynes Philippe | 9e7d95c | 2009-02-02 15:52:39 +0100 | [diff] [blame] | 110 | gpio1: gpio-controller@c00 { |
| 111 | #gpio-cells = <2>; |
| 112 | compatible = "fsl,mpc8379-gpio", "fsl,mpc8349-gpio"; |
| 113 | reg = <0xc00 0x100>; |
| 114 | interrupts = <74 0x8>; |
| 115 | interrupt-parent = <&ipic>; |
| 116 | gpio-controller; |
| 117 | }; |
| 118 | |
| 119 | gpio2: gpio-controller@d00 { |
| 120 | #gpio-cells = <2>; |
| 121 | compatible = "fsl,mpc8379-gpio", "fsl,mpc8349-gpio"; |
| 122 | reg = <0xd00 0x100>; |
| 123 | interrupts = <75 0x8>; |
| 124 | interrupt-parent = <&ipic>; |
| 125 | gpio-controller; |
| 126 | }; |
| 127 | |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 128 | sleep-nexus { |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 129 | #address-cells = <1>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 130 | #size-cells = <1>; |
| 131 | compatible = "simple-bus"; |
| 132 | sleep = <&pmc 0x0c000000>; |
| 133 | ranges; |
Reynes Philippe | f7a0be4 | 2009-01-28 11:07:44 +0100 | [diff] [blame] | 134 | |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 135 | i2c@3000 { |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
| 138 | cell-index = <0>; |
| 139 | compatible = "fsl-i2c"; |
| 140 | reg = <0x3000 0x100>; |
| 141 | interrupts = <14 0x8>; |
| 142 | interrupt-parent = <&ipic>; |
| 143 | dfsrr; |
| 144 | |
| 145 | dtt@48 { |
| 146 | compatible = "national,lm75"; |
| 147 | reg = <0x48>; |
| 148 | }; |
| 149 | |
| 150 | at24@50 { |
| 151 | compatible = "at24,24c256"; |
| 152 | reg = <0x50>; |
| 153 | }; |
| 154 | |
| 155 | rtc@68 { |
| 156 | compatible = "dallas,ds1339"; |
| 157 | reg = <0x68>; |
| 158 | }; |
| 159 | |
| 160 | mcu_pio: mcu@a { |
| 161 | #gpio-cells = <2>; |
| 162 | compatible = "fsl,mc9s08qg8-mpc8379erdb", |
| 163 | "fsl,mcu-mpc8349emitx"; |
| 164 | reg = <0x0a>; |
| 165 | gpio-controller; |
| 166 | }; |
Reynes Philippe | 960d82a | 2009-02-02 16:59:01 +0100 | [diff] [blame] | 167 | }; |
| 168 | |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 169 | sdhci@2e000 { |
Anton Vorontsov | 1a2ecea | 2009-06-10 19:19:26 +0400 | [diff] [blame] | 170 | compatible = "fsl,mpc8379-esdhc", "fsl,esdhc"; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 171 | reg = <0x2e000 0x1000>; |
| 172 | interrupts = <42 0x8>; |
| 173 | interrupt-parent = <&ipic>; |
| 174 | /* Filled in by U-Boot */ |
| 175 | clock-frequency = <0>; |
Anton Vorontsov | 4427469 | 2008-10-17 22:57:09 +0400 | [diff] [blame] | 176 | }; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 177 | }; |
| 178 | |
| 179 | i2c@3100 { |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | cell-index = <1>; |
| 183 | compatible = "fsl-i2c"; |
| 184 | reg = <0x3100 0x100>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 185 | interrupts = <15 0x8>; |
| 186 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 187 | dfsrr; |
| 188 | }; |
| 189 | |
| 190 | spi@7000 { |
| 191 | cell-index = <0>; |
| 192 | compatible = "fsl,spi"; |
| 193 | reg = <0x7000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 194 | interrupts = <16 0x8>; |
| 195 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 196 | mode = "cpu"; |
| 197 | }; |
| 198 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 199 | dma@82a8 { |
| 200 | #address-cells = <1>; |
| 201 | #size-cells = <1>; |
| 202 | compatible = "fsl,mpc8379-dma", "fsl,elo-dma"; |
| 203 | reg = <0x82a8 4>; |
| 204 | ranges = <0 0x8100 0x1a8>; |
| 205 | interrupt-parent = <&ipic>; |
| 206 | interrupts = <71 8>; |
| 207 | cell-index = <0>; |
| 208 | dma-channel@0 { |
| 209 | compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; |
| 210 | reg = <0 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 211 | cell-index = <0>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 212 | interrupt-parent = <&ipic>; |
| 213 | interrupts = <71 8>; |
| 214 | }; |
| 215 | dma-channel@80 { |
| 216 | compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; |
| 217 | reg = <0x80 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 218 | cell-index = <1>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 219 | interrupt-parent = <&ipic>; |
| 220 | interrupts = <71 8>; |
| 221 | }; |
| 222 | dma-channel@100 { |
| 223 | compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; |
| 224 | reg = <0x100 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 225 | cell-index = <2>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 226 | interrupt-parent = <&ipic>; |
| 227 | interrupts = <71 8>; |
| 228 | }; |
| 229 | dma-channel@180 { |
| 230 | compatible = "fsl,mpc8379-dma-channel", "fsl,elo-dma-channel"; |
| 231 | reg = <0x180 0x28>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 232 | cell-index = <3>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 233 | interrupt-parent = <&ipic>; |
| 234 | interrupts = <71 8>; |
| 235 | }; |
| 236 | }; |
| 237 | |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 238 | usb@23000 { |
| 239 | compatible = "fsl-usb2-dr"; |
| 240 | reg = <0x23000 0x1000>; |
| 241 | #address-cells = <1>; |
| 242 | #size-cells = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 243 | interrupt-parent = <&ipic>; |
| 244 | interrupts = <38 0x8>; |
Anton Vorontsov | 8e8ff3a | 2008-03-12 23:02:13 +0300 | [diff] [blame] | 245 | phy_type = "ulpi"; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 246 | sleep = <&pmc 0x00c00000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 247 | }; |
| 248 | |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 249 | enet0: ethernet@24000 { |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 250 | #address-cells = <1>; |
| 251 | #size-cells = <1>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 252 | cell-index = <0>; |
| 253 | device_type = "network"; |
| 254 | model = "eTSEC"; |
| 255 | compatible = "gianfar"; |
| 256 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 257 | ranges = <0x0 0x24000 0x1000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 258 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 259 | interrupts = <32 0x8 33 0x8 34 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 260 | phy-connection-type = "mii"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 261 | interrupt-parent = <&ipic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 262 | tbi-handle = <&tbi0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 263 | phy-handle = <&phy2>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 264 | sleep = <&pmc 0xc0000000>; |
| 265 | fsl,magic-packet; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 266 | |
| 267 | mdio@520 { |
| 268 | #address-cells = <1>; |
| 269 | #size-cells = <0>; |
| 270 | compatible = "fsl,gianfar-mdio"; |
| 271 | reg = <0x520 0x20>; |
| 272 | |
| 273 | phy2: ethernet-phy@2 { |
| 274 | interrupt-parent = <&ipic>; |
| 275 | interrupts = <17 0x8>; |
| 276 | reg = <0x2>; |
| 277 | device_type = "ethernet-phy"; |
| 278 | }; |
| 279 | |
| 280 | tbi0: tbi-phy@11 { |
| 281 | reg = <0x11>; |
| 282 | device_type = "tbi-phy"; |
| 283 | }; |
| 284 | }; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 285 | }; |
| 286 | |
| 287 | enet1: ethernet@25000 { |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 288 | #address-cells = <1>; |
| 289 | #size-cells = <1>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 290 | cell-index = <1>; |
| 291 | device_type = "network"; |
| 292 | model = "eTSEC"; |
| 293 | compatible = "gianfar"; |
| 294 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 295 | ranges = <0x0 0x25000 0x1000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 296 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 297 | interrupts = <35 0x8 36 0x8 37 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 298 | phy-connection-type = "mii"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 299 | interrupt-parent = <&ipic>; |
Anton Vorontsov | f17c632 | 2008-03-17 20:52:08 +0300 | [diff] [blame] | 300 | fixed-link = <1 1 1000 0 0>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 301 | tbi-handle = <&tbi1>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 302 | sleep = <&pmc 0x30000000>; |
| 303 | fsl,magic-packet; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 304 | |
| 305 | mdio@520 { |
| 306 | #address-cells = <1>; |
| 307 | #size-cells = <0>; |
| 308 | compatible = "fsl,gianfar-tbi"; |
| 309 | reg = <0x520 0x20>; |
| 310 | |
| 311 | tbi1: tbi-phy@11 { |
| 312 | reg = <0x11>; |
| 313 | device_type = "tbi-phy"; |
| 314 | }; |
| 315 | }; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 316 | }; |
| 317 | |
| 318 | serial0: serial@4500 { |
| 319 | cell-index = <0>; |
| 320 | device_type = "serial"; |
| 321 | compatible = "ns16550"; |
| 322 | reg = <0x4500 0x100>; |
| 323 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 324 | interrupts = <9 0x8>; |
| 325 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 326 | }; |
| 327 | |
| 328 | serial1: serial@4600 { |
| 329 | cell-index = <1>; |
| 330 | device_type = "serial"; |
| 331 | compatible = "ns16550"; |
| 332 | reg = <0x4600 0x100>; |
| 333 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 334 | interrupts = <10 0x8>; |
| 335 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 336 | }; |
| 337 | |
| 338 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 339 | compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2", |
| 340 | "fsl,sec2.1", "fsl,sec2.0"; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 341 | reg = <0x30000 0x10000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 342 | interrupts = <11 0x8>; |
| 343 | interrupt-parent = <&ipic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 344 | fsl,num-channels = <4>; |
| 345 | fsl,channel-fifo-len = <24>; |
| 346 | fsl,exec-units-mask = <0x9fe>; |
| 347 | fsl,descriptor-types-mask = <0x3ab0ebf>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 348 | sleep = <&pmc 0x03000000>; |
Anton Vorontsov | a0e8618 | 2009-02-05 22:04:59 +0300 | [diff] [blame] | 349 | }; |
| 350 | |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 351 | sata@18000 { |
| 352 | compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; |
| 353 | reg = <0x18000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 354 | interrupts = <44 0x8>; |
| 355 | interrupt-parent = <&ipic>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 356 | sleep = <&pmc 0x000000c0>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 357 | }; |
| 358 | |
| 359 | sata@19000 { |
| 360 | compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; |
| 361 | reg = <0x19000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 362 | interrupts = <45 0x8>; |
| 363 | interrupt-parent = <&ipic>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 364 | sleep = <&pmc 0x00000030>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 365 | }; |
| 366 | |
| 367 | sata@1a000 { |
| 368 | compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; |
| 369 | reg = <0x1a000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 370 | interrupts = <46 0x8>; |
| 371 | interrupt-parent = <&ipic>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 372 | sleep = <&pmc 0x0000000c>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 373 | }; |
| 374 | |
| 375 | sata@1b000 { |
| 376 | compatible = "fsl,mpc8379-sata", "fsl,pq-sata"; |
| 377 | reg = <0x1b000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 378 | interrupts = <47 0x8>; |
| 379 | interrupt-parent = <&ipic>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 380 | sleep = <&pmc 0x00000003>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 381 | }; |
| 382 | |
| 383 | /* IPIC |
| 384 | * interrupts cell = <intr #, sense> |
| 385 | * sense values match linux IORESOURCE_IRQ_* defines: |
| 386 | * sense == 8: Level, low assertion |
| 387 | * sense == 2: Edge, high-to-low change |
| 388 | */ |
| 389 | ipic: interrupt-controller@700 { |
| 390 | compatible = "fsl,ipic"; |
| 391 | interrupt-controller; |
| 392 | #address-cells = <0>; |
| 393 | #interrupt-cells = <2>; |
| 394 | reg = <0x700 0x100>; |
| 395 | }; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 396 | |
| 397 | pmc: power@b00 { |
| 398 | compatible = "fsl,mpc8379-pmc", "fsl,mpc8349-pmc"; |
| 399 | reg = <0xb00 0x100 0xa00 0x100>; |
| 400 | interrupts = <80 0x8>; |
| 401 | interrupt-parent = <&ipic>; |
| 402 | }; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 403 | }; |
| 404 | |
| 405 | pci0: pci@e0008500 { |
| 406 | interrupt-map-mask = <0xf800 0 0 7>; |
| 407 | interrupt-map = < |
| 408 | /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */ |
| 409 | |
| 410 | /* IDSEL AD14 IRQ6 inta */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 411 | 0x7000 0x0 0x0 0x1 &ipic 22 0x8 |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 412 | |
| 413 | /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 414 | 0x7800 0x0 0x0 0x1 &ipic 21 0x8 |
| 415 | 0x7800 0x0 0x0 0x2 &ipic 22 0x8 |
| 416 | 0x7800 0x0 0x0 0x4 &ipic 23 0x8 |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 417 | |
| 418 | /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 419 | 0xE000 0x0 0x0 0x1 &ipic 23 0x8 |
| 420 | 0xE000 0x0 0x0 0x2 &ipic 21 0x8 |
| 421 | 0xE000 0x0 0x0 0x3 &ipic 22 0x8>; |
| 422 | interrupt-parent = <&ipic>; |
| 423 | interrupts = <66 0x8>; |
| 424 | bus-range = <0x0 0x0>; |
| 425 | ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 426 | 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
Anton Vorontsov | 1333c3d | 2009-07-21 01:36:43 +0400 | [diff] [blame] | 427 | 0x01000000 0x0 0x00000000 0xe0300000 0x0 0x00100000>; |
Anton Vorontsov | 125a00d | 2009-03-19 21:01:42 +0300 | [diff] [blame] | 428 | sleep = <&pmc 0x00010000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 429 | clock-frequency = <66666666>; |
| 430 | #interrupt-cells = <1>; |
| 431 | #size-cells = <2>; |
| 432 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 433 | reg = <0xe0008500 0x100 /* internal registers */ |
| 434 | 0xe0008300 0x8>; /* config space access registers */ |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 435 | compatible = "fsl,mpc8349-pci"; |
| 436 | device_type = "pci"; |
| 437 | }; |
| 438 | }; |