Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 1 | /* |
| 2 | * MPC8349E MDS Device Tree Source |
| 3 | * |
| 4 | * Copyright 2005, 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 | |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 12 | /dts-v1/; |
| 13 | |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 14 | / { |
| 15 | model = "MPC8349EMDS"; |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 16 | compatible = "MPC8349EMDS", "MPC834xMDS", "MPC83xxMDS"; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | serial0 = &serial0; |
| 24 | serial1 = &serial1; |
| 25 | pci0 = &pci0; |
| 26 | pci1 = &pci1; |
| 27 | }; |
| 28 | |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 29 | cpus { |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 30 | #address-cells = <1>; |
| 31 | #size-cells = <0>; |
| 32 | |
| 33 | PowerPC,8349@0 { |
| 34 | device_type = "cpu"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 35 | reg = <0x0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 36 | d-cache-line-size = <32>; |
| 37 | i-cache-line-size = <32>; |
| 38 | d-cache-size = <32768>; |
| 39 | i-cache-size = <32768>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 40 | timebase-frequency = <0>; // from bootloader |
| 41 | bus-frequency = <0>; // from bootloader |
| 42 | clock-frequency = <0>; // from bootloader |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 43 | }; |
| 44 | }; |
| 45 | |
| 46 | memory { |
| 47 | device_type = "memory"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 48 | reg = <0x00000000 0x10000000>; // 256MB at 0 |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 49 | }; |
| 50 | |
Li Yang | ea5b7a6 | 2007-02-07 13:51:09 +0800 | [diff] [blame] | 51 | bcsr@e2400000 { |
Anton Vorontsov | fd657ef | 2008-10-18 04:23:52 +0400 | [diff] [blame] | 52 | compatible = "fsl,mpc8349mds-bcsr"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 53 | reg = <0xe2400000 0x8000>; |
Li Yang | ea5b7a6 | 2007-02-07 13:51:09 +0800 | [diff] [blame] | 54 | }; |
| 55 | |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 56 | soc8349@e0000000 { |
| 57 | #address-cells = <1>; |
| 58 | #size-cells = <1>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 59 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 60 | compatible = "simple-bus"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 61 | ranges = <0x0 0xe0000000 0x00100000>; |
| 62 | reg = <0xe0000000 0x00000200>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 63 | bus-frequency = <0>; |
| 64 | |
| 65 | wdt@200 { |
| 66 | device_type = "watchdog"; |
| 67 | compatible = "mpc83xx_wdt"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 68 | reg = <0x200 0x100>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 69 | }; |
| 70 | |
| 71 | i2c@3000 { |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 72 | #address-cells = <1>; |
| 73 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 74 | cell-index = <0>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 75 | compatible = "fsl-i2c"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 76 | reg = <0x3000 0x100>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 77 | interrupts = <14 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 78 | interrupt-parent = <&ipic>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 79 | dfsrr; |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 80 | |
| 81 | rtc@68 { |
| 82 | compatible = "dallas,ds1374"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 83 | reg = <0x68>; |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 84 | }; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 85 | }; |
| 86 | |
| 87 | i2c@3100 { |
Kim Phillips | 27f49807 | 2007-11-08 13:37:06 -0600 | [diff] [blame] | 88 | #address-cells = <1>; |
| 89 | #size-cells = <0>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 90 | cell-index = <1>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 91 | compatible = "fsl-i2c"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 92 | reg = <0x3100 0x100>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 93 | interrupts = <15 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 94 | interrupt-parent = <&ipic>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 95 | dfsrr; |
| 96 | }; |
| 97 | |
| 98 | spi@7000 { |
Anton Vorontsov | f3a2b29 | 2008-01-24 18:40:07 +0300 | [diff] [blame] | 99 | cell-index = <0>; |
| 100 | compatible = "fsl,spi"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 101 | reg = <0x7000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 102 | interrupts = <16 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 103 | interrupt-parent = <&ipic>; |
Peter Korsgaard | 33799e3 | 2007-10-03 17:44:58 +0200 | [diff] [blame] | 104 | mode = "cpu"; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 105 | }; |
| 106 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 107 | dma@82a8 { |
| 108 | #address-cells = <1>; |
| 109 | #size-cells = <1>; |
| 110 | compatible = "fsl,mpc8349-dma", "fsl,elo-dma"; |
| 111 | reg = <0x82a8 4>; |
| 112 | ranges = <0 0x8100 0x1a8>; |
| 113 | interrupt-parent = <&ipic>; |
| 114 | interrupts = <71 8>; |
| 115 | cell-index = <0>; |
| 116 | dma-channel@0 { |
| 117 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 118 | reg = <0 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 119 | cell-index = <0>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 120 | interrupt-parent = <&ipic>; |
| 121 | interrupts = <71 8>; |
| 122 | }; |
| 123 | dma-channel@80 { |
| 124 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 125 | reg = <0x80 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 126 | cell-index = <1>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 127 | interrupt-parent = <&ipic>; |
| 128 | interrupts = <71 8>; |
| 129 | }; |
| 130 | dma-channel@100 { |
| 131 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 132 | reg = <0x100 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 133 | cell-index = <2>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 134 | interrupt-parent = <&ipic>; |
| 135 | interrupts = <71 8>; |
| 136 | }; |
| 137 | dma-channel@180 { |
| 138 | compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; |
| 139 | reg = <0x180 0x28>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 140 | cell-index = <3>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 141 | interrupt-parent = <&ipic>; |
| 142 | interrupts = <71 8>; |
| 143 | }; |
| 144 | }; |
| 145 | |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 146 | /* phy type (ULPI or SERIAL) are only types supported for MPH */ |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 147 | /* port = 0 or 1 */ |
| 148 | usb@22000 { |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 149 | compatible = "fsl-usb2-mph"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 150 | reg = <0x22000 0x1000>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 151 | #address-cells = <1>; |
| 152 | #size-cells = <0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 153 | interrupt-parent = <&ipic>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 154 | interrupts = <39 0x8>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 155 | phy_type = "ulpi"; |
Peter Korsgaard | b7d66c8 | 2009-06-09 13:43:32 +0200 | [diff] [blame] | 156 | port0; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 157 | }; |
| 158 | /* phy type (ULPI, UTMI, UTMI_WIDE, SERIAL) */ |
| 159 | usb@23000 { |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 160 | compatible = "fsl-usb2-dr"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 161 | reg = <0x23000 0x1000>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 164 | interrupt-parent = <&ipic>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 165 | interrupts = <38 0x8>; |
Li Yang | ea5b7a6 | 2007-02-07 13:51:09 +0800 | [diff] [blame] | 166 | dr_mode = "otg"; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 167 | phy_type = "ulpi"; |
| 168 | }; |
| 169 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 170 | enet0: ethernet@24000 { |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 171 | #address-cells = <1>; |
| 172 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 173 | cell-index = <0>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 174 | device_type = "network"; |
| 175 | model = "TSEC"; |
| 176 | compatible = "gianfar"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 177 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 178 | ranges = <0x0 0x24000 0x1000>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 179 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 180 | interrupts = <32 0x8 33 0x8 34 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 181 | interrupt-parent = <&ipic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 182 | tbi-handle = <&tbi0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 183 | phy-handle = <&phy0>; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 184 | linux,network-index = <0>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 185 | |
| 186 | mdio@520 { |
| 187 | #address-cells = <1>; |
| 188 | #size-cells = <0>; |
| 189 | compatible = "fsl,gianfar-mdio"; |
| 190 | reg = <0x520 0x20>; |
| 191 | |
| 192 | phy0: ethernet-phy@0 { |
| 193 | interrupt-parent = <&ipic>; |
| 194 | interrupts = <17 0x8>; |
| 195 | reg = <0x0>; |
| 196 | device_type = "ethernet-phy"; |
| 197 | }; |
| 198 | |
| 199 | phy1: ethernet-phy@1 { |
| 200 | interrupt-parent = <&ipic>; |
| 201 | interrupts = <18 0x8>; |
| 202 | reg = <0x1>; |
| 203 | device_type = "ethernet-phy"; |
| 204 | }; |
| 205 | |
| 206 | tbi0: tbi-phy@11 { |
| 207 | reg = <0x11>; |
| 208 | device_type = "tbi-phy"; |
| 209 | }; |
| 210 | }; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 211 | }; |
| 212 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 213 | enet1: ethernet@25000 { |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 214 | #address-cells = <1>; |
| 215 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 216 | cell-index = <1>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 217 | device_type = "network"; |
| 218 | model = "TSEC"; |
| 219 | compatible = "gianfar"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 220 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +0300 | [diff] [blame] | 221 | ranges = <0x0 0x25000 0x1000>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 222 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 223 | interrupts = <35 0x8 36 0x8 37 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 224 | interrupt-parent = <&ipic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 225 | tbi-handle = <&tbi1>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 226 | phy-handle = <&phy1>; |
Grant Likely | ad25a4c | 2007-08-31 06:26:24 +1000 | [diff] [blame] | 227 | linux,network-index = <1>; |
Anton Vorontsov | 70b3adb | 2009-03-19 21:01:45 +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 | tbi1: tbi-phy@11 { |
| 236 | reg = <0x11>; |
| 237 | device_type = "tbi-phy"; |
| 238 | }; |
| 239 | }; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -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>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 244 | device_type = "serial"; |
| 245 | compatible = "ns16550"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 246 | reg = <0x4500 0x100>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 247 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 248 | interrupts = <9 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 249 | interrupt-parent = <&ipic>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -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>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 254 | device_type = "serial"; |
| 255 | compatible = "ns16550"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 256 | reg = <0x4600 0x100>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 257 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 258 | interrupts = <10 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 259 | interrupt-parent = <&ipic>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 260 | }; |
| 261 | |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 262 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 263 | compatible = "fsl,sec2.0"; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 264 | reg = <0x30000 0x10000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 265 | interrupts = <11 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 266 | interrupt-parent = <&ipic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 267 | fsl,num-channels = <4>; |
| 268 | fsl,channel-fifo-len = <24>; |
| 269 | fsl,exec-units-mask = <0x7e>; |
| 270 | fsl,descriptor-types-mask = <0x01010ebf>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 271 | }; |
| 272 | |
| 273 | /* IPIC |
| 274 | * interrupts cell = <intr #, sense> |
| 275 | * sense values match linux IORESOURCE_IRQ_* defines: |
| 276 | * sense == 8: Level, low assertion |
| 277 | * sense == 2: Edge, high-to-low change |
| 278 | */ |
Kumar Gala | d71a1dc | 2007-02-16 09:57:22 -0600 | [diff] [blame] | 279 | ipic: pic@700 { |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 280 | interrupt-controller; |
| 281 | #address-cells = <0>; |
| 282 | #interrupt-cells = <2>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 283 | reg = <0x700 0x100>; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 284 | device_type = "ipic"; |
| 285 | }; |
| 286 | }; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 287 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 288 | pci0: pci@e0008500 { |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 289 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 290 | interrupt-map = < |
| 291 | |
| 292 | /* IDSEL 0x11 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 293 | 0x8800 0x0 0x0 0x1 &ipic 20 0x8 |
| 294 | 0x8800 0x0 0x0 0x2 &ipic 21 0x8 |
| 295 | 0x8800 0x0 0x0 0x3 &ipic 22 0x8 |
| 296 | 0x8800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 297 | |
| 298 | /* IDSEL 0x12 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 299 | 0x9000 0x0 0x0 0x1 &ipic 22 0x8 |
| 300 | 0x9000 0x0 0x0 0x2 &ipic 23 0x8 |
| 301 | 0x9000 0x0 0x0 0x3 &ipic 20 0x8 |
| 302 | 0x9000 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 303 | |
| 304 | /* IDSEL 0x13 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 305 | 0x9800 0x0 0x0 0x1 &ipic 23 0x8 |
| 306 | 0x9800 0x0 0x0 0x2 &ipic 20 0x8 |
| 307 | 0x9800 0x0 0x0 0x3 &ipic 21 0x8 |
| 308 | 0x9800 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 309 | |
| 310 | /* IDSEL 0x15 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 311 | 0xa800 0x0 0x0 0x1 &ipic 20 0x8 |
| 312 | 0xa800 0x0 0x0 0x2 &ipic 21 0x8 |
| 313 | 0xa800 0x0 0x0 0x3 &ipic 22 0x8 |
| 314 | 0xa800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 315 | |
| 316 | /* IDSEL 0x16 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 317 | 0xb000 0x0 0x0 0x1 &ipic 23 0x8 |
| 318 | 0xb000 0x0 0x0 0x2 &ipic 20 0x8 |
| 319 | 0xb000 0x0 0x0 0x3 &ipic 21 0x8 |
| 320 | 0xb000 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 321 | |
| 322 | /* IDSEL 0x17 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 323 | 0xb800 0x0 0x0 0x1 &ipic 22 0x8 |
| 324 | 0xb800 0x0 0x0 0x2 &ipic 23 0x8 |
| 325 | 0xb800 0x0 0x0 0x3 &ipic 20 0x8 |
| 326 | 0xb800 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 327 | |
| 328 | /* IDSEL 0x18 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 329 | 0xc000 0x0 0x0 0x1 &ipic 21 0x8 |
| 330 | 0xc000 0x0 0x0 0x2 &ipic 22 0x8 |
| 331 | 0xc000 0x0 0x0 0x3 &ipic 23 0x8 |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 332 | 0xc000 0x0 0x0 0x4 &ipic 20 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 333 | interrupt-parent = <&ipic>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 334 | interrupts = <66 0x8>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 335 | bus-range = <0 0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 336 | ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 337 | 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
| 338 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; |
| 339 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 340 | #interrupt-cells = <1>; |
| 341 | #size-cells = <2>; |
| 342 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 343 | reg = <0xe0008500 0x100 /* internal registers */ |
| 344 | 0xe0008300 0x8>; /* config space access registers */ |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 345 | compatible = "fsl,mpc8349-pci"; |
| 346 | device_type = "pci"; |
| 347 | }; |
| 348 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 349 | pci1: pci@e0008600 { |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 350 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 351 | interrupt-map = < |
| 352 | |
| 353 | /* IDSEL 0x11 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 354 | 0x8800 0x0 0x0 0x1 &ipic 20 0x8 |
| 355 | 0x8800 0x0 0x0 0x2 &ipic 21 0x8 |
| 356 | 0x8800 0x0 0x0 0x3 &ipic 22 0x8 |
| 357 | 0x8800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 358 | |
| 359 | /* IDSEL 0x12 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 360 | 0x9000 0x0 0x0 0x1 &ipic 22 0x8 |
| 361 | 0x9000 0x0 0x0 0x2 &ipic 23 0x8 |
| 362 | 0x9000 0x0 0x0 0x3 &ipic 20 0x8 |
| 363 | 0x9000 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 364 | |
| 365 | /* IDSEL 0x13 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 366 | 0x9800 0x0 0x0 0x1 &ipic 23 0x8 |
| 367 | 0x9800 0x0 0x0 0x2 &ipic 20 0x8 |
| 368 | 0x9800 0x0 0x0 0x3 &ipic 21 0x8 |
| 369 | 0x9800 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 370 | |
| 371 | /* IDSEL 0x15 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 372 | 0xa800 0x0 0x0 0x1 &ipic 20 0x8 |
| 373 | 0xa800 0x0 0x0 0x2 &ipic 21 0x8 |
| 374 | 0xa800 0x0 0x0 0x3 &ipic 22 0x8 |
| 375 | 0xa800 0x0 0x0 0x4 &ipic 23 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 376 | |
| 377 | /* IDSEL 0x16 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 378 | 0xb000 0x0 0x0 0x1 &ipic 23 0x8 |
| 379 | 0xb000 0x0 0x0 0x2 &ipic 20 0x8 |
| 380 | 0xb000 0x0 0x0 0x3 &ipic 21 0x8 |
| 381 | 0xb000 0x0 0x0 0x4 &ipic 22 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 382 | |
| 383 | /* IDSEL 0x17 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 384 | 0xb800 0x0 0x0 0x1 &ipic 22 0x8 |
| 385 | 0xb800 0x0 0x0 0x2 &ipic 23 0x8 |
| 386 | 0xb800 0x0 0x0 0x3 &ipic 20 0x8 |
| 387 | 0xb800 0x0 0x0 0x4 &ipic 21 0x8 |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 388 | |
| 389 | /* IDSEL 0x18 */ |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 390 | 0xc000 0x0 0x0 0x1 &ipic 21 0x8 |
| 391 | 0xc000 0x0 0x0 0x2 &ipic 22 0x8 |
| 392 | 0xc000 0x0 0x0 0x3 &ipic 23 0x8 |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 393 | 0xc000 0x0 0x0 0x4 &ipic 20 0x8>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 394 | interrupt-parent = <&ipic>; |
Kim Phillips | b277b02 | 2008-01-31 12:56:58 -0600 | [diff] [blame] | 395 | interrupts = <67 0x8>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 396 | bus-range = <0 0>; |
Paul Gortmaker | eedd62e | 2008-01-25 01:22:09 -0500 | [diff] [blame] | 397 | ranges = <0x02000000 0x0 0xb0000000 0xb0000000 0x0 0x10000000 |
| 398 | 0x42000000 0x0 0xa0000000 0xa0000000 0x0 0x10000000 |
| 399 | 0x01000000 0x0 0x00000000 0xe2100000 0x0 0x00100000>; |
| 400 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 401 | #interrupt-cells = <1>; |
| 402 | #size-cells = <2>; |
| 403 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 404 | reg = <0xe0008600 0x100 /* internal registers */ |
| 405 | 0xe0008380 0x8>; /* config space access registers */ |
Kumar Gala | 1b3c5cda | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 406 | compatible = "fsl,mpc8349-pci"; |
| 407 | device_type = "pci"; |
| 408 | }; |
Kim Phillips | 1b9a93e | 2006-08-29 18:13:31 -0500 | [diff] [blame] | 409 | }; |