Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 1 | /* |
Roy Zang | 02edff5 | 2007-07-10 18:46:47 +0800 | [diff] [blame] | 2 | * MPC8548 CDS Device Tree Source |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 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 | |
| 14 | / { |
| 15 | model = "MPC8548CDS"; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 16 | compatible = "MPC8548CDS", "MPC85xxCDS"; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 17 | #address-cells = <1>; |
| 18 | #size-cells = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 19 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 20 | aliases { |
| 21 | ethernet0 = &enet0; |
| 22 | ethernet1 = &enet1; |
| 23 | /* |
| 24 | ethernet2 = &enet2; |
| 25 | ethernet3 = &enet3; |
| 26 | */ |
| 27 | serial0 = &serial0; |
| 28 | serial1 = &serial1; |
| 29 | pci0 = &pci0; |
| 30 | pci1 = &pci1; |
| 31 | pci2 = &pci2; |
| 32 | }; |
| 33 | |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 34 | cpus { |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 35 | #address-cells = <1>; |
| 36 | #size-cells = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 37 | |
| 38 | PowerPC,8548@0 { |
| 39 | device_type = "cpu"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 40 | reg = <0x0>; |
| 41 | d-cache-line-size = <32>; // 32 bytes |
| 42 | i-cache-line-size = <32>; // 32 bytes |
| 43 | d-cache-size = <0x8000>; // L1, 32K |
| 44 | i-cache-size = <0x8000>; // L1, 32K |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 45 | timebase-frequency = <0>; // 33 MHz, from uboot |
| 46 | bus-frequency = <0>; // 166 MHz |
| 47 | clock-frequency = <0>; // 825 MHz, from uboot |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 48 | next-level-cache = <&L2>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 49 | }; |
| 50 | }; |
| 51 | |
| 52 | memory { |
| 53 | device_type = "memory"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 54 | reg = <0x0 0x8000000>; // 128M at 0x0 |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 55 | }; |
| 56 | |
| 57 | soc8548@e0000000 { |
| 58 | #address-cells = <1>; |
| 59 | #size-cells = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 60 | device_type = "soc"; |
Kim Phillips | cf0d19f | 2008-07-29 15:29:24 -0500 | [diff] [blame] | 61 | compatible = "simple-bus"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 62 | ranges = <0x0 0xe0000000 0x100000>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 63 | bus-frequency = <0>; |
| 64 | |
Kumar Gala | e1a2289 | 2009-04-22 13:17:42 -0500 | [diff] [blame] | 65 | ecm-law@0 { |
| 66 | compatible = "fsl,ecm-law"; |
| 67 | reg = <0x0 0x1000>; |
| 68 | fsl,num-laws = <10>; |
| 69 | }; |
| 70 | |
| 71 | ecm@1000 { |
| 72 | compatible = "fsl,mpc8548-ecm", "fsl,ecm"; |
| 73 | reg = <0x1000 0x1000>; |
| 74 | interrupts = <17 2>; |
| 75 | interrupt-parent = <&mpic>; |
| 76 | }; |
| 77 | |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 78 | memory-controller@2000 { |
| 79 | compatible = "fsl,8548-memory-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 80 | reg = <0x2000 0x1000>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 81 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 82 | interrupts = <18 2>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 83 | }; |
| 84 | |
Kumar Gala | c054065 | 2008-05-30 13:43:43 -0500 | [diff] [blame] | 85 | L2: l2-cache-controller@20000 { |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 86 | compatible = "fsl,8548-l2-cache-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 87 | reg = <0x20000 0x1000>; |
| 88 | cache-line-size = <32>; // 32 bytes |
| 89 | cache-size = <0x80000>; // L2, 512K |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 90 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 91 | interrupts = <16 2>; |
Dave Jiang | 50cf670 | 2007-05-10 10:03:05 -0700 | [diff] [blame] | 92 | }; |
| 93 | |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 94 | i2c@3000 { |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 95 | #address-cells = <1>; |
| 96 | #size-cells = <0>; |
| 97 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 98 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 99 | reg = <0x3000 0x100>; |
| 100 | interrupts = <43 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 101 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 102 | dfsrr; |
Anton Vorontsov | c69328d | 2009-07-09 22:36:44 +0400 | [diff] [blame] | 103 | |
| 104 | eeprom@50 { |
| 105 | compatible = "atmel,24c64"; |
| 106 | reg = <0x50>; |
| 107 | }; |
| 108 | |
| 109 | eeprom@56 { |
| 110 | compatible = "atmel,24c64"; |
| 111 | reg = <0x56>; |
| 112 | }; |
| 113 | |
| 114 | eeprom@57 { |
| 115 | compatible = "atmel,24c64"; |
| 116 | reg = <0x57>; |
| 117 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 118 | }; |
| 119 | |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 120 | i2c@3100 { |
| 121 | #address-cells = <1>; |
| 122 | #size-cells = <0>; |
| 123 | cell-index = <1>; |
| 124 | compatible = "fsl-i2c"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 125 | reg = <0x3100 0x100>; |
| 126 | interrupts = <43 2>; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 127 | interrupt-parent = <&mpic>; |
| 128 | dfsrr; |
Anton Vorontsov | c69328d | 2009-07-09 22:36:44 +0400 | [diff] [blame] | 129 | |
| 130 | eeprom@50 { |
| 131 | compatible = "atmel,24c64"; |
| 132 | reg = <0x50>; |
| 133 | }; |
Kumar Gala | ec9686c | 2007-12-11 23:17:24 -0600 | [diff] [blame] | 134 | }; |
| 135 | |
Kumar Gala | dee8055 | 2008-06-27 13:45:19 -0500 | [diff] [blame] | 136 | dma@21300 { |
| 137 | #address-cells = <1>; |
| 138 | #size-cells = <1>; |
| 139 | compatible = "fsl,mpc8548-dma", "fsl,eloplus-dma"; |
| 140 | reg = <0x21300 0x4>; |
| 141 | ranges = <0x0 0x21100 0x200>; |
| 142 | cell-index = <0>; |
| 143 | dma-channel@0 { |
| 144 | compatible = "fsl,mpc8548-dma-channel", |
| 145 | "fsl,eloplus-dma-channel"; |
| 146 | reg = <0x0 0x80>; |
| 147 | cell-index = <0>; |
| 148 | interrupt-parent = <&mpic>; |
| 149 | interrupts = <20 2>; |
| 150 | }; |
| 151 | dma-channel@80 { |
| 152 | compatible = "fsl,mpc8548-dma-channel", |
| 153 | "fsl,eloplus-dma-channel"; |
| 154 | reg = <0x80 0x80>; |
| 155 | cell-index = <1>; |
| 156 | interrupt-parent = <&mpic>; |
| 157 | interrupts = <21 2>; |
| 158 | }; |
| 159 | dma-channel@100 { |
| 160 | compatible = "fsl,mpc8548-dma-channel", |
| 161 | "fsl,eloplus-dma-channel"; |
| 162 | reg = <0x100 0x80>; |
| 163 | cell-index = <2>; |
| 164 | interrupt-parent = <&mpic>; |
| 165 | interrupts = <22 2>; |
| 166 | }; |
| 167 | dma-channel@180 { |
| 168 | compatible = "fsl,mpc8548-dma-channel", |
| 169 | "fsl,eloplus-dma-channel"; |
| 170 | reg = <0x180 0x80>; |
| 171 | cell-index = <3>; |
| 172 | interrupt-parent = <&mpic>; |
| 173 | interrupts = <23 2>; |
| 174 | }; |
| 175 | }; |
| 176 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 177 | enet0: ethernet@24000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 178 | #address-cells = <1>; |
| 179 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 180 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 181 | device_type = "network"; |
| 182 | model = "eTSEC"; |
| 183 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 184 | reg = <0x24000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 185 | ranges = <0x0 0x24000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 186 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 187 | interrupts = <29 2 30 2 34 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 188 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 189 | tbi-handle = <&tbi0>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 190 | phy-handle = <&phy0>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 191 | |
| 192 | mdio@520 { |
| 193 | #address-cells = <1>; |
| 194 | #size-cells = <0>; |
| 195 | compatible = "fsl,gianfar-mdio"; |
| 196 | reg = <0x520 0x20>; |
| 197 | |
| 198 | phy0: ethernet-phy@0 { |
| 199 | interrupt-parent = <&mpic>; |
| 200 | interrupts = <5 1>; |
| 201 | reg = <0x0>; |
| 202 | device_type = "ethernet-phy"; |
| 203 | }; |
| 204 | phy1: ethernet-phy@1 { |
| 205 | interrupt-parent = <&mpic>; |
| 206 | interrupts = <5 1>; |
| 207 | reg = <0x1>; |
| 208 | device_type = "ethernet-phy"; |
| 209 | }; |
| 210 | phy2: ethernet-phy@2 { |
| 211 | interrupt-parent = <&mpic>; |
| 212 | interrupts = <5 1>; |
| 213 | reg = <0x2>; |
| 214 | device_type = "ethernet-phy"; |
| 215 | }; |
| 216 | phy3: ethernet-phy@3 { |
| 217 | interrupt-parent = <&mpic>; |
| 218 | interrupts = <5 1>; |
| 219 | reg = <0x3>; |
| 220 | device_type = "ethernet-phy"; |
| 221 | }; |
| 222 | tbi0: tbi-phy@11 { |
| 223 | reg = <0x11>; |
| 224 | device_type = "tbi-phy"; |
| 225 | }; |
| 226 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 227 | }; |
| 228 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 229 | enet1: ethernet@25000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 230 | #address-cells = <1>; |
| 231 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 232 | cell-index = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 233 | device_type = "network"; |
| 234 | model = "eTSEC"; |
| 235 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 236 | reg = <0x25000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 237 | ranges = <0x0 0x25000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 238 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 239 | interrupts = <35 2 36 2 40 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 240 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 241 | tbi-handle = <&tbi1>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 242 | phy-handle = <&phy1>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 243 | |
| 244 | mdio@520 { |
| 245 | #address-cells = <1>; |
| 246 | #size-cells = <0>; |
| 247 | compatible = "fsl,gianfar-tbi"; |
| 248 | reg = <0x520 0x20>; |
| 249 | |
| 250 | tbi1: tbi-phy@11 { |
| 251 | reg = <0x11>; |
| 252 | device_type = "tbi-phy"; |
| 253 | }; |
| 254 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 255 | }; |
| 256 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 257 | /* eTSEC 3/4 are currently broken |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 258 | enet2: ethernet@26000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 259 | #address-cells = <1>; |
| 260 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 261 | cell-index = <2>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 262 | device_type = "network"; |
| 263 | model = "eTSEC"; |
| 264 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 265 | reg = <0x26000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 266 | ranges = <0x0 0x26000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 267 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 268 | interrupts = <31 2 32 2 33 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 269 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 270 | tbi-handle = <&tbi2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 271 | phy-handle = <&phy2>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 272 | |
| 273 | mdio@520 { |
| 274 | #address-cells = <1>; |
| 275 | #size-cells = <0>; |
| 276 | compatible = "fsl,gianfar-tbi"; |
| 277 | reg = <0x520 0x20>; |
| 278 | |
| 279 | tbi2: tbi-phy@11 { |
| 280 | reg = <0x11>; |
| 281 | device_type = "tbi-phy"; |
| 282 | }; |
| 283 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 284 | }; |
| 285 | |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 286 | enet3: ethernet@27000 { |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 287 | #address-cells = <1>; |
| 288 | #size-cells = <1>; |
Kumar Gala | e77b28e | 2007-12-12 00:28:35 -0600 | [diff] [blame] | 289 | cell-index = <3>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 290 | device_type = "network"; |
| 291 | model = "eTSEC"; |
| 292 | compatible = "gianfar"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 293 | reg = <0x27000 0x1000>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 294 | ranges = <0x0 0x27000 0x1000>; |
Timur Tabi | eae9826 | 2007-06-22 14:33:15 -0500 | [diff] [blame] | 295 | local-mac-address = [ 00 00 00 00 00 00 ]; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 296 | interrupts = <37 2 38 2 39 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 297 | interrupt-parent = <&mpic>; |
Andy Fleming | b31a1d8 | 2008-12-16 15:29:15 -0800 | [diff] [blame] | 298 | tbi-handle = <&tbi3>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 299 | phy-handle = <&phy3>; |
Anton Vorontsov | 84ba4a5 | 2009-03-19 21:01:48 +0300 | [diff] [blame] | 300 | |
| 301 | mdio@520 { |
| 302 | #address-cells = <1>; |
| 303 | #size-cells = <0>; |
| 304 | compatible = "fsl,gianfar-tbi"; |
| 305 | reg = <0x520 0x20>; |
| 306 | |
| 307 | tbi3: tbi-phy@11 { |
| 308 | reg = <0x11>; |
| 309 | device_type = "tbi-phy"; |
| 310 | }; |
| 311 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 312 | }; |
| 313 | */ |
| 314 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 315 | serial0: serial@4500 { |
| 316 | cell-index = <0>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 317 | device_type = "serial"; |
| 318 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 319 | reg = <0x4500 0x100>; // reg base, size |
Randy Vinson | 6af0125 | 2007-07-17 16:37:12 -0700 | [diff] [blame] | 320 | clock-frequency = <0>; // should we fill in in uboot? |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 321 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 322 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 323 | }; |
| 324 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 325 | serial1: serial@4600 { |
| 326 | cell-index = <1>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 327 | device_type = "serial"; |
| 328 | compatible = "ns16550"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 329 | reg = <0x4600 0x100>; // reg base, size |
Randy Vinson | 6af0125 | 2007-07-17 16:37:12 -0700 | [diff] [blame] | 330 | clock-frequency = <0>; // should we fill in in uboot? |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 331 | interrupts = <42 2>; |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 332 | interrupt-parent = <&mpic>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 333 | }; |
| 334 | |
Roy Zang | 68fb0d2 | 2007-06-13 17:13:42 +0800 | [diff] [blame] | 335 | global-utilities@e0000 { //global utilities reg |
| 336 | compatible = "fsl,mpc8548-guts"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 337 | reg = <0xe0000 0x1000>; |
Roy Zang | 68fb0d2 | 2007-06-13 17:13:42 +0800 | [diff] [blame] | 338 | fsl,has-rstcr; |
| 339 | }; |
| 340 | |
Kim Phillips | 3fd4473 | 2008-07-08 19:13:33 -0500 | [diff] [blame] | 341 | crypto@30000 { |
| 342 | compatible = "fsl,sec2.1", "fsl,sec2.0"; |
| 343 | reg = <0x30000 0x10000>; |
| 344 | interrupts = <45 2>; |
| 345 | interrupt-parent = <&mpic>; |
| 346 | fsl,num-channels = <4>; |
| 347 | fsl,channel-fifo-len = <24>; |
| 348 | fsl,exec-units-mask = <0xfe>; |
| 349 | fsl,descriptor-types-mask = <0x12b0ebf>; |
| 350 | }; |
| 351 | |
Kumar Gala | 5209487 | 2007-02-17 16:04:23 -0600 | [diff] [blame] | 352 | mpic: pic@40000 { |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 353 | interrupt-controller; |
| 354 | #address-cells = <0>; |
| 355 | #interrupt-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 356 | reg = <0x40000 0x40000>; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 357 | compatible = "chrp,open-pic"; |
| 358 | device_type = "open-pic"; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 359 | }; |
| 360 | }; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 361 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 362 | pci0: pci@e0008000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 363 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 364 | interrupt-map = < |
| 365 | /* IDSEL 0x4 (PCIX Slot 2) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 366 | 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 367 | 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 368 | 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 369 | 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 370 | |
| 371 | /* IDSEL 0x5 (PCIX Slot 3) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 372 | 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 373 | 0x2800 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 374 | 0x2800 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 375 | 0x2800 0x0 0x0 0x4 &mpic 0x0 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 376 | |
| 377 | /* IDSEL 0x6 (PCIX Slot 4) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 378 | 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 379 | 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 380 | 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 |
| 381 | 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 382 | |
| 383 | /* IDSEL 0x8 (PCIX Slot 5) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 384 | 0x4000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 385 | 0x4000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 386 | 0x4000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 387 | 0x4000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 388 | |
| 389 | /* IDSEL 0xC (Tsi310 bridge) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 390 | 0x6000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 391 | 0x6000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 392 | 0x6000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 393 | 0x6000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 394 | |
| 395 | /* IDSEL 0x14 (Slot 2) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 396 | 0xa000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 397 | 0xa000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 398 | 0xa000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 399 | 0xa000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 400 | |
| 401 | /* IDSEL 0x15 (Slot 3) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 402 | 0xa800 0x0 0x0 0x1 &mpic 0x1 0x1 |
| 403 | 0xa800 0x0 0x0 0x2 &mpic 0x2 0x1 |
| 404 | 0xa800 0x0 0x0 0x3 &mpic 0x3 0x1 |
| 405 | 0xa800 0x0 0x0 0x4 &mpic 0x0 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 406 | |
| 407 | /* IDSEL 0x16 (Slot 4) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 408 | 0xb000 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 409 | 0xb000 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 410 | 0xb000 0x0 0x0 0x3 &mpic 0x0 0x1 |
| 411 | 0xb000 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 412 | |
| 413 | /* IDSEL 0x18 (Slot 5) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 414 | 0xc000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 415 | 0xc000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 416 | 0xc000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 417 | 0xc000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 418 | |
| 419 | /* IDSEL 0x1C (Tsi310 bridge PCI primary) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 420 | 0xe000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 421 | 0xe000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 422 | 0xe000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 423 | 0xe000 0x0 0x0 0x4 &mpic 0x3 0x1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 424 | |
| 425 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 426 | interrupts = <24 2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 427 | bus-range = <0 0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 428 | ranges = <0x2000000 0x0 0x80000000 0x80000000 0x0 0x10000000 |
| 429 | 0x1000000 0x0 0x0 0xe2000000 0x0 0x800000>; |
| 430 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 431 | #interrupt-cells = <1>; |
| 432 | #size-cells = <2>; |
| 433 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 434 | reg = <0xe0008000 0x1000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 435 | compatible = "fsl,mpc8540-pcix", "fsl,mpc8540-pci"; |
| 436 | device_type = "pci"; |
| 437 | |
| 438 | pci_bridge@1c { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 439 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 440 | interrupt-map = < |
| 441 | |
| 442 | /* IDSEL 0x00 (PrPMC Site) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 443 | 0000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 444 | 0000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 445 | 0000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 446 | 0000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 447 | |
| 448 | /* IDSEL 0x04 (VIA chip) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 449 | 0x2000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 450 | 0x2000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 451 | 0x2000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 452 | 0x2000 0x0 0x0 0x4 &mpic 0x3 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 453 | |
| 454 | /* IDSEL 0x05 (8139) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 455 | 0x2800 0x0 0x0 0x1 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 456 | |
| 457 | /* IDSEL 0x06 (Slot 6) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 458 | 0x3000 0x0 0x0 0x1 &mpic 0x2 0x1 |
| 459 | 0x3000 0x0 0x0 0x2 &mpic 0x3 0x1 |
| 460 | 0x3000 0x0 0x0 0x3 &mpic 0x0 0x1 |
| 461 | 0x3000 0x0 0x0 0x4 &mpic 0x1 0x1 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 462 | |
| 463 | /* IDESL 0x07 (Slot 7) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 464 | 0x3800 0x0 0x0 0x1 &mpic 0x3 0x1 |
| 465 | 0x3800 0x0 0x0 0x2 &mpic 0x0 0x1 |
| 466 | 0x3800 0x0 0x0 0x3 &mpic 0x1 0x1 |
| 467 | 0x3800 0x0 0x0 0x4 &mpic 0x2 0x1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 468 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 469 | reg = <0xe000 0x0 0x0 0x0 0x0>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 470 | #interrupt-cells = <1>; |
| 471 | #size-cells = <2>; |
| 472 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 473 | ranges = <0x2000000 0x0 0x80000000 |
| 474 | 0x2000000 0x0 0x80000000 |
| 475 | 0x0 0x20000000 |
| 476 | 0x1000000 0x0 0x0 |
| 477 | 0x1000000 0x0 0x0 |
| 478 | 0x0 0x80000>; |
| 479 | clock-frequency = <33333333>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 480 | |
| 481 | isa@4 { |
| 482 | device_type = "isa"; |
| 483 | #interrupt-cells = <2>; |
| 484 | #size-cells = <1>; |
| 485 | #address-cells = <2>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 486 | reg = <0x2000 0x0 0x0 0x0 0x0>; |
| 487 | ranges = <0x1 0x0 0x1000000 0x0 0x0 0x1000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 488 | interrupt-parent = <&i8259>; |
| 489 | |
| 490 | i8259: interrupt-controller@20 { |
| 491 | interrupt-controller; |
| 492 | device_type = "interrupt-controller"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 493 | reg = <0x1 0x20 0x2 |
| 494 | 0x1 0xa0 0x2 |
| 495 | 0x1 0x4d0 0x2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 496 | #address-cells = <0>; |
| 497 | #interrupt-cells = <2>; |
| 498 | compatible = "chrp,iic"; |
| 499 | interrupts = <0 1>; |
| 500 | interrupt-parent = <&mpic>; |
| 501 | }; |
| 502 | |
| 503 | rtc@70 { |
| 504 | compatible = "pnpPNP,b00"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 505 | reg = <0x1 0x70 0x2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 506 | }; |
| 507 | }; |
| 508 | }; |
| 509 | }; |
| 510 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 511 | pci1: pci@e0009000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 512 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 513 | interrupt-map = < |
| 514 | |
| 515 | /* IDSEL 0x15 */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 516 | 0xa800 0x0 0x0 0x1 &mpic 0xb 0x1 |
| 517 | 0xa800 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 518 | 0xa800 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 519 | 0xa800 0x0 0x0 0x4 &mpic 0x3 0x1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 520 | |
| 521 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 522 | interrupts = <25 2>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 523 | bus-range = <0 0>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 524 | ranges = <0x2000000 0x0 0x90000000 0x90000000 0x0 0x10000000 |
| 525 | 0x1000000 0x0 0x0 0xe2800000 0x0 0x800000>; |
| 526 | clock-frequency = <66666666>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 527 | #interrupt-cells = <1>; |
| 528 | #size-cells = <2>; |
| 529 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 530 | reg = <0xe0009000 0x1000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 531 | compatible = "fsl,mpc8540-pci"; |
| 532 | device_type = "pci"; |
| 533 | }; |
| 534 | |
Kumar Gala | ea082fa | 2007-12-12 01:46:12 -0600 | [diff] [blame] | 535 | pci2: pcie@e000a000 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 536 | interrupt-map-mask = <0xf800 0x0 0x0 0x7>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 537 | interrupt-map = < |
| 538 | |
| 539 | /* IDSEL 0x0 (PEX) */ |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 540 | 00000 0x0 0x0 0x1 &mpic 0x0 0x1 |
| 541 | 00000 0x0 0x0 0x2 &mpic 0x1 0x1 |
| 542 | 00000 0x0 0x0 0x3 &mpic 0x2 0x1 |
| 543 | 00000 0x0 0x0 0x4 &mpic 0x3 0x1>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 544 | |
| 545 | interrupt-parent = <&mpic>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 546 | interrupts = <26 2>; |
| 547 | bus-range = <0 255>; |
| 548 | ranges = <0x2000000 0x0 0xa0000000 0xa0000000 0x0 0x20000000 |
Kumar Gala | ad16880 | 2008-06-06 10:35:13 -0500 | [diff] [blame] | 549 | 0x1000000 0x0 0x0 0xe3000000 0x0 0x100000>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 550 | clock-frequency = <33333333>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 551 | #interrupt-cells = <1>; |
| 552 | #size-cells = <2>; |
| 553 | #address-cells = <3>; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 554 | reg = <0xe000a000 0x1000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 555 | compatible = "fsl,mpc8548-pcie"; |
| 556 | device_type = "pci"; |
| 557 | pcie@0 { |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 558 | reg = <0x0 0x0 0x0 0x0 0x0>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 559 | #size-cells = <2>; |
| 560 | #address-cells = <3>; |
| 561 | device_type = "pci"; |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 562 | ranges = <0x2000000 0x0 0xa0000000 |
| 563 | 0x2000000 0x0 0xa0000000 |
| 564 | 0x0 0x20000000 |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 565 | |
Kumar Gala | 32f960e | 2008-04-17 01:28:15 -0500 | [diff] [blame] | 566 | 0x1000000 0x0 0x0 |
| 567 | 0x1000000 0x0 0x0 |
Kumar Gala | ad16880 | 2008-06-06 10:35:13 -0500 | [diff] [blame] | 568 | 0x0 0x100000>; |
Kumar Gala | 1b3c5cd | 2007-09-12 18:23:46 -0500 | [diff] [blame] | 569 | }; |
| 570 | }; |
Andy Fleming | 2654d63 | 2006-08-18 18:04:34 -0500 | [diff] [blame] | 571 | }; |