1 // SPDX-License-Identifier: GPL-2.0-only 2 /* 3 * Copyright (C) 2009 Extreme Engineering Solu 4 * Based on TQM8548 device tree 5 * 6 * XPedite5200 PrPMC/XMC module based on MPC85 7 */ 8 9 /dts-v1/; 10 11 / { 12 model = "xes,xpedite5200"; 13 compatible = "xes,xpedite5200", "xes,M 14 #address-cells = <1>; 15 #size-cells = <1>; 16 17 aliases { 18 ethernet0 = &enet0; 19 ethernet1 = &enet1; 20 ethernet2 = &enet2; 21 ethernet3 = &enet3; 22 23 serial0 = &serial0; 24 serial1 = &serial1; 25 pci0 = &pci0; 26 }; 27 28 cpus { 29 #address-cells = <1>; 30 #size-cells = <0>; 31 32 PowerPC,8548@0 { 33 device_type = "cpu"; 34 reg = <0>; 35 d-cache-line-size = <3 36 i-cache-line-size = <3 37 d-cache-size = <0x8000 38 i-cache-size = <0x8000 39 next-level-cache = <&L 40 }; 41 }; 42 43 memory { 44 device_type = "memory"; 45 reg = <0x0 0x0>; // Fil 46 }; 47 48 soc@ef000000 { 49 #address-cells = <1>; 50 #size-cells = <1>; 51 device_type = "soc"; 52 ranges = <0x0 0xef000000 0x100 53 bus-frequency = <0>; 54 compatible = "fsl,mpc8548-immr 55 56 ecm-law@0 { 57 compatible = "fsl,ecm- 58 reg = <0x0 0x1000>; 59 fsl,num-laws = <12>; 60 }; 61 62 ecm@1000 { 63 compatible = "fsl,mpc8 64 reg = <0x1000 0x1000>; 65 interrupts = <17 2>; 66 interrupt-parent = <&m 67 }; 68 69 memory-controller@2000 { 70 compatible = "fsl,mpc8 71 reg = <0x2000 0x1000>; 72 interrupt-parent = <&m 73 interrupts = <18 2>; 74 }; 75 76 L2: l2-cache-controller@20000 77 compatible = "fsl,mpc8 78 reg = <0x20000 0x1000> 79 cache-line-size = <32> 80 cache-size = <0x80000> 81 interrupt-parent = <&m 82 interrupts = <16 2>; 83 }; 84 85 /* On-card I2C */ 86 i2c@3000 { 87 #address-cells = <1>; 88 #size-cells = <0>; 89 cell-index = <0>; 90 compatible = "fsl-i2c" 91 reg = <0x3000 0x100>; 92 interrupts = <43 2>; 93 interrupt-parent = <&m 94 dfsrr; 95 96 /* 97 * Board GPIO: 98 * 0: BRD_CFG0 (1 99 * 1: BRD_CFG1 (1 100 * 2: BRD_CFG2 (1 101 * 3: XMC root co 102 * 4: Flash boot 103 * 5: Flash write 104 * 6: PMC monarch 105 * 7: PMC EREADY 106 */ 107 gpio1: gpio@18 { 108 compatible = " 109 reg = <0x18>; 110 #gpio-cells = 111 gpio-controlle 112 polarity = <0x 113 }; 114 115 /* P14 GPIO */ 116 gpio2: gpio@19 { 117 compatible = " 118 reg = <0x19>; 119 #gpio-cells = 120 gpio-controlle 121 polarity = <0x 122 }; 123 124 eeprom@50 { 125 compatible = " 126 reg = <0x50>; 127 }; 128 129 rtc@68 { 130 compatible = " 131 " 132 reg = <0x68>; 133 }; 134 135 dtt@34 { 136 compatible = " 137 reg = <0x34>; 138 }; 139 }; 140 141 /* Off-card I2C */ 142 i2c@3100 { 143 #address-cells = <1>; 144 #size-cells = <0>; 145 cell-index = <1>; 146 compatible = "fsl-i2c" 147 reg = <0x3100 0x100>; 148 interrupts = <43 2>; 149 interrupt-parent = <&m 150 dfsrr; 151 }; 152 153 dma@21300 { 154 #address-cells = <1>; 155 #size-cells = <1>; 156 compatible = "fsl,mpc8 157 reg = <0x21300 0x4>; 158 ranges = <0x0 0x21100 159 cell-index = <0>; 160 dma-channel@0 { 161 compatible = " 162 163 reg = <0x0 0x8 164 cell-index = < 165 interrupt-pare 166 interrupts = < 167 }; 168 dma-channel@80 { 169 compatible = " 170 171 reg = <0x80 0x 172 cell-index = < 173 interrupt-pare 174 interrupts = < 175 }; 176 dma-channel@100 { 177 compatible = " 178 179 reg = <0x100 0 180 cell-index = < 181 interrupt-pare 182 interrupts = < 183 }; 184 dma-channel@180 { 185 compatible = " 186 187 reg = <0x180 0 188 cell-index = < 189 interrupt-pare 190 interrupts = < 191 }; 192 }; 193 194 /* eTSEC1: Front panel port 0 195 enet0: ethernet@24000 { 196 #address-cells = <1>; 197 #size-cells = <1>; 198 cell-index = <0>; 199 device_type = "network 200 model = "eTSEC"; 201 compatible = "gianfar" 202 reg = <0x24000 0x1000> 203 ranges = <0x0 0x24000 204 local-mac-address = [ 205 interrupts = <29 2 30 206 interrupt-parent = <&m 207 tbi-handle = <&tbi0>; 208 phy-handle = <&phy0>; 209 210 mdio@520 { 211 #address-cells 212 #size-cells = 213 compatible = " 214 reg = <0x520 0 215 216 phy0: ethernet 217 interr 218 interr 219 reg = 220 }; 221 phy1: ethernet 222 interr 223 interr 224 reg = 225 }; 226 phy2: ethernet 227 interr 228 interr 229 reg = 230 }; 231 phy3: ethernet 232 interr 233 interr 234 reg = 235 }; 236 tbi0: tbi-phy@ 237 reg = 238 device 239 }; 240 }; 241 }; 242 243 /* eTSEC2: Front panel port 1 244 enet1: ethernet@25000 { 245 #address-cells = <1>; 246 #size-cells = <1>; 247 cell-index = <1>; 248 device_type = "network 249 model = "eTSEC"; 250 compatible = "gianfar" 251 reg = <0x25000 0x1000> 252 ranges = <0x0 0x25000 253 local-mac-address = [ 254 interrupts = <35 2 36 255 interrupt-parent = <&m 256 tbi-handle = <&tbi1>; 257 phy-handle = <&phy1>; 258 259 mdio@520 { 260 #address-cells 261 #size-cells = 262 compatible = " 263 reg = <0x520 0 264 265 tbi1: tbi-phy@ 266 reg = 267 device 268 }; 269 }; 270 }; 271 272 /* eTSEC3: Rear panel port 2 * 273 enet2: ethernet@26000 { 274 #address-cells = <1>; 275 #size-cells = <1>; 276 cell-index = <2>; 277 device_type = "network 278 model = "eTSEC"; 279 compatible = "gianfar" 280 reg = <0x26000 0x1000> 281 ranges = <0x0 0x26000 282 local-mac-address = [ 283 interrupts = <31 2 32 284 interrupt-parent = <&m 285 tbi-handle = <&tbi2>; 286 phy-handle = <&phy2>; 287 288 mdio@520 { 289 #address-cells 290 #size-cells = 291 compatible = " 292 reg = <0x520 0 293 294 tbi2: tbi-phy@ 295 reg = 296 device 297 }; 298 }; 299 }; 300 301 /* eTSEC4: Rear panel port 3 * 302 enet3: ethernet@27000 { 303 #address-cells = <1>; 304 #size-cells = <1>; 305 cell-index = <3>; 306 device_type = "network 307 model = "eTSEC"; 308 compatible = "gianfar" 309 reg = <0x27000 0x1000> 310 ranges = <0x0 0x27000 311 local-mac-address = [ 312 interrupts = <37 2 38 313 interrupt-parent = <&m 314 tbi-handle = <&tbi3>; 315 phy-handle = <&phy3>; 316 317 mdio@520 { 318 #address-cells 319 #size-cells = 320 compatible = " 321 reg = <0x520 0 322 323 tbi3: tbi-phy@ 324 reg = 325 device 326 }; 327 }; 328 }; 329 330 serial0: serial@4500 { 331 cell-index = <0>; 332 device_type = "serial" 333 compatible = "fsl,ns16 334 reg = <0x4500 0x100>; 335 clock-frequency = <0>; 336 current-speed = <11520 337 interrupts = <42 2>; 338 interrupt-parent = <&m 339 }; 340 341 serial1: serial@4600 { 342 cell-index = <1>; 343 device_type = "serial" 344 compatible = "fsl,ns16 345 reg = <0x4600 0x100>; 346 clock-frequency = <0>; 347 current-speed = <11520 348 interrupts = <42 2>; 349 interrupt-parent = <&m 350 }; 351 352 global-utilities@e0000 { 353 compatible = "fsl,mpc8 354 reg = <0xe0000 0x1000> 355 fsl,has-rstcr; 356 }; 357 358 mpic: pic@40000 { 359 interrupt-controller; 360 #address-cells = <0>; 361 #interrupt-cells = <2> 362 reg = <0x40000 0x40000 363 compatible = "chrp,ope 364 device_type = "open-pi 365 }; 366 }; 367 368 localbus@ef005000 { 369 compatible = "fsl,mpc8548-loca 370 "simple-bus"; 371 #address-cells = <2>; 372 #size-cells = <1>; 373 reg = <0xef005000 0x100>; 374 interrupt-parent = <&mpic>; 375 interrupts = <19 2>; 376 377 ranges = < 378 0 0x0 0xfc000000 0x040 379 1 0x0 0xf8000000 0x040 380 2 0x0 0xef800000 0x000 381 3 0x0 0xef840000 0x000 382 >; 383 384 nor-boot@0,0 { 385 #address-cells = <1>; 386 #size-cells = <1>; 387 compatible = "cfi-flas 388 reg = <0 0x0 0x4000000 389 bank-width = <2>; 390 391 partition@0 { 392 label = "Prima 393 reg = <0x00000 394 }; 395 partition@180000 { 396 label = "Secon 397 reg = <0x00180 398 }; 399 partition@300000 { 400 label = "User" 401 reg = <0x00300 402 }; 403 partition@3f80000 { 404 label = "Boot 405 reg = <0x03f80 406 }; 407 }; 408 409 nor-alternate@1,0 { 410 #address-cells = <1>; 411 #size-cells = <1>; 412 compatible = "cfi-flas 413 reg = <1 0x0 0x4000000 414 bank-width = <2>; 415 416 partition@0 { 417 label = "Files 418 reg = <0x00000 419 }; 420 partition@3f80000 { 421 label = "Alter 422 reg = <0x03f80 423 }; 424 }; 425 426 nand@2,0 { 427 #address-cells = <1>; 428 #size-cells = <1>; 429 compatible = "xes,addr 430 reg = <2 0x0 0x10000>; 431 cle-line = <0x8>; 432 ale-line = <0x10>; 433 434 /* U-Boot should fix t 435 partition@0 { 436 label = "NAND 437 reg = <0 0x400 438 }; 439 }; 440 }; 441 442 /* PMC interface */ 443 pci0: pci@ef008000 { 444 #interrupt-cells = <1>; 445 #size-cells = <2>; 446 #address-cells = <3>; 447 compatible = "fsl,mpc8540-pcix 448 device_type = "pci"; 449 reg = <0xef008000 0x1000>; 450 clock-frequency = <33333333>; 451 interrupt-map-mask = <0xf800 0 452 interrupt-map = < 453 /* IDSEL */ 454 0xe000 0 0 1 455 0xe000 0 0 2 456 457 interrupt-parent = <&mpic>; 458 interrupts = <24 2>; 459 bus-range = <0 0>; 460 ranges = <0x02000000 0 0x80000 461 0x01000000 0 0x00000 462 }; 463 464 /* XMC PCIe is not yet enabled in U-Bo 465 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.