Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 1 | /* |
| 2 | * TQM 8555 Device Tree Source |
| 3 | * |
| 4 | * Copyright 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 | / { |
Wolfgang Grandegger | 4fb035f | 2008-06-06 13:50:03 +0200 | [diff] [blame] | 15 | model = "tqc,tqm8555"; |
| 16 | compatible = "tqc,tqm8555"; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
| 19 | |
| 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | serial0 = &serial0; |
| 24 | serial1 = &serial1; |
| 25 | pci0 = &pci0; |
| 26 | }; |
| 27 | |
| 28 | cpus { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | |
| 32 | PowerPC,8555@0 { |
| 33 | device_type = "cpu"; |
| 34 | reg = <0>; |
| 35 | d-cache-line-size = <32>; |
| 36 | i-cache-line-size = <32>; |
| 37 | d-cache-size = <32768>; |
| 38 | i-cache-size = <32768>; |
| 39 | timebase-frequency = <0>; |
| 40 | bus-frequency = <0>; |
| 41 | clock-frequency = <0>; |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 42 | next-level-cache = <&L2>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 43 | }; |
| 44 | }; |
| 45 | |
| 46 | memory { |
| 47 | device_type = "memory"; |
| 48 | reg = <0x00000000 0x10000000>; |
| 49 | }; |
| 50 | |
Kumar Gala | f67be81 | 2008-01-25 10:23:34 -0600 | [diff] [blame] | 51 | soc@e0000000 { |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 52 | #address-cells = <1>; |
| 53 | #size-cells = <1>; |
| 54 | device_type = "soc"; |
| 55 | ranges = <0x0 0xe0000000 0x100000>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 56 | bus-frequency = <0>; |
| 57 | compatible = "fsl,mpc8555-immr", "simple-bus"; |
| 58 | |
Kumar Gala | e1a2289 | 2009-04-22 13:17:42 -0500 | [diff] [blame] | 59 | ecm-law@0 { |
| 60 | compatible = "fsl,ecm-law"; |
| 61 | reg = <0x0 0x1000>; |
| 62 | fsl,num-laws = <8>; |
| 63 | }; |
| 64 | |
| 65 | ecm@1000 { |
| 66 | compatible = "fsl,mpc8555-ecm", "fsl,ecm"; |
| 67 | reg = <0x1000 0x1000>; |
| 68 | interrupts = <17 2>; |
| 69 | interrupt-parent = <&mpic>; |
| 70 | }; |
| 71 | |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 72 | memory-controller@2000 { |
Kumar Gala | fe67177 | 2009-03-31 08:46:25 -0500 | [diff] [blame] | 73 | compatible = "fsl,mpc8540-memory-controller"; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 74 | reg = <0x2000 0x1000>; |
| 75 | interrupt-parent = <&mpic>; |
| 76 | interrupts = <18 2>; |
| 77 | }; |
| 78 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 79 | L2: l2-cache-controller@20000 { |
Kumar Gala | fe67177 | 2009-03-31 08:46:25 -0500 | [diff] [blame] | 80 | compatible = "fsl,mpc8540-l2-cache-controller"; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 81 | reg = <0x20000 0x1000>; |
| 82 | cache-line-size = <32>; |
| 83 | cache-size = <0x40000>; // L2, 256K |
| 84 | interrupt-parent = <&mpic>; |
| 85 | interrupts = <16 2>; |
| 86 | }; |
| 87 | |
| 88 | i2c@3000 { |
| 89 | #address-cells = <1>; |
| 90 | #size-cells = <0>; |
| 91 | cell-index = <0>; |
| 92 | compatible = "fsl-i2c"; |
| 93 | reg = <0x3000 0x100>; |
| 94 | interrupts = <43 2>; |
| 95 | interrupt-parent = <&mpic>; |
| 96 | dfsrr; |
| 97 | |
Wolfgang Grandegger | 6467cae | 2009-03-16 09:56:26 +0100 | [diff] [blame] | 98 | dtt@48 { |
Wolfgang Grandegger | 0f73a44 | 2009-01-29 13:49:17 +0100 | [diff] [blame] | 99 | compatible = "national,lm75"; |
Wolfgang Grandegger | 6467cae | 2009-03-16 09:56:26 +0100 | [diff] [blame] | 100 | reg = <0x48>; |
Wolfgang Grandegger | 0f73a44 | 2009-01-29 13:49:17 +0100 | [diff] [blame] | 101 | }; |
| 102 | |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 103 | rtc@68 { |
| 104 | compatible = "dallas,ds1337"; |
| 105 | reg = <0x68>; |
| 106 | }; |
| 107 | }; |
| 108 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 109 | dma@21300 { |
| 110 | #address-cells = <1>; |
| 111 | #size-cells = <1>; |
| 112 | compatible = "fsl,mpc8555-dma", "fsl,eloplus-dma"; |
| 113 | reg = <0x21300 0x4>; |
| 114 | ranges = <0x0 0x21100 0x200>; |
| 115 | cell-index = <0>; |
| 116 | dma-channel@0 { |
| 117 | compatible = "fsl,mpc8555-dma-channel", |
| 118 | "fsl,eloplus-dma-channel"; |
| 119 | reg = <0x0 0x80>; |
| 120 | cell-index = <0>; |
| 121 | interrupt-parent = <&mpic>; |
| 122 | interrupts = <20 2>; |
| 123 | }; |
| 124 | dma-channel@80 { |
| 125 | compatible = "fsl,mpc8555-dma-channel", |
| 126 | "fsl,eloplus-dma-channel"; |
| 127 | reg = <0x80 0x80>; |
| 128 | cell-index = <1>; |
| 129 | interrupt-parent = <&mpic>; |
| 130 | interrupts = <21 2>; |
| 131 | }; |
| 132 | dma-channel@100 { |
| 133 | compatible = "fsl,mpc8555-dma-channel", |
| 134 | "fsl,eloplus-dma-channel"; |
| 135 | reg = <0x100 0x80>; |
| 136 | cell-index = <2>; |
| 137 | interrupt-parent = <&mpic>; |
| 138 | interrupts = <22 2>; |
| 139 | }; |
| 140 | dma-channel@180 { |
| 141 | compatible = "fsl,mpc8555-dma-channel", |
| 142 | "fsl,eloplus-dma-channel"; |
| 143 | reg = <0x180 0x80>; |
| 144 | cell-index = <3>; |
| 145 | interrupt-parent = <&mpic>; |
| 146 | interrupts = <23 2>; |
| 147 | }; |
| 148 | }; |
| 149 | |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 150 | enet0: ethernet@24000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 151 | #address-cells = <1>; |
| 152 | #size-cells = <1>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 153 | cell-index = <0>; |
| 154 | device_type = "network"; |
| 155 | model = "TSEC"; |
| 156 | compatible = "gianfar"; |
| 157 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 158 | ranges = <0x0 0x24000 0x1000>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 159 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 160 | interrupts = <29 2 30 2 34 2>; |
| 161 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 162 | tbi-handle = <&tbi0>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 163 | phy-handle = <&phy2>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 164 | |
| 165 | mdio@520 { |
| 166 | #address-cells = <1>; |
| 167 | #size-cells = <0>; |
| 168 | compatible = "fsl,gianfar-mdio"; |
| 169 | reg = <0x520 0x20>; |
| 170 | |
| 171 | phy1: ethernet-phy@1 { |
| 172 | interrupt-parent = <&mpic>; |
| 173 | interrupts = <8 1>; |
| 174 | reg = <1>; |
| 175 | device_type = "ethernet-phy"; |
| 176 | }; |
| 177 | phy2: ethernet-phy@2 { |
| 178 | interrupt-parent = <&mpic>; |
| 179 | interrupts = <8 1>; |
| 180 | reg = <2>; |
| 181 | device_type = "ethernet-phy"; |
| 182 | }; |
| 183 | phy3: ethernet-phy@3 { |
| 184 | interrupt-parent = <&mpic>; |
| 185 | interrupts = <8 1>; |
| 186 | reg = <3>; |
| 187 | device_type = "ethernet-phy"; |
| 188 | }; |
| 189 | tbi0: tbi-phy@11 { |
| 190 | reg = <0x11>; |
| 191 | device_type = "tbi-phy"; |
| 192 | }; |
| 193 | }; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 194 | }; |
| 195 | |
| 196 | enet1: ethernet@25000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 197 | #address-cells = <1>; |
| 198 | #size-cells = <1>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 199 | cell-index = <1>; |
| 200 | device_type = "network"; |
| 201 | model = "TSEC"; |
| 202 | compatible = "gianfar"; |
| 203 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 204 | ranges = <0x0 0x25000 0x1000>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 205 | local-mac-address = [ 00 00 00 00 00 00 ]; |
| 206 | interrupts = <35 2 36 2 40 2>; |
| 207 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 208 | tbi-handle = <&tbi1>; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 209 | phy-handle = <&phy1>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 210 | |
| 211 | mdio@520 { |
| 212 | #address-cells = <1>; |
| 213 | #size-cells = <0>; |
| 214 | compatible = "fsl,gianfar-tbi"; |
| 215 | reg = <0x520 0x20>; |
| 216 | |
| 217 | tbi1: tbi-phy@11 { |
| 218 | reg = <0x11>; |
| 219 | device_type = "tbi-phy"; |
| 220 | }; |
| 221 | }; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 222 | }; |
| 223 | |
| 224 | serial0: serial@4500 { |
| 225 | cell-index = <0>; |
| 226 | device_type = "serial"; |
| 227 | compatible = "ns16550"; |
| 228 | reg = <0x4500 0x100>; // reg base, size |
| 229 | clock-frequency = <0>; // should we fill in in uboot? |
| 230 | interrupts = <42 2>; |
| 231 | interrupt-parent = <&mpic>; |
| 232 | }; |
| 233 | |
| 234 | serial1: serial@4600 { |
| 235 | cell-index = <1>; |
| 236 | device_type = "serial"; |
| 237 | compatible = "ns16550"; |
| 238 | reg = <0x4600 0x100>; // reg base, size |
| 239 | clock-frequency = <0>; // should we fill in in uboot? |
| 240 | interrupts = <42 2>; |
| 241 | interrupt-parent = <&mpic>; |
| 242 | }; |
| 243 | |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 244 | crypto@30000 { |
| 245 | compatible = "fsl,sec2.0"; |
| 246 | reg = <0x30000 0x10000>; |
| 247 | interrupts = <45 2>; |
| 248 | interrupt-parent = <&mpic>; |
| 249 | fsl,num-channels = <4>; |
| 250 | fsl,channel-fifo-len = <24>; |
| 251 | fsl,exec-units-mask = <0x7e>; |
| 252 | fsl,descriptor-types-mask = <0x01010ebf>; |
| 253 | }; |
| 254 | |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 255 | mpic: pic@40000 { |
| 256 | interrupt-controller; |
| 257 | #address-cells = <0>; |
| 258 | #interrupt-cells = <2>; |
| 259 | reg = <0x40000 0x40000>; |
| 260 | device_type = "open-pic"; |
Kumar Gala | acd4b71 | 2008-05-30 12:12:26 -0500 | [diff] [blame] | 261 | compatible = "chrp,open-pic"; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 262 | }; |
| 263 | |
| 264 | cpm@919c0 { |
| 265 | #address-cells = <1>; |
| 266 | #size-cells = <1>; |
| 267 | compatible = "fsl,mpc8555-cpm", "fsl,cpm2", "simple-bus"; |
| 268 | reg = <0x919c0 0x30>; |
| 269 | ranges; |
| 270 | |
| 271 | muram@80000 { |
| 272 | #address-cells = <1>; |
| 273 | #size-cells = <1>; |
| 274 | ranges = <0 0x80000 0x10000>; |
| 275 | |
| 276 | data@0 { |
| 277 | compatible = "fsl,cpm-muram-data"; |
| 278 | reg = <0 0x2000 0x9000 0x1000>; |
| 279 | }; |
| 280 | }; |
| 281 | |
| 282 | brg@919f0 { |
| 283 | compatible = "fsl,mpc8555-brg", |
| 284 | "fsl,cpm2-brg", |
| 285 | "fsl,cpm-brg"; |
| 286 | reg = <0x919f0 0x10 0x915f0 0x10>; |
| 287 | clock-frequency = <0>; |
| 288 | }; |
| 289 | |
| 290 | cpmpic: pic@90c00 { |
| 291 | interrupt-controller; |
| 292 | #address-cells = <0>; |
| 293 | #interrupt-cells = <2>; |
| 294 | interrupts = <46 2>; |
| 295 | interrupt-parent = <&mpic>; |
| 296 | reg = <0x90c00 0x80>; |
| 297 | compatible = "fsl,mpc8555-cpm-pic", "fsl,cpm2-pic"; |
| 298 | }; |
| 299 | }; |
| 300 | }; |
| 301 | |
| 302 | pci0: pci@e0008000 { |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 303 | #interrupt-cells = <1>; |
| 304 | #size-cells = <2>; |
| 305 | #address-cells = <3>; |
| 306 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; |
| 307 | device_type = "pci"; |
| 308 | reg = <0xe0008000 0x1000>; |
| 309 | clock-frequency = <66666666>; |
| 310 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
| 311 | interrupt-map = < |
| 312 | /* IDSEL 28 */ |
| 313 | 0xe000 0 0 1 &mpic 2 1 |
Dmitry Eremin-Solenikov | 07c6383 | 2010-07-21 10:33:23 +0000 | [diff] [blame] | 314 | 0xe000 0 0 2 &mpic 3 1 |
| 315 | 0xe000 0 0 3 &mpic 6 1 |
| 316 | 0xe000 0 0 4 &mpic 5 1 |
| 317 | |
| 318 | /* IDSEL 11 */ |
| 319 | 0x5800 0 0 1 &mpic 6 1 |
| 320 | 0x5800 0 0 2 &mpic 5 1 |
| 321 | >; |
Kumar Gala | 0052bc5 | 2008-01-24 23:53:03 -0600 | [diff] [blame] | 322 | |
| 323 | interrupt-parent = <&mpic>; |
| 324 | interrupts = <24 2>; |
| 325 | bus-range = <0 0>; |
| 326 | ranges = <0x02000000 0 0x80000000 0x80000000 0 0x20000000 |
| 327 | 0x01000000 0 0x00000000 0xe2000000 0 0x01000000>; |
| 328 | }; |
| 329 | }; |