| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Hisilicon Ltd. HiP04 SoC |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * Copyright (C) 2013-2014 Linaro Ltd. |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Author: Haojian Zhuang <haojian.zhuang@linaro.org> |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 10 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 11 | | - * published by the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | / { |
|---|
| .. | .. |
|---|
| 216 | 213 | }; |
|---|
| 217 | 214 | |
|---|
| 218 | 215 | sysctrl: sysctrl { |
|---|
| 219 | | - compatible = "hisilicon,sysctrl"; |
|---|
| 216 | + compatible = "hisilicon,sysctrl", "syscon"; |
|---|
| 220 | 217 | reg = <0x3e00000 0x00100000>; |
|---|
| 221 | 218 | }; |
|---|
| 222 | 219 | |
|---|
| .. | .. |
|---|
| 229 | 226 | compatible = "arm,sp804", "arm,primecell"; |
|---|
| 230 | 227 | reg = <0x3000000 0x1000>; |
|---|
| 231 | 228 | interrupts = <0 224 4>; |
|---|
| 232 | | - clocks = <&clk_50m>, <&clk_50m>; |
|---|
| 233 | | - clock-names = "apb_pclk"; |
|---|
| 229 | + clocks = <&clk_50m>, <&clk_50m>, <&clk_50m>; |
|---|
| 230 | + clock-names = "timer0clk", "timer1clk", "apb_pclk"; |
|---|
| 234 | 231 | }; |
|---|
| 235 | 232 | |
|---|
| 236 | 233 | arm-pmu { |
|---|
| .. | .. |
|---|
| 277 | 274 | |
|---|
| 278 | 275 | clocks = <&clk_375m>; |
|---|
| 279 | 276 | clock-names = "apb_pclk"; |
|---|
| 280 | | - port { |
|---|
| 281 | | - etb0_in_port: endpoint@0 { |
|---|
| 282 | | - slave-mode; |
|---|
| 283 | | - remote-endpoint = <&replicator0_out_port0>; |
|---|
| 277 | + in-ports { |
|---|
| 278 | + port { |
|---|
| 279 | + etb0_in_port: endpoint@0 { |
|---|
| 280 | + remote-endpoint = <&replicator0_out_port0>; |
|---|
| 281 | + }; |
|---|
| 284 | 282 | }; |
|---|
| 285 | 283 | }; |
|---|
| 286 | 284 | }; |
|---|
| .. | .. |
|---|
| 291 | 289 | |
|---|
| 292 | 290 | clocks = <&clk_375m>; |
|---|
| 293 | 291 | clock-names = "apb_pclk"; |
|---|
| 294 | | - port { |
|---|
| 295 | | - etb1_in_port: endpoint@0 { |
|---|
| 296 | | - slave-mode; |
|---|
| 297 | | - remote-endpoint = <&replicator1_out_port0>; |
|---|
| 292 | + in-ports { |
|---|
| 293 | + port { |
|---|
| 294 | + etb1_in_port: endpoint@0 { |
|---|
| 295 | + remote-endpoint = <&replicator1_out_port0>; |
|---|
| 296 | + }; |
|---|
| 298 | 297 | }; |
|---|
| 299 | 298 | }; |
|---|
| 300 | 299 | }; |
|---|
| .. | .. |
|---|
| 305 | 304 | |
|---|
| 306 | 305 | clocks = <&clk_375m>; |
|---|
| 307 | 306 | clock-names = "apb_pclk"; |
|---|
| 308 | | - port { |
|---|
| 309 | | - etb2_in_port: endpoint@0 { |
|---|
| 310 | | - slave-mode; |
|---|
| 311 | | - remote-endpoint = <&replicator2_out_port0>; |
|---|
| 307 | + in-ports { |
|---|
| 308 | + port { |
|---|
| 309 | + etb2_in_port: endpoint@0 { |
|---|
| 310 | + remote-endpoint = <&replicator2_out_port0>; |
|---|
| 311 | + }; |
|---|
| 312 | 312 | }; |
|---|
| 313 | 313 | }; |
|---|
| 314 | 314 | }; |
|---|
| .. | .. |
|---|
| 319 | 319 | |
|---|
| 320 | 320 | clocks = <&clk_375m>; |
|---|
| 321 | 321 | clock-names = "apb_pclk"; |
|---|
| 322 | | - port { |
|---|
| 323 | | - etb3_in_port: endpoint@0 { |
|---|
| 324 | | - slave-mode; |
|---|
| 325 | | - remote-endpoint = <&replicator3_out_port0>; |
|---|
| 322 | + in-ports { |
|---|
| 323 | + port { |
|---|
| 324 | + etb3_in_port: endpoint@0 { |
|---|
| 325 | + remote-endpoint = <&replicator3_out_port0>; |
|---|
| 326 | + }; |
|---|
| 326 | 327 | }; |
|---|
| 327 | 328 | }; |
|---|
| 328 | 329 | }; |
|---|
| .. | .. |
|---|
| 333 | 334 | |
|---|
| 334 | 335 | clocks = <&clk_375m>; |
|---|
| 335 | 336 | clock-names = "apb_pclk"; |
|---|
| 336 | | - port { |
|---|
| 337 | | - tpiu_in_port: endpoint@0 { |
|---|
| 338 | | - slave-mode; |
|---|
| 339 | | - remote-endpoint = <&funnel4_out_port0>; |
|---|
| 337 | + in-ports { |
|---|
| 338 | + port { |
|---|
| 339 | + tpiu_in_port: endpoint@0 { |
|---|
| 340 | + remote-endpoint = <&funnel4_out_port0>; |
|---|
| 341 | + }; |
|---|
| 340 | 342 | }; |
|---|
| 341 | 343 | }; |
|---|
| 342 | 344 | }; |
|---|
| .. | .. |
|---|
| 345 | 347 | /* non-configurable replicators don't show up on the |
|---|
| 346 | 348 | * AMBA bus. As such no need to add "arm,primecell". |
|---|
| 347 | 349 | */ |
|---|
| 348 | | - compatible = "arm,coresight-replicator"; |
|---|
| 350 | + compatible = "arm,coresight-static-replicator"; |
|---|
| 349 | 351 | |
|---|
| 350 | | - ports { |
|---|
| 352 | + out-ports { |
|---|
| 351 | 353 | #address-cells = <1>; |
|---|
| 352 | 354 | #size-cells = <0>; |
|---|
| 353 | 355 | |
|---|
| .. | .. |
|---|
| 365 | 367 | remote-endpoint = <&funnel4_in_port0>; |
|---|
| 366 | 368 | }; |
|---|
| 367 | 369 | }; |
|---|
| 370 | + }; |
|---|
| 368 | 371 | |
|---|
| 369 | | - /* replicator input port */ |
|---|
| 370 | | - port@2 { |
|---|
| 371 | | - reg = <0>; |
|---|
| 372 | + in-ports { |
|---|
| 373 | + port { |
|---|
| 372 | 374 | replicator0_in_port0: endpoint { |
|---|
| 373 | | - slave-mode; |
|---|
| 374 | 375 | remote-endpoint = <&funnel0_out_port0>; |
|---|
| 375 | 376 | }; |
|---|
| 376 | 377 | }; |
|---|
| .. | .. |
|---|
| 381 | 382 | /* non-configurable replicators don't show up on the |
|---|
| 382 | 383 | * AMBA bus. As such no need to add "arm,primecell". |
|---|
| 383 | 384 | */ |
|---|
| 384 | | - compatible = "arm,coresight-replicator"; |
|---|
| 385 | + compatible = "arm,coresight-static-replicator"; |
|---|
| 385 | 386 | |
|---|
| 386 | | - ports { |
|---|
| 387 | + out-ports { |
|---|
| 387 | 388 | #address-cells = <1>; |
|---|
| 388 | 389 | #size-cells = <0>; |
|---|
| 389 | 390 | |
|---|
| .. | .. |
|---|
| 401 | 402 | remote-endpoint = <&funnel4_in_port1>; |
|---|
| 402 | 403 | }; |
|---|
| 403 | 404 | }; |
|---|
| 405 | + }; |
|---|
| 404 | 406 | |
|---|
| 405 | | - /* replicator input port */ |
|---|
| 406 | | - port@2 { |
|---|
| 407 | | - reg = <0>; |
|---|
| 407 | + in-ports { |
|---|
| 408 | + port { |
|---|
| 408 | 409 | replicator1_in_port0: endpoint { |
|---|
| 409 | | - slave-mode; |
|---|
| 410 | 410 | remote-endpoint = <&funnel1_out_port0>; |
|---|
| 411 | 411 | }; |
|---|
| 412 | 412 | }; |
|---|
| .. | .. |
|---|
| 417 | 417 | /* non-configurable replicators don't show up on the |
|---|
| 418 | 418 | * AMBA bus. As such no need to add "arm,primecell". |
|---|
| 419 | 419 | */ |
|---|
| 420 | | - compatible = "arm,coresight-replicator"; |
|---|
| 420 | + compatible = "arm,coresight-static-replicator"; |
|---|
| 421 | 421 | |
|---|
| 422 | | - ports { |
|---|
| 422 | + out-ports { |
|---|
| 423 | 423 | #address-cells = <1>; |
|---|
| 424 | 424 | #size-cells = <0>; |
|---|
| 425 | 425 | |
|---|
| 426 | | - /* replicator output ports */ |
|---|
| 427 | 426 | port@0 { |
|---|
| 428 | 427 | reg = <0>; |
|---|
| 429 | 428 | replicator2_out_port0: endpoint { |
|---|
| .. | .. |
|---|
| 437 | 436 | remote-endpoint = <&funnel4_in_port2>; |
|---|
| 438 | 437 | }; |
|---|
| 439 | 438 | }; |
|---|
| 439 | + }; |
|---|
| 440 | 440 | |
|---|
| 441 | | - /* replicator input port */ |
|---|
| 442 | | - port@2 { |
|---|
| 443 | | - reg = <0>; |
|---|
| 441 | + in-ports { |
|---|
| 442 | + port { |
|---|
| 444 | 443 | replicator2_in_port0: endpoint { |
|---|
| 445 | | - slave-mode; |
|---|
| 446 | 444 | remote-endpoint = <&funnel2_out_port0>; |
|---|
| 447 | 445 | }; |
|---|
| 448 | 446 | }; |
|---|
| .. | .. |
|---|
| 453 | 451 | /* non-configurable replicators don't show up on the |
|---|
| 454 | 452 | * AMBA bus. As such no need to add "arm,primecell". |
|---|
| 455 | 453 | */ |
|---|
| 456 | | - compatible = "arm,coresight-replicator"; |
|---|
| 454 | + compatible = "arm,coresight-static-replicator"; |
|---|
| 457 | 455 | |
|---|
| 458 | | - ports { |
|---|
| 456 | + out-ports { |
|---|
| 459 | 457 | #address-cells = <1>; |
|---|
| 460 | 458 | #size-cells = <0>; |
|---|
| 461 | 459 | |
|---|
| 462 | | - /* replicator output ports */ |
|---|
| 463 | 460 | port@0 { |
|---|
| 464 | 461 | reg = <0>; |
|---|
| 465 | 462 | replicator3_out_port0: endpoint { |
|---|
| .. | .. |
|---|
| 473 | 470 | remote-endpoint = <&funnel4_in_port3>; |
|---|
| 474 | 471 | }; |
|---|
| 475 | 472 | }; |
|---|
| 473 | + }; |
|---|
| 476 | 474 | |
|---|
| 477 | | - /* replicator input port */ |
|---|
| 478 | | - port@2 { |
|---|
| 479 | | - reg = <0>; |
|---|
| 475 | + in-ports { |
|---|
| 476 | + port { |
|---|
| 480 | 477 | replicator3_in_port0: endpoint { |
|---|
| 481 | | - slave-mode; |
|---|
| 482 | 478 | remote-endpoint = <&funnel3_out_port0>; |
|---|
| 483 | 479 | }; |
|---|
| 484 | 480 | }; |
|---|
| .. | .. |
|---|
| 486 | 482 | }; |
|---|
| 487 | 483 | |
|---|
| 488 | 484 | funnel@0,e3c41000 { |
|---|
| 489 | | - compatible = "arm,coresight-funnel", "arm,primecell"; |
|---|
| 485 | + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
|---|
| 490 | 486 | reg = <0 0xe3c41000 0 0x1000>; |
|---|
| 491 | 487 | |
|---|
| 492 | 488 | clocks = <&clk_375m>; |
|---|
| 493 | 489 | clock-names = "apb_pclk"; |
|---|
| 494 | | - ports { |
|---|
| 495 | | - #address-cells = <1>; |
|---|
| 496 | | - #size-cells = <0>; |
|---|
| 497 | | - |
|---|
| 498 | | - /* funnel output port */ |
|---|
| 499 | | - port@0 { |
|---|
| 500 | | - reg = <0>; |
|---|
| 490 | + out-ports { |
|---|
| 491 | + port { |
|---|
| 501 | 492 | funnel0_out_port0: endpoint { |
|---|
| 502 | 493 | remote-endpoint = |
|---|
| 503 | 494 | <&replicator0_in_port0>; |
|---|
| 504 | 495 | }; |
|---|
| 505 | 496 | }; |
|---|
| 497 | + }; |
|---|
| 506 | 498 | |
|---|
| 507 | | - /* funnel input ports */ |
|---|
| 508 | | - port@1 { |
|---|
| 499 | + in-ports { |
|---|
| 500 | + #address-cells = <1>; |
|---|
| 501 | + #size-cells = <0>; |
|---|
| 502 | + |
|---|
| 503 | + port@0 { |
|---|
| 509 | 504 | reg = <0>; |
|---|
| 510 | 505 | funnel0_in_port0: endpoint { |
|---|
| 511 | | - slave-mode; |
|---|
| 512 | 506 | remote-endpoint = <&ptm0_out_port>; |
|---|
| 513 | 507 | }; |
|---|
| 514 | 508 | }; |
|---|
| 515 | 509 | |
|---|
| 516 | | - port@2 { |
|---|
| 510 | + port@1 { |
|---|
| 517 | 511 | reg = <1>; |
|---|
| 518 | 512 | funnel0_in_port1: endpoint { |
|---|
| 519 | | - slave-mode; |
|---|
| 520 | 513 | remote-endpoint = <&ptm1_out_port>; |
|---|
| 521 | 514 | }; |
|---|
| 522 | 515 | }; |
|---|
| 523 | 516 | |
|---|
| 524 | | - port@3 { |
|---|
| 517 | + port@2 { |
|---|
| 525 | 518 | reg = <2>; |
|---|
| 526 | 519 | funnel0_in_port2: endpoint { |
|---|
| 527 | | - slave-mode; |
|---|
| 528 | 520 | remote-endpoint = <&ptm2_out_port>; |
|---|
| 529 | 521 | }; |
|---|
| 530 | 522 | }; |
|---|
| 531 | 523 | |
|---|
| 532 | | - port@4 { |
|---|
| 524 | + port@3 { |
|---|
| 533 | 525 | reg = <3>; |
|---|
| 534 | 526 | funnel0_in_port3: endpoint { |
|---|
| 535 | | - slave-mode; |
|---|
| 536 | 527 | remote-endpoint = <&ptm3_out_port>; |
|---|
| 537 | 528 | }; |
|---|
| 538 | 529 | }; |
|---|
| .. | .. |
|---|
| 540 | 531 | }; |
|---|
| 541 | 532 | |
|---|
| 542 | 533 | funnel@0,e3c81000 { |
|---|
| 543 | | - compatible = "arm,coresight-funnel", "arm,primecell"; |
|---|
| 534 | + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
|---|
| 544 | 535 | reg = <0 0xe3c81000 0 0x1000>; |
|---|
| 545 | 536 | |
|---|
| 546 | 537 | clocks = <&clk_375m>; |
|---|
| 547 | 538 | clock-names = "apb_pclk"; |
|---|
| 548 | | - ports { |
|---|
| 549 | | - #address-cells = <1>; |
|---|
| 550 | | - #size-cells = <0>; |
|---|
| 551 | | - |
|---|
| 552 | | - /* funnel output port */ |
|---|
| 553 | | - port@0 { |
|---|
| 554 | | - reg = <0>; |
|---|
| 539 | + out-ports { |
|---|
| 540 | + port { |
|---|
| 555 | 541 | funnel1_out_port0: endpoint { |
|---|
| 556 | 542 | remote-endpoint = |
|---|
| 557 | 543 | <&replicator1_in_port0>; |
|---|
| 558 | 544 | }; |
|---|
| 559 | 545 | }; |
|---|
| 546 | + }; |
|---|
| 560 | 547 | |
|---|
| 561 | | - /* funnel input ports */ |
|---|
| 562 | | - port@1 { |
|---|
| 548 | + in-ports { |
|---|
| 549 | + #address-cells = <1>; |
|---|
| 550 | + #size-cells = <0>; |
|---|
| 551 | + |
|---|
| 552 | + port@0 { |
|---|
| 563 | 553 | reg = <0>; |
|---|
| 564 | 554 | funnel1_in_port0: endpoint { |
|---|
| 565 | | - slave-mode; |
|---|
| 566 | 555 | remote-endpoint = <&ptm4_out_port>; |
|---|
| 567 | 556 | }; |
|---|
| 568 | 557 | }; |
|---|
| 569 | 558 | |
|---|
| 570 | | - port@2 { |
|---|
| 559 | + port@1 { |
|---|
| 571 | 560 | reg = <1>; |
|---|
| 572 | 561 | funnel1_in_port1: endpoint { |
|---|
| 573 | | - slave-mode; |
|---|
| 574 | 562 | remote-endpoint = <&ptm5_out_port>; |
|---|
| 575 | 563 | }; |
|---|
| 576 | 564 | }; |
|---|
| 577 | 565 | |
|---|
| 578 | | - port@3 { |
|---|
| 566 | + port@2 { |
|---|
| 579 | 567 | reg = <2>; |
|---|
| 580 | 568 | funnel1_in_port2: endpoint { |
|---|
| 581 | | - slave-mode; |
|---|
| 582 | 569 | remote-endpoint = <&ptm6_out_port>; |
|---|
| 583 | 570 | }; |
|---|
| 584 | 571 | }; |
|---|
| 585 | 572 | |
|---|
| 586 | | - port@4 { |
|---|
| 573 | + port@3 { |
|---|
| 587 | 574 | reg = <3>; |
|---|
| 588 | 575 | funnel1_in_port3: endpoint { |
|---|
| 589 | | - slave-mode; |
|---|
| 590 | 576 | remote-endpoint = <&ptm7_out_port>; |
|---|
| 591 | 577 | }; |
|---|
| 592 | 578 | }; |
|---|
| .. | .. |
|---|
| 594 | 580 | }; |
|---|
| 595 | 581 | |
|---|
| 596 | 582 | funnel@0,e3cc1000 { |
|---|
| 597 | | - compatible = "arm,coresight-funnel", "arm,primecell"; |
|---|
| 583 | + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
|---|
| 598 | 584 | reg = <0 0xe3cc1000 0 0x1000>; |
|---|
| 599 | 585 | |
|---|
| 600 | 586 | clocks = <&clk_375m>; |
|---|
| 601 | 587 | clock-names = "apb_pclk"; |
|---|
| 602 | | - ports { |
|---|
| 603 | | - #address-cells = <1>; |
|---|
| 604 | | - #size-cells = <0>; |
|---|
| 605 | | - |
|---|
| 606 | | - /* funnel output port */ |
|---|
| 607 | | - port@0 { |
|---|
| 608 | | - reg = <0>; |
|---|
| 588 | + out-ports { |
|---|
| 589 | + port { |
|---|
| 609 | 590 | funnel2_out_port0: endpoint { |
|---|
| 610 | 591 | remote-endpoint = |
|---|
| 611 | 592 | <&replicator2_in_port0>; |
|---|
| 612 | 593 | }; |
|---|
| 613 | 594 | }; |
|---|
| 595 | + }; |
|---|
| 614 | 596 | |
|---|
| 615 | | - /* funnel input ports */ |
|---|
| 616 | | - port@1 { |
|---|
| 597 | + in-ports { |
|---|
| 598 | + #address-cells = <1>; |
|---|
| 599 | + #size-cells = <0>; |
|---|
| 600 | + |
|---|
| 601 | + port@0 { |
|---|
| 617 | 602 | reg = <0>; |
|---|
| 618 | 603 | funnel2_in_port0: endpoint { |
|---|
| 619 | | - slave-mode; |
|---|
| 620 | 604 | remote-endpoint = <&ptm8_out_port>; |
|---|
| 621 | 605 | }; |
|---|
| 622 | 606 | }; |
|---|
| 623 | 607 | |
|---|
| 624 | | - port@2 { |
|---|
| 608 | + port@1 { |
|---|
| 625 | 609 | reg = <1>; |
|---|
| 626 | 610 | funnel2_in_port1: endpoint { |
|---|
| 627 | | - slave-mode; |
|---|
| 628 | 611 | remote-endpoint = <&ptm9_out_port>; |
|---|
| 629 | 612 | }; |
|---|
| 630 | 613 | }; |
|---|
| 631 | 614 | |
|---|
| 632 | | - port@3 { |
|---|
| 615 | + port@2 { |
|---|
| 633 | 616 | reg = <2>; |
|---|
| 634 | 617 | funnel2_in_port2: endpoint { |
|---|
| 635 | | - slave-mode; |
|---|
| 636 | 618 | remote-endpoint = <&ptm10_out_port>; |
|---|
| 637 | 619 | }; |
|---|
| 638 | 620 | }; |
|---|
| 639 | 621 | |
|---|
| 640 | | - port@4 { |
|---|
| 622 | + port@3 { |
|---|
| 641 | 623 | reg = <3>; |
|---|
| 642 | 624 | funnel2_in_port3: endpoint { |
|---|
| 643 | | - slave-mode; |
|---|
| 644 | 625 | remote-endpoint = <&ptm11_out_port>; |
|---|
| 645 | 626 | }; |
|---|
| 646 | 627 | }; |
|---|
| .. | .. |
|---|
| 648 | 629 | }; |
|---|
| 649 | 630 | |
|---|
| 650 | 631 | funnel@0,e3d01000 { |
|---|
| 651 | | - compatible = "arm,coresight-funnel", "arm,primecell"; |
|---|
| 632 | + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
|---|
| 652 | 633 | reg = <0 0xe3d01000 0 0x1000>; |
|---|
| 653 | 634 | |
|---|
| 654 | 635 | clocks = <&clk_375m>; |
|---|
| 655 | 636 | clock-names = "apb_pclk"; |
|---|
| 656 | | - ports { |
|---|
| 657 | | - #address-cells = <1>; |
|---|
| 658 | | - #size-cells = <0>; |
|---|
| 659 | | - |
|---|
| 660 | | - /* funnel output port */ |
|---|
| 661 | | - port@0 { |
|---|
| 662 | | - reg = <0>; |
|---|
| 637 | + out-ports { |
|---|
| 638 | + port { |
|---|
| 663 | 639 | funnel3_out_port0: endpoint { |
|---|
| 664 | 640 | remote-endpoint = |
|---|
| 665 | 641 | <&replicator3_in_port0>; |
|---|
| 666 | 642 | }; |
|---|
| 667 | 643 | }; |
|---|
| 644 | + }; |
|---|
| 668 | 645 | |
|---|
| 669 | | - /* funnel input ports */ |
|---|
| 670 | | - port@1 { |
|---|
| 646 | + in-ports { |
|---|
| 647 | + #address-cells = <1>; |
|---|
| 648 | + #size-cells = <0>; |
|---|
| 649 | + |
|---|
| 650 | + port@0 { |
|---|
| 671 | 651 | reg = <0>; |
|---|
| 672 | 652 | funnel3_in_port0: endpoint { |
|---|
| 673 | | - slave-mode; |
|---|
| 674 | 653 | remote-endpoint = <&ptm12_out_port>; |
|---|
| 675 | 654 | }; |
|---|
| 676 | 655 | }; |
|---|
| 677 | 656 | |
|---|
| 678 | | - port@2 { |
|---|
| 657 | + port@1 { |
|---|
| 679 | 658 | reg = <1>; |
|---|
| 680 | 659 | funnel3_in_port1: endpoint { |
|---|
| 681 | | - slave-mode; |
|---|
| 682 | 660 | remote-endpoint = <&ptm13_out_port>; |
|---|
| 683 | 661 | }; |
|---|
| 684 | 662 | }; |
|---|
| 685 | 663 | |
|---|
| 686 | | - port@3 { |
|---|
| 664 | + port@2 { |
|---|
| 687 | 665 | reg = <2>; |
|---|
| 688 | 666 | funnel3_in_port2: endpoint { |
|---|
| 689 | | - slave-mode; |
|---|
| 690 | 667 | remote-endpoint = <&ptm14_out_port>; |
|---|
| 691 | 668 | }; |
|---|
| 692 | 669 | }; |
|---|
| 693 | 670 | |
|---|
| 694 | | - port@4 { |
|---|
| 671 | + port@3 { |
|---|
| 695 | 672 | reg = <3>; |
|---|
| 696 | 673 | funnel3_in_port3: endpoint { |
|---|
| 697 | | - slave-mode; |
|---|
| 698 | 674 | remote-endpoint = <&ptm15_out_port>; |
|---|
| 699 | 675 | }; |
|---|
| 700 | 676 | }; |
|---|
| .. | .. |
|---|
| 702 | 678 | }; |
|---|
| 703 | 679 | |
|---|
| 704 | 680 | funnel@0,e3c04000 { |
|---|
| 705 | | - compatible = "arm,coresight-funnel", "arm,primecell"; |
|---|
| 681 | + compatible = "arm,coresight-dynamic-funnel", "arm,primecell"; |
|---|
| 706 | 682 | reg = <0 0xe3c04000 0 0x1000>; |
|---|
| 707 | 683 | |
|---|
| 708 | 684 | clocks = <&clk_375m>; |
|---|
| 709 | 685 | clock-names = "apb_pclk"; |
|---|
| 710 | | - ports { |
|---|
| 711 | | - #address-cells = <1>; |
|---|
| 712 | | - #size-cells = <0>; |
|---|
| 713 | | - |
|---|
| 714 | | - /* funnel output port */ |
|---|
| 715 | | - port@0 { |
|---|
| 716 | | - reg = <0>; |
|---|
| 686 | + out-ports { |
|---|
| 687 | + port { |
|---|
| 717 | 688 | funnel4_out_port0: endpoint { |
|---|
| 718 | 689 | remote-endpoint = <&tpiu_in_port>; |
|---|
| 719 | 690 | }; |
|---|
| 720 | 691 | }; |
|---|
| 692 | + }; |
|---|
| 721 | 693 | |
|---|
| 722 | | - /* funnel input ports */ |
|---|
| 723 | | - port@1 { |
|---|
| 694 | + in-ports { |
|---|
| 695 | + #address-cells = <1>; |
|---|
| 696 | + #size-cells = <0>; |
|---|
| 697 | + |
|---|
| 698 | + port@0 { |
|---|
| 724 | 699 | reg = <0>; |
|---|
| 725 | 700 | funnel4_in_port0: endpoint { |
|---|
| 726 | | - slave-mode; |
|---|
| 727 | 701 | remote-endpoint = |
|---|
| 728 | 702 | <&replicator0_out_port1>; |
|---|
| 729 | 703 | }; |
|---|
| 730 | 704 | }; |
|---|
| 731 | 705 | |
|---|
| 732 | | - port@2 { |
|---|
| 706 | + port@1 { |
|---|
| 733 | 707 | reg = <1>; |
|---|
| 734 | 708 | funnel4_in_port1: endpoint { |
|---|
| 735 | | - slave-mode; |
|---|
| 736 | 709 | remote-endpoint = |
|---|
| 737 | 710 | <&replicator1_out_port1>; |
|---|
| 738 | 711 | }; |
|---|
| 739 | 712 | }; |
|---|
| 740 | 713 | |
|---|
| 741 | | - port@3 { |
|---|
| 714 | + port@2 { |
|---|
| 742 | 715 | reg = <2>; |
|---|
| 743 | 716 | funnel4_in_port2: endpoint { |
|---|
| 744 | | - slave-mode; |
|---|
| 745 | 717 | remote-endpoint = |
|---|
| 746 | 718 | <&replicator2_out_port1>; |
|---|
| 747 | 719 | }; |
|---|
| 748 | 720 | }; |
|---|
| 749 | 721 | |
|---|
| 750 | | - port@4 { |
|---|
| 722 | + port@3 { |
|---|
| 751 | 723 | reg = <3>; |
|---|
| 752 | 724 | funnel4_in_port3: endpoint { |
|---|
| 753 | | - slave-mode; |
|---|
| 754 | 725 | remote-endpoint = |
|---|
| 755 | 726 | <&replicator3_out_port1>; |
|---|
| 756 | 727 | }; |
|---|
| .. | .. |
|---|
| 765 | 736 | clocks = <&clk_375m>; |
|---|
| 766 | 737 | clock-names = "apb_pclk"; |
|---|
| 767 | 738 | cpu = <&CPU0>; |
|---|
| 768 | | - port { |
|---|
| 769 | | - ptm0_out_port: endpoint { |
|---|
| 770 | | - remote-endpoint = <&funnel0_in_port0>; |
|---|
| 739 | + out-ports { |
|---|
| 740 | + port { |
|---|
| 741 | + ptm0_out_port: endpoint { |
|---|
| 742 | + remote-endpoint = <&funnel0_in_port0>; |
|---|
| 743 | + }; |
|---|
| 771 | 744 | }; |
|---|
| 772 | 745 | }; |
|---|
| 773 | 746 | }; |
|---|
| .. | .. |
|---|
| 779 | 752 | clocks = <&clk_375m>; |
|---|
| 780 | 753 | clock-names = "apb_pclk"; |
|---|
| 781 | 754 | cpu = <&CPU1>; |
|---|
| 782 | | - port { |
|---|
| 783 | | - ptm1_out_port: endpoint { |
|---|
| 784 | | - remote-endpoint = <&funnel0_in_port1>; |
|---|
| 755 | + out-ports { |
|---|
| 756 | + port { |
|---|
| 757 | + ptm1_out_port: endpoint { |
|---|
| 758 | + remote-endpoint = <&funnel0_in_port1>; |
|---|
| 759 | + }; |
|---|
| 785 | 760 | }; |
|---|
| 786 | 761 | }; |
|---|
| 787 | 762 | }; |
|---|
| .. | .. |
|---|
| 793 | 768 | clocks = <&clk_375m>; |
|---|
| 794 | 769 | clock-names = "apb_pclk"; |
|---|
| 795 | 770 | cpu = <&CPU2>; |
|---|
| 796 | | - port { |
|---|
| 797 | | - ptm2_out_port: endpoint { |
|---|
| 798 | | - remote-endpoint = <&funnel0_in_port2>; |
|---|
| 771 | + out-ports { |
|---|
| 772 | + port { |
|---|
| 773 | + ptm2_out_port: endpoint { |
|---|
| 774 | + remote-endpoint = <&funnel0_in_port2>; |
|---|
| 775 | + }; |
|---|
| 799 | 776 | }; |
|---|
| 800 | 777 | }; |
|---|
| 801 | 778 | }; |
|---|
| .. | .. |
|---|
| 807 | 784 | clocks = <&clk_375m>; |
|---|
| 808 | 785 | clock-names = "apb_pclk"; |
|---|
| 809 | 786 | cpu = <&CPU3>; |
|---|
| 810 | | - port { |
|---|
| 811 | | - ptm3_out_port: endpoint { |
|---|
| 812 | | - remote-endpoint = <&funnel0_in_port3>; |
|---|
| 787 | + out-ports { |
|---|
| 788 | + port { |
|---|
| 789 | + ptm3_out_port: endpoint { |
|---|
| 790 | + remote-endpoint = <&funnel0_in_port3>; |
|---|
| 791 | + }; |
|---|
| 813 | 792 | }; |
|---|
| 814 | 793 | }; |
|---|
| 815 | 794 | }; |
|---|
| .. | .. |
|---|
| 821 | 800 | clocks = <&clk_375m>; |
|---|
| 822 | 801 | clock-names = "apb_pclk"; |
|---|
| 823 | 802 | cpu = <&CPU4>; |
|---|
| 824 | | - port { |
|---|
| 825 | | - ptm4_out_port: endpoint { |
|---|
| 826 | | - remote-endpoint = <&funnel1_in_port0>; |
|---|
| 803 | + out-ports { |
|---|
| 804 | + port { |
|---|
| 805 | + ptm4_out_port: endpoint { |
|---|
| 806 | + remote-endpoint = <&funnel1_in_port0>; |
|---|
| 807 | + }; |
|---|
| 827 | 808 | }; |
|---|
| 828 | 809 | }; |
|---|
| 829 | 810 | }; |
|---|
| .. | .. |
|---|
| 835 | 816 | clocks = <&clk_375m>; |
|---|
| 836 | 817 | clock-names = "apb_pclk"; |
|---|
| 837 | 818 | cpu = <&CPU5>; |
|---|
| 838 | | - port { |
|---|
| 839 | | - ptm5_out_port: endpoint { |
|---|
| 840 | | - remote-endpoint = <&funnel1_in_port1>; |
|---|
| 819 | + out-ports { |
|---|
| 820 | + port { |
|---|
| 821 | + ptm5_out_port: endpoint { |
|---|
| 822 | + remote-endpoint = <&funnel1_in_port1>; |
|---|
| 823 | + }; |
|---|
| 841 | 824 | }; |
|---|
| 842 | 825 | }; |
|---|
| 843 | 826 | }; |
|---|
| .. | .. |
|---|
| 849 | 832 | clocks = <&clk_375m>; |
|---|
| 850 | 833 | clock-names = "apb_pclk"; |
|---|
| 851 | 834 | cpu = <&CPU6>; |
|---|
| 852 | | - port { |
|---|
| 853 | | - ptm6_out_port: endpoint { |
|---|
| 854 | | - remote-endpoint = <&funnel1_in_port2>; |
|---|
| 835 | + out-ports { |
|---|
| 836 | + port { |
|---|
| 837 | + ptm6_out_port: endpoint { |
|---|
| 838 | + remote-endpoint = <&funnel1_in_port2>; |
|---|
| 839 | + }; |
|---|
| 855 | 840 | }; |
|---|
| 856 | 841 | }; |
|---|
| 857 | 842 | }; |
|---|
| .. | .. |
|---|
| 863 | 848 | clocks = <&clk_375m>; |
|---|
| 864 | 849 | clock-names = "apb_pclk"; |
|---|
| 865 | 850 | cpu = <&CPU7>; |
|---|
| 866 | | - port { |
|---|
| 867 | | - ptm7_out_port: endpoint { |
|---|
| 868 | | - remote-endpoint = <&funnel1_in_port3>; |
|---|
| 851 | + out-ports { |
|---|
| 852 | + port { |
|---|
| 853 | + ptm7_out_port: endpoint { |
|---|
| 854 | + remote-endpoint = <&funnel1_in_port3>; |
|---|
| 855 | + }; |
|---|
| 869 | 856 | }; |
|---|
| 870 | 857 | }; |
|---|
| 871 | 858 | }; |
|---|
| .. | .. |
|---|
| 877 | 864 | clocks = <&clk_375m>; |
|---|
| 878 | 865 | clock-names = "apb_pclk"; |
|---|
| 879 | 866 | cpu = <&CPU8>; |
|---|
| 880 | | - port { |
|---|
| 881 | | - ptm8_out_port: endpoint { |
|---|
| 882 | | - remote-endpoint = <&funnel2_in_port0>; |
|---|
| 867 | + out-ports { |
|---|
| 868 | + port { |
|---|
| 869 | + ptm8_out_port: endpoint { |
|---|
| 870 | + remote-endpoint = <&funnel2_in_port0>; |
|---|
| 871 | + }; |
|---|
| 883 | 872 | }; |
|---|
| 884 | 873 | }; |
|---|
| 885 | 874 | }; |
|---|
| .. | .. |
|---|
| 890 | 879 | clocks = <&clk_375m>; |
|---|
| 891 | 880 | clock-names = "apb_pclk"; |
|---|
| 892 | 881 | cpu = <&CPU9>; |
|---|
| 893 | | - port { |
|---|
| 894 | | - ptm9_out_port: endpoint { |
|---|
| 895 | | - remote-endpoint = <&funnel2_in_port1>; |
|---|
| 882 | + out-ports { |
|---|
| 883 | + port { |
|---|
| 884 | + ptm9_out_port: endpoint { |
|---|
| 885 | + remote-endpoint = <&funnel2_in_port1>; |
|---|
| 886 | + }; |
|---|
| 896 | 887 | }; |
|---|
| 897 | 888 | }; |
|---|
| 898 | 889 | }; |
|---|
| .. | .. |
|---|
| 904 | 895 | clocks = <&clk_375m>; |
|---|
| 905 | 896 | clock-names = "apb_pclk"; |
|---|
| 906 | 897 | cpu = <&CPU10>; |
|---|
| 907 | | - port { |
|---|
| 908 | | - ptm10_out_port: endpoint { |
|---|
| 909 | | - remote-endpoint = <&funnel2_in_port2>; |
|---|
| 898 | + out-ports { |
|---|
| 899 | + port { |
|---|
| 900 | + ptm10_out_port: endpoint { |
|---|
| 901 | + remote-endpoint = <&funnel2_in_port2>; |
|---|
| 902 | + }; |
|---|
| 910 | 903 | }; |
|---|
| 911 | 904 | }; |
|---|
| 912 | 905 | }; |
|---|
| .. | .. |
|---|
| 918 | 911 | clocks = <&clk_375m>; |
|---|
| 919 | 912 | clock-names = "apb_pclk"; |
|---|
| 920 | 913 | cpu = <&CPU11>; |
|---|
| 921 | | - port { |
|---|
| 922 | | - ptm11_out_port: endpoint { |
|---|
| 923 | | - remote-endpoint = <&funnel2_in_port3>; |
|---|
| 914 | + out-ports { |
|---|
| 915 | + port { |
|---|
| 916 | + ptm11_out_port: endpoint { |
|---|
| 917 | + remote-endpoint = <&funnel2_in_port3>; |
|---|
| 918 | + }; |
|---|
| 924 | 919 | }; |
|---|
| 925 | 920 | }; |
|---|
| 926 | 921 | }; |
|---|
| .. | .. |
|---|
| 932 | 927 | clocks = <&clk_375m>; |
|---|
| 933 | 928 | clock-names = "apb_pclk"; |
|---|
| 934 | 929 | cpu = <&CPU12>; |
|---|
| 935 | | - port { |
|---|
| 936 | | - ptm12_out_port: endpoint { |
|---|
| 937 | | - remote-endpoint = <&funnel3_in_port0>; |
|---|
| 930 | + out-ports { |
|---|
| 931 | + port { |
|---|
| 932 | + ptm12_out_port: endpoint { |
|---|
| 933 | + remote-endpoint = <&funnel3_in_port0>; |
|---|
| 934 | + }; |
|---|
| 938 | 935 | }; |
|---|
| 939 | 936 | }; |
|---|
| 940 | 937 | }; |
|---|
| .. | .. |
|---|
| 946 | 943 | clocks = <&clk_375m>; |
|---|
| 947 | 944 | clock-names = "apb_pclk"; |
|---|
| 948 | 945 | cpu = <&CPU13>; |
|---|
| 949 | | - port { |
|---|
| 950 | | - ptm13_out_port: endpoint { |
|---|
| 951 | | - remote-endpoint = <&funnel3_in_port1>; |
|---|
| 946 | + out-ports { |
|---|
| 947 | + port { |
|---|
| 948 | + ptm13_out_port: endpoint { |
|---|
| 949 | + remote-endpoint = <&funnel3_in_port1>; |
|---|
| 950 | + }; |
|---|
| 952 | 951 | }; |
|---|
| 953 | 952 | }; |
|---|
| 954 | 953 | }; |
|---|
| .. | .. |
|---|
| 960 | 959 | clocks = <&clk_375m>; |
|---|
| 961 | 960 | clock-names = "apb_pclk"; |
|---|
| 962 | 961 | cpu = <&CPU14>; |
|---|
| 963 | | - port { |
|---|
| 964 | | - ptm14_out_port: endpoint { |
|---|
| 965 | | - remote-endpoint = <&funnel3_in_port2>; |
|---|
| 962 | + out-ports { |
|---|
| 963 | + port { |
|---|
| 964 | + ptm14_out_port: endpoint { |
|---|
| 965 | + remote-endpoint = <&funnel3_in_port2>; |
|---|
| 966 | + }; |
|---|
| 966 | 967 | }; |
|---|
| 967 | 968 | }; |
|---|
| 968 | 969 | }; |
|---|
| .. | .. |
|---|
| 974 | 975 | clocks = <&clk_375m>; |
|---|
| 975 | 976 | clock-names = "apb_pclk"; |
|---|
| 976 | 977 | cpu = <&CPU15>; |
|---|
| 977 | | - port { |
|---|
| 978 | | - ptm15_out_port: endpoint { |
|---|
| 979 | | - remote-endpoint = <&funnel3_in_port3>; |
|---|
| 978 | + out-ports { |
|---|
| 979 | + port { |
|---|
| 980 | + ptm15_out_port: endpoint { |
|---|
| 981 | + remote-endpoint = <&funnel3_in_port3>; |
|---|
| 982 | + }; |
|---|
| 980 | 983 | }; |
|---|
| 981 | 984 | }; |
|---|
| 982 | 985 | }; |
|---|