Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 1 | /* |
| 2 | * MPC8377E 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,mpc8377rdb"; |
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,8377@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,mpc8377-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,mpc8377-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 | |
| 110 | i2c@3000 { |
| 111 | #address-cells = <1>; |
| 112 | #size-cells = <0>; |
| 113 | cell-index = <0>; |
| 114 | compatible = "fsl-i2c"; |
| 115 | reg = <0x3000 0x100>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 116 | interrupts = <14 0x8>; |
| 117 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 118 | dfsrr; |
| 119 | rtc@68 { |
| 120 | device_type = "rtc"; |
| 121 | compatible = "dallas,ds1339"; |
| 122 | reg = <0x68>; |
| 123 | }; |
| 124 | }; |
| 125 | |
| 126 | i2c@3100 { |
| 127 | #address-cells = <1>; |
| 128 | #size-cells = <0>; |
| 129 | cell-index = <1>; |
| 130 | compatible = "fsl-i2c"; |
| 131 | reg = <0x3100 0x100>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 132 | interrupts = <15 0x8>; |
| 133 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 134 | dfsrr; |
| 135 | }; |
| 136 | |
| 137 | spi@7000 { |
| 138 | cell-index = <0>; |
| 139 | compatible = "fsl,spi"; |
| 140 | reg = <0x7000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 141 | interrupts = <16 0x8>; |
| 142 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 143 | mode = "cpu"; |
| 144 | }; |
| 145 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 146 | dma@82a8 { |
| 147 | #address-cells = <1>; |
| 148 | #size-cells = <1>; |
| 149 | compatible = "fsl,mpc8377-dma", "fsl,elo-dma"; |
| 150 | reg = <0x82a8 4>; |
| 151 | ranges = <0 0x8100 0x1a8>; |
| 152 | interrupt-parent = <&ipic>; |
| 153 | interrupts = <71 8>; |
| 154 | cell-index = <0>; |
| 155 | dma-channel@0 { |
| 156 | compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel"; |
| 157 | reg = <0 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 158 | cell-index = <0>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 159 | interrupt-parent = <&ipic>; |
| 160 | interrupts = <71 8>; |
| 161 | }; |
| 162 | dma-channel@80 { |
| 163 | compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel"; |
| 164 | reg = <0x80 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 165 | cell-index = <1>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 166 | interrupt-parent = <&ipic>; |
| 167 | interrupts = <71 8>; |
| 168 | }; |
| 169 | dma-channel@100 { |
| 170 | compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel"; |
| 171 | reg = <0x100 0x80>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 172 | cell-index = <2>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 173 | interrupt-parent = <&ipic>; |
| 174 | interrupts = <71 8>; |
| 175 | }; |
| 176 | dma-channel@180 { |
| 177 | compatible = "fsl,mpc8377-dma-channel", "fsl,elo-dma-channel"; |
| 178 | reg = <0x180 0x28>; |
Kumar Gala | aeb4276 | 2008-09-23 22:05:10 -0500 | [diff] [blame] | 179 | cell-index = <3>; |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 180 | interrupt-parent = <&ipic>; |
| 181 | interrupts = <71 8>; |
| 182 | }; |
| 183 | }; |
| 184 | |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 185 | usb@23000 { |
| 186 | compatible = "fsl-usb2-dr"; |
| 187 | reg = <0x23000 0x1000>; |
| 188 | #address-cells = <1>; |
| 189 | #size-cells = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 190 | interrupt-parent = <&ipic>; |
| 191 | interrupts = <38 0x8>; |
Anton Vorontsov | 8e8ff3a | 2008-03-12 23:02:13 +0300 | [diff] [blame] | 192 | phy_type = "ulpi"; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 193 | }; |
| 194 | |
| 195 | mdio@24520 { |
| 196 | #address-cells = <1>; |
| 197 | #size-cells = <0>; |
| 198 | compatible = "fsl,gianfar-mdio"; |
| 199 | reg = <0x24520 0x20>; |
| 200 | phy2: ethernet-phy@2 { |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 201 | interrupt-parent = <&ipic>; |
| 202 | interrupts = <17 0x8>; |
| 203 | reg = <0x2>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 204 | device_type = "ethernet-phy"; |
| 205 | }; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 206 | }; |
| 207 | |
| 208 | enet0: ethernet@24000 { |
| 209 | cell-index = <0>; |
| 210 | device_type = "network"; |
| 211 | model = "eTSEC"; |
| 212 | compatible = "gianfar"; |
| 213 | reg = <0x24000 0x1000>; |
| 214 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 215 | interrupts = <32 0x8 33 0x8 34 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 216 | phy-connection-type = "mii"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 217 | interrupt-parent = <&ipic>; |
| 218 | phy-handle = <&phy2>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 219 | }; |
| 220 | |
| 221 | enet1: ethernet@25000 { |
| 222 | cell-index = <1>; |
| 223 | device_type = "network"; |
| 224 | model = "eTSEC"; |
| 225 | compatible = "gianfar"; |
| 226 | reg = <0x25000 0x1000>; |
| 227 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 228 | interrupts = <35 0x8 36 0x8 37 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 229 | phy-connection-type = "mii"; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 230 | interrupt-parent = <&ipic>; |
Anton Vorontsov | f17c632 | 2008-03-17 20:52:08 +0300 | [diff] [blame] | 231 | fixed-link = <1 1 1000 0 0>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 232 | }; |
| 233 | |
| 234 | serial0: serial@4500 { |
| 235 | cell-index = <0>; |
| 236 | device_type = "serial"; |
| 237 | compatible = "ns16550"; |
| 238 | reg = <0x4500 0x100>; |
| 239 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 240 | interrupts = <9 0x8>; |
| 241 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 242 | }; |
| 243 | |
| 244 | serial1: serial@4600 { |
| 245 | cell-index = <1>; |
| 246 | device_type = "serial"; |
| 247 | compatible = "ns16550"; |
| 248 | reg = <0x4600 0x100>; |
| 249 | clock-frequency = <0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 250 | interrupts = <10 0x8>; |
| 251 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 252 | }; |
| 253 | |
| 254 | crypto@30000 { |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 255 | compatible = "fsl,sec3.0", "fsl,sec2.4", "fsl,sec2.2", |
| 256 | "fsl,sec2.1", "fsl,sec2.0"; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 257 | reg = <0x30000 0x10000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 258 | interrupts = <11 0x8>; |
| 259 | interrupt-parent = <&ipic>; |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 260 | fsl,num-channels = <4>; |
| 261 | fsl,channel-fifo-len = <24>; |
| 262 | fsl,exec-units-mask = <0x9fe>; |
| 263 | fsl,descriptor-types-mask = <0x3ab0ebf>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 264 | }; |
| 265 | |
| 266 | sata@18000 { |
| 267 | compatible = "fsl,mpc8377-sata", "fsl,pq-sata"; |
| 268 | reg = <0x18000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 269 | interrupts = <44 0x8>; |
| 270 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 271 | }; |
| 272 | |
| 273 | sata@19000 { |
| 274 | compatible = "fsl,mpc8377-sata", "fsl,pq-sata"; |
| 275 | reg = <0x19000 0x1000>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 276 | interrupts = <45 0x8>; |
| 277 | interrupt-parent = <&ipic>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 278 | }; |
| 279 | |
| 280 | /* IPIC |
| 281 | * interrupts cell = <intr #, sense> |
| 282 | * sense values match linux IORESOURCE_IRQ_* defines: |
| 283 | * sense == 8: Level, low assertion |
| 284 | * sense == 2: Edge, high-to-low change |
| 285 | */ |
| 286 | ipic: interrupt-controller@700 { |
| 287 | compatible = "fsl,ipic"; |
| 288 | interrupt-controller; |
| 289 | #address-cells = <0>; |
| 290 | #interrupt-cells = <2>; |
| 291 | reg = <0x700 0x100>; |
| 292 | }; |
| 293 | }; |
| 294 | |
| 295 | pci0: pci@e0008500 { |
| 296 | interrupt-map-mask = <0xf800 0 0 7>; |
| 297 | interrupt-map = < |
| 298 | /* IRQ5 = 21 = 0x15, IRQ6 = 0x16, IRQ7 = 23 = 0x17 */ |
| 299 | |
| 300 | /* IDSEL AD14 IRQ6 inta */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 301 | 0x7000 0x0 0x0 0x1 &ipic 22 0x8 |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 302 | |
| 303 | /* IDSEL AD15 IRQ5 inta, IRQ6 intb, IRQ7 intd */ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 304 | 0x7800 0x0 0x0 0x1 &ipic 21 0x8 |
| 305 | 0x7800 0x0 0x0 0x2 &ipic 22 0x8 |
| 306 | 0x7800 0x0 0x0 0x4 &ipic 23 0x8 |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 307 | |
| 308 | /* IDSEL AD28 IRQ7 inta, IRQ5 intb IRQ6 intc*/ |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 309 | 0xE000 0x0 0x0 0x1 &ipic 23 0x8 |
| 310 | 0xE000 0x0 0x0 0x2 &ipic 21 0x8 |
| 311 | 0xE000 0x0 0x0 0x3 &ipic 22 0x8>; |
| 312 | interrupt-parent = <&ipic>; |
| 313 | interrupts = <66 0x8>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 314 | bus-range = <0 0>; |
Paul Gortmaker | cda13dd | 2008-01-28 16:09:36 -0500 | [diff] [blame] | 315 | ranges = <0x02000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 316 | 0x42000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
| 317 | 0x01000000 0x0 0x00000000 0xe2000000 0x0 0x00100000>; |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 318 | clock-frequency = <66666666>; |
| 319 | #interrupt-cells = <1>; |
| 320 | #size-cells = <2>; |
| 321 | #address-cells = <3>; |
John Rigby | 5b70a09 | 2008-10-07 13:00:18 -0600 | [diff] [blame] | 322 | reg = <0xe0008500 0x100 /* internal registers */ |
| 323 | 0xe0008300 0x8>; /* config space access registers */ |
Kim Phillips | 23dd1cb | 2008-01-24 20:47:18 -0600 | [diff] [blame] | 324 | compatible = "fsl,mpc8349-pci"; |
| 325 | device_type = "pci"; |
| 326 | }; |
| 327 | }; |