Loading...
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 | /* * Device Tree Source for FSP2 * * Copyright 2010,2012 IBM Corp. * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without * any warranty of any kind, whether express or implied. */ /dts-v1/; / { #address-cells = <2>; #size-cells = <1>; model = "ibm,fsp2"; compatible = "ibm,fsp2"; dcr-parent = <&{/cpus/cpu@0}>; aliases { ethernet0 = &EMAC0; ethernet1 = &EMAC1; serial0 = &UART0; }; cpus { #address-cells = <1>; #size-cells = <0>; cpu@0 { device_type = "cpu"; model = "PowerPC, 476FSP2"; reg = <0x0>; clock-frequency = <0>; /* Filled in by cuboot */ timebase-frequency = <0>; /* Filled in by cuboot */ i-cache-line-size = <32>; d-cache-line-size = <32>; d-cache-size = <32768>; i-cache-size = <32768>; dcr-controller; dcr-access-method = "native"; }; }; memory { device_type = "memory"; reg = <0x00000000 0x00000000 0x00000000>; /* Filled in by cuboot */ }; clocks { mmc_clk: mmc_clk { compatible = "fixed-clock"; #clock-cells = <0>; clock-frequency = <50000000>; clock-output-names = "mmc_clk"; }; }; UIC0: uic0 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <0>; dcr-reg = <0x2c0 0x8>; }; /* "interrupts" field is <bit level bit level> first pair is non-critical, second is critical */ UIC1_0: uic1_0 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <1>; dcr-reg = <0x2c8 0x8>; interrupt-parent = <&UIC0>; interrupts = <21 0x4 4 0x84>; }; /* PSI and DMA */ UIC1_1: uic1_1 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <2>; dcr-reg = <0x350 0x8>; interrupt-parent = <&UIC0>; interrupts = <22 0x4 5 0x84>; }; /* Ethernet and USB */ UIC1_2: uic1_2 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <3>; dcr-reg = <0x358 0x8>; interrupt-parent = <&UIC0>; interrupts = <23 0x4 6 0x84>; }; /* PLB Errors */ UIC1_3: uic1_3 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <4>; dcr-reg = <0x360 0x8>; interrupt-parent = <&UIC0>; interrupts = <24 0x4 7 0x84>; }; UIC1_4: uic1_4 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <5>; dcr-reg = <0x368 0x8>; interrupt-parent = <&UIC0>; interrupts = <25 0x4 8 0x84>; }; UIC1_5: uic1_5 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <6>; dcr-reg = <0x370 0x8>; interrupt-parent = <&UIC0>; interrupts = <26 0x4 9 0x84>; }; /* 2nd level UICs for FSI */ UIC2_0: uic2_0 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <7>; dcr-reg = <0x2d0 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <16 0x4 0 0x84>; }; UIC2_1: uic2_1 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <8>; dcr-reg = <0x2d8 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <17 0x4 1 0x84>; }; UIC2_2: uic2_2 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <9>; dcr-reg = <0x2e0 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <18 0x4 2 0x84>; }; UIC2_3: uic2_3 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <10>; dcr-reg = <0x2e8 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <19 0x4 3 0x84>; }; UIC2_4: uic2_4 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <11>; dcr-reg = <0x2f0 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <20 0x4 4 0x84>; }; UIC2_5: uic2_5 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <12>; dcr-reg = <0x2f8 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <21 0x4 5 0x84>; }; UIC2_6: uic2_6 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <13>; dcr-reg = <0x300 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <22 0x4 6 0x84>; }; UIC2_7: uic2_7 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <14>; dcr-reg = <0x308 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <23 0x4 7 0x84>; }; UIC2_8: uic2_8 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <15>; dcr-reg = <0x310 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <24 0x4 8 0x84>; }; UIC2_9: uic2_9 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <16>; dcr-reg = <0x318 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <25 0x4 9 0x84>; }; UIC2_10: uic2_10 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <17>; dcr-reg = <0x320 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <26 0x4 10 0x84>; }; UIC2_11: uic2_11 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <18>; dcr-reg = <0x328 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <27 0x4 11 0x84>; }; UIC2_12: uic2_12 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <19>; dcr-reg = <0x330 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <28 0x4 12 0x84>; }; UIC2_13: uic2_13 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <20>; dcr-reg = <0x338 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <29 0x4 13 0x84>; }; UIC2_14: uic2_14 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <21>; dcr-reg = <0x340 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <30 0x4 14 0x84>; }; UIC2_15: uic2_15 { #address-cells = <0>; #size-cells = <0>; #interrupt-cells = <2>; compatible = "ibm,uic"; interrupt-controller; cell-index = <22>; dcr-reg = <0x348 0x8>; interrupt-parent = <&UIC1_0>; interrupts = <31 0x4 15 0x84>; }; plb6 { compatible = "ibm,plb6"; #address-cells = <2>; #size-cells = <1>; ranges; MCW0: memory-controller-wrapper { compatible = "ibm,cw-476fsp2"; dcr-reg = <0x11111800 0x40>; }; MCIF0: memory-controller { compatible = "ibm,sdram-476fsp2", "ibm,sdram-4xx-ddr3"; dcr-reg = <0x11120000 0x10000>; mcer-device = <&MCW0>; interrupt-parent = <&UIC0>; interrupts = <10 0x84 /* ECC UE */ 11 0x84>; /* ECC CE */ }; }; plb4 { compatible = "ibm,plb4"; #address-cells = <1>; #size-cells = <1>; ranges = <0x00000000 0x00000010 0x00000000 0x80000000 0x80000000 0x00000010 0x80000000 0x80000000>; clock-frequency = <333333334>; plb6-system-hung-irq { compatible = "ibm,bus-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <0 0x84>; }; l2-error-irq { compatible = "ibm,bus-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <20 0x84>; }; plb6-plb4-irq { compatible = "ibm,bus-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <1 0x84>; }; plb4-ahb-irq { compatible = "ibm,bus-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC1_3>; interrupts = <20 0x84>; }; opbd-error-irq { compatible = "ibm,opbd-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC1_4>; interrupts = <5 0x84>; }; cmu-error-irq { compatible = "ibm,cmu-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <28 0x84>; }; conf-error-irq { compatible = "ibm,conf-error-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC1_4>; interrupts = <11 0x84>; }; mc-ue-irq { compatible = "ibm,mc-ue-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <10 0x84>; }; reset-warning-irq { compatible = "ibm,reset-warning-irq"; #interrupt-cells = <2>; interrupt-parent = <&UIC0>; interrupts = <17 0x84>; }; MAL0: mcmal0 { #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; compatible = "ibm,mcmal"; dcr-reg = <0x80 0x80>; num-tx-chans = <1>; num-rx-chans = <1>; interrupt-parent = <&MAL0>; interrupts = <0 1 2 3 4>; /* index interrupt-parent interrupt# type */ interrupt-map = </*TXEOB*/ 0 &UIC1_2 4 0x4 /*RXEOB*/ 1 &UIC1_2 3 0x4 /*SERR*/ 2 &UIC1_2 7 0x4 /*TXDE*/ 3 &UIC1_2 6 0x4 /*RXDE*/ 4 &UIC1_2 5 0x4>; }; MAL1: mcmal1 { #interrupt-cells = <1>; #address-cells = <0>; #size-cells = <0>; compatible = "ibm,mcmal"; dcr-reg = <0x100 0x80>; num-tx-chans = <1>; num-rx-chans = <1>; interrupt-parent = <&MAL1>; interrupts = <0 1 2 3 4>; /* index interrupt-parent interrupt# type */ interrupt-map = </*TXEOB*/ 0 &UIC1_2 12 0x4 /*RXEOB*/ 1 &UIC1_2 11 0x4 /*SERR*/ 2 &UIC1_2 15 0x4 /*TXDE*/ 3 &UIC1_2 14 0x4 /*RXDE*/ 4 &UIC1_2 13 0x4>; }; mmc0: mmc@20c0000 { compatible = "st,sdhci-stih407", "st,sdhci"; reg = <0x020c0000 0x20000>; reg-names = "mmc"; interrupts = <21 0x4>; interrupt-parent = <&UIC1_3>; interrupt-names = "mmcirq"; pinctrl-names = "default"; pinctrl-0 = <>; clock-names = "mmc"; clocks = <&mmc_clk>; bus-width = <4>; non-removable; sd-uhs-sdr50; sd-uhs-sdr104; sd-uhs-ddr50; }; opb { compatible = "ibm,opb"; #address-cells = <1>; #size-cells = <1>; ranges; // pass-thru to parent bus clock-frequency = <83333334>; EMAC0: ethernet@b0000000 { linux,network-index = <0>; device_type = "network"; compatible = "ibm,emac4sync"; has-inverted-stacr-oc; interrupt-parent = <&UIC1_2>; interrupts = <1 0x4 0 0x4>; reg = <0xb0000000 0x100>; local-mac-address = [000000000000]; /* Filled in by cuboot */ mal-device = <&MAL0>; mal-tx-channel = <0>; mal-rx-channel = <0>; cell-index = <0>; max-frame-size = <1500>; rx-fifo-size = <4096>; tx-fifo-size = <4096>; rx-fifo-size-gige = <16384>; tx-fifo-size-gige = <8192>; phy-address = <1>; phy-mode = "rgmii"; phy-map = <00000003>; rgmii-device = <&RGMII>; rgmii-channel = <0>; }; EMAC1: ethernet@b0000100 { linux,network-index = <1>; device_type = "network"; compatible = "ibm,emac4sync"; has-inverted-stacr-oc; interrupt-parent = <&UIC1_2>; interrupts = <9 0x4 8 0x4>; reg = <0xb0000100 0x100>; local-mac-address = [000000000000]; /* Filled in by cuboot */ mal-device = <&MAL1>; mal-tx-channel = <0>; mal-rx-channel = <0>; cell-index = <1>; max-frame-size = <1500>; rx-fifo-size = <4096>; tx-fifo-size = <4096>; rx-fifo-size-gige = <16384>; tx-fifo-size-gige = <8192>; phy-address = <2>; phy-mode = "rgmii"; phy-map = <00000003>; rgmii-device = <&RGMII>; rgmii-channel = <1>; }; RGMII: rgmii@b0000600 { compatible = "ibm,rgmii"; has-mdio; reg = <0xb0000600 0x8>; }; UART0: serial@b0020000 { device_type = "serial"; compatible = "ns16550"; reg = <0xb0020000 0x8>; virtual-reg = <0xb0020000>; clock-frequency = <20833333>; current-speed = <115200>; interrupt-parent = <&UIC0>; interrupts = <31 0x4>; }; }; OHCI1: ohci@2040000 { compatible = "ohci-le"; reg = <0x02040000 0xa0>; interrupt-parent = <&UIC1_3>; interrupts = <28 0x8 29 0x8>; }; OHCI2: ohci@2080000 { compatible = "ohci-le"; reg = <0x02080000 0xa0>; interrupt-parent = <&UIC1_3>; interrupts = <30 0x8 31 0x8>; }; EHCI: ehci@2000000 { compatible = "usb-ehci"; reg = <0x02000000 0xa4>; interrupt-parent = <&UIC1_3>; interrupts = <23 0x4>; }; }; chosen { stdout-path = "/plb/opb/serial@b0020000"; bootargs = "console=ttyS0,115200 rw log_buf_len=32768 debug"; }; }; |