Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'hisi-arm32-dt-for-4.20' of git://github.com/hisilicon/linux-hisi into next/dt

ARM: DT: Hisilicon ARM32 SoCs updates for 4.20

- Switch to updated coresight bindings for hip04 SoC

* tag 'hisi-arm32-dt-for-4.20' of git://github.com/hisilicon/linux-hisi:
arm: dts: hip04: Update coresight bindings for hardware ports

Signed-off-by: Olof Johansson <olof@lixom.net>

+176 -170
+176 -170
arch/arm/boot/dts/hip04.dtsi
··· 277 277 278 278 clocks = <&clk_375m>; 279 279 clock-names = "apb_pclk"; 280 - port { 281 - etb0_in_port: endpoint@0 { 282 - slave-mode; 283 - remote-endpoint = <&replicator0_out_port0>; 280 + in-ports { 281 + port { 282 + etb0_in_port: endpoint@0 { 283 + remote-endpoint = <&replicator0_out_port0>; 284 + }; 284 285 }; 285 286 }; 286 287 }; ··· 292 291 293 292 clocks = <&clk_375m>; 294 293 clock-names = "apb_pclk"; 295 - port { 296 - etb1_in_port: endpoint@0 { 297 - slave-mode; 298 - remote-endpoint = <&replicator1_out_port0>; 294 + in-ports { 295 + port { 296 + etb1_in_port: endpoint@0 { 297 + remote-endpoint = <&replicator1_out_port0>; 298 + }; 299 299 }; 300 300 }; 301 301 }; ··· 307 305 308 306 clocks = <&clk_375m>; 309 307 clock-names = "apb_pclk"; 310 - port { 311 - etb2_in_port: endpoint@0 { 312 - slave-mode; 313 - remote-endpoint = <&replicator2_out_port0>; 308 + in-ports { 309 + port { 310 + etb2_in_port: endpoint@0 { 311 + remote-endpoint = <&replicator2_out_port0>; 312 + }; 314 313 }; 315 314 }; 316 315 }; ··· 322 319 323 320 clocks = <&clk_375m>; 324 321 clock-names = "apb_pclk"; 325 - port { 326 - etb3_in_port: endpoint@0 { 327 - slave-mode; 328 - remote-endpoint = <&replicator3_out_port0>; 322 + in-ports { 323 + port { 324 + etb3_in_port: endpoint@0 { 325 + remote-endpoint = <&replicator3_out_port0>; 326 + }; 329 327 }; 330 328 }; 331 329 }; ··· 337 333 338 334 clocks = <&clk_375m>; 339 335 clock-names = "apb_pclk"; 340 - port { 341 - tpiu_in_port: endpoint@0 { 342 - slave-mode; 343 - remote-endpoint = <&funnel4_out_port0>; 336 + in-ports { 337 + port { 338 + tpiu_in_port: endpoint@0 { 339 + remote-endpoint = <&funnel4_out_port0>; 340 + }; 344 341 }; 345 342 }; 346 343 }; ··· 352 347 */ 353 348 compatible = "arm,coresight-replicator"; 354 349 355 - ports { 350 + out-ports { 356 351 #address-cells = <1>; 357 352 #size-cells = <0>; 358 353 ··· 370 365 remote-endpoint = <&funnel4_in_port0>; 371 366 }; 372 367 }; 368 + }; 373 369 374 - /* replicator input port */ 375 - port@2 { 376 - reg = <0>; 370 + in-ports { 371 + port { 377 372 replicator0_in_port0: endpoint { 378 - slave-mode; 379 373 remote-endpoint = <&funnel0_out_port0>; 380 374 }; 381 375 }; ··· 387 383 */ 388 384 compatible = "arm,coresight-replicator"; 389 385 390 - ports { 386 + out-ports { 391 387 #address-cells = <1>; 392 388 #size-cells = <0>; 393 389 ··· 405 401 remote-endpoint = <&funnel4_in_port1>; 406 402 }; 407 403 }; 404 + }; 408 405 409 - /* replicator input port */ 410 - port@2 { 411 - reg = <0>; 406 + in-ports { 407 + port { 412 408 replicator1_in_port0: endpoint { 413 - slave-mode; 414 409 remote-endpoint = <&funnel1_out_port0>; 415 410 }; 416 411 }; ··· 422 419 */ 423 420 compatible = "arm,coresight-replicator"; 424 421 425 - ports { 422 + out-ports { 426 423 #address-cells = <1>; 427 424 #size-cells = <0>; 428 425 429 - /* replicator output ports */ 430 426 port@0 { 431 427 reg = <0>; 432 428 replicator2_out_port0: endpoint { ··· 439 437 remote-endpoint = <&funnel4_in_port2>; 440 438 }; 441 439 }; 440 + }; 442 441 443 - /* replicator input port */ 444 - port@2 { 445 - reg = <0>; 442 + in-ports { 443 + port { 446 444 replicator2_in_port0: endpoint { 447 - slave-mode; 448 445 remote-endpoint = <&funnel2_out_port0>; 449 446 }; 450 447 }; ··· 456 455 */ 457 456 compatible = "arm,coresight-replicator"; 458 457 459 - ports { 458 + out-ports { 460 459 #address-cells = <1>; 461 460 #size-cells = <0>; 462 461 463 - /* replicator output ports */ 464 462 port@0 { 465 463 reg = <0>; 466 464 replicator3_out_port0: endpoint { ··· 473 473 remote-endpoint = <&funnel4_in_port3>; 474 474 }; 475 475 }; 476 + }; 476 477 477 - /* replicator input port */ 478 - port@2 { 479 - reg = <0>; 478 + in-ports { 479 + port { 480 480 replicator3_in_port0: endpoint { 481 - slave-mode; 482 481 remote-endpoint = <&funnel3_out_port0>; 483 482 }; 484 483 }; ··· 490 491 491 492 clocks = <&clk_375m>; 492 493 clock-names = "apb_pclk"; 493 - ports { 494 - #address-cells = <1>; 495 - #size-cells = <0>; 496 - 497 - /* funnel output port */ 498 - port@0 { 499 - reg = <0>; 494 + out-ports { 495 + port { 500 496 funnel0_out_port0: endpoint { 501 497 remote-endpoint = 502 498 <&replicator0_in_port0>; 503 499 }; 504 500 }; 501 + }; 505 502 506 - /* funnel input ports */ 507 - port@1 { 503 + in-ports { 504 + #address-cells = <1>; 505 + #size-cells = <0>; 506 + 507 + port@0 { 508 508 reg = <0>; 509 509 funnel0_in_port0: endpoint { 510 - slave-mode; 511 510 remote-endpoint = <&ptm0_out_port>; 512 511 }; 513 512 }; 514 513 515 - port@2 { 514 + port@1 { 516 515 reg = <1>; 517 516 funnel0_in_port1: endpoint { 518 - slave-mode; 519 517 remote-endpoint = <&ptm1_out_port>; 520 518 }; 521 519 }; 522 520 523 - port@3 { 521 + port@2 { 524 522 reg = <2>; 525 523 funnel0_in_port2: endpoint { 526 - slave-mode; 527 524 remote-endpoint = <&ptm2_out_port>; 528 525 }; 529 526 }; 530 527 531 - port@4 { 528 + port@3 { 532 529 reg = <3>; 533 530 funnel0_in_port3: endpoint { 534 - slave-mode; 535 531 remote-endpoint = <&ptm3_out_port>; 536 532 }; 537 533 }; ··· 539 545 540 546 clocks = <&clk_375m>; 541 547 clock-names = "apb_pclk"; 542 - ports { 543 - #address-cells = <1>; 544 - #size-cells = <0>; 545 - 546 - /* funnel output port */ 547 - port@0 { 548 - reg = <0>; 548 + out-ports { 549 + port { 549 550 funnel1_out_port0: endpoint { 550 551 remote-endpoint = 551 552 <&replicator1_in_port0>; 552 553 }; 553 554 }; 555 + }; 554 556 555 - /* funnel input ports */ 556 - port@1 { 557 + in-ports { 558 + #address-cells = <1>; 559 + #size-cells = <0>; 560 + 561 + port@0 { 557 562 reg = <0>; 558 563 funnel1_in_port0: endpoint { 559 - slave-mode; 560 564 remote-endpoint = <&ptm4_out_port>; 561 565 }; 562 566 }; 563 567 564 - port@2 { 568 + port@1 { 565 569 reg = <1>; 566 570 funnel1_in_port1: endpoint { 567 - slave-mode; 568 571 remote-endpoint = <&ptm5_out_port>; 569 572 }; 570 573 }; 571 574 572 - port@3 { 575 + port@2 { 573 576 reg = <2>; 574 577 funnel1_in_port2: endpoint { 575 - slave-mode; 576 578 remote-endpoint = <&ptm6_out_port>; 577 579 }; 578 580 }; 579 581 580 - port@4 { 582 + port@3 { 581 583 reg = <3>; 582 584 funnel1_in_port3: endpoint { 583 - slave-mode; 584 585 remote-endpoint = <&ptm7_out_port>; 585 586 }; 586 587 }; ··· 588 599 589 600 clocks = <&clk_375m>; 590 601 clock-names = "apb_pclk"; 591 - ports { 592 - #address-cells = <1>; 593 - #size-cells = <0>; 594 - 595 - /* funnel output port */ 596 - port@0 { 597 - reg = <0>; 602 + out-ports { 603 + port { 598 604 funnel2_out_port0: endpoint { 599 605 remote-endpoint = 600 606 <&replicator2_in_port0>; 601 607 }; 602 608 }; 609 + }; 603 610 604 - /* funnel input ports */ 605 - port@1 { 611 + in-ports { 612 + #address-cells = <1>; 613 + #size-cells = <0>; 614 + 615 + port@0 { 606 616 reg = <0>; 607 617 funnel2_in_port0: endpoint { 608 - slave-mode; 609 618 remote-endpoint = <&ptm8_out_port>; 610 619 }; 611 620 }; 612 621 613 - port@2 { 622 + port@1 { 614 623 reg = <1>; 615 624 funnel2_in_port1: endpoint { 616 - slave-mode; 617 625 remote-endpoint = <&ptm9_out_port>; 618 626 }; 619 627 }; 620 628 621 - port@3 { 629 + port@2 { 622 630 reg = <2>; 623 631 funnel2_in_port2: endpoint { 624 - slave-mode; 625 632 remote-endpoint = <&ptm10_out_port>; 626 633 }; 627 634 }; 628 635 629 - port@4 { 636 + port@3 { 630 637 reg = <3>; 631 638 funnel2_in_port3: endpoint { 632 - slave-mode; 633 639 remote-endpoint = <&ptm11_out_port>; 634 640 }; 635 641 }; ··· 637 653 638 654 clocks = <&clk_375m>; 639 655 clock-names = "apb_pclk"; 640 - ports { 641 - #address-cells = <1>; 642 - #size-cells = <0>; 643 - 644 - /* funnel output port */ 645 - port@0 { 646 - reg = <0>; 656 + out-ports { 657 + port { 647 658 funnel3_out_port0: endpoint { 648 659 remote-endpoint = 649 660 <&replicator3_in_port0>; 650 661 }; 651 662 }; 663 + }; 652 664 653 - /* funnel input ports */ 654 - port@1 { 665 + in-ports { 666 + #address-cells = <1>; 667 + #size-cells = <0>; 668 + 669 + port@0 { 655 670 reg = <0>; 656 671 funnel3_in_port0: endpoint { 657 - slave-mode; 658 672 remote-endpoint = <&ptm12_out_port>; 659 673 }; 660 674 }; 661 675 662 - port@2 { 676 + port@1 { 663 677 reg = <1>; 664 678 funnel3_in_port1: endpoint { 665 - slave-mode; 666 679 remote-endpoint = <&ptm13_out_port>; 667 680 }; 668 681 }; 669 682 670 - port@3 { 683 + port@2 { 671 684 reg = <2>; 672 685 funnel3_in_port2: endpoint { 673 - slave-mode; 674 686 remote-endpoint = <&ptm14_out_port>; 675 687 }; 676 688 }; 677 689 678 - port@4 { 690 + port@3 { 679 691 reg = <3>; 680 692 funnel3_in_port3: endpoint { 681 - slave-mode; 682 693 remote-endpoint = <&ptm15_out_port>; 683 694 }; 684 695 }; ··· 686 707 687 708 clocks = <&clk_375m>; 688 709 clock-names = "apb_pclk"; 689 - ports { 690 - #address-cells = <1>; 691 - #size-cells = <0>; 692 - 693 - /* funnel output port */ 694 - port@0 { 695 - reg = <0>; 710 + out-ports { 711 + port { 696 712 funnel4_out_port0: endpoint { 697 713 remote-endpoint = <&tpiu_in_port>; 698 714 }; 699 715 }; 716 + }; 700 717 701 - /* funnel input ports */ 702 - port@1 { 718 + in-ports { 719 + #address-cells = <1>; 720 + #size-cells = <0>; 721 + 722 + port@0 { 703 723 reg = <0>; 704 724 funnel4_in_port0: endpoint { 705 - slave-mode; 706 725 remote-endpoint = 707 726 <&replicator0_out_port1>; 708 727 }; 709 728 }; 710 729 711 - port@2 { 730 + port@1 { 712 731 reg = <1>; 713 732 funnel4_in_port1: endpoint { 714 - slave-mode; 715 733 remote-endpoint = 716 734 <&replicator1_out_port1>; 717 735 }; 718 736 }; 719 737 720 - port@3 { 738 + port@2 { 721 739 reg = <2>; 722 740 funnel4_in_port2: endpoint { 723 - slave-mode; 724 741 remote-endpoint = 725 742 <&replicator2_out_port1>; 726 743 }; 727 744 }; 728 745 729 - port@4 { 746 + port@3 { 730 747 reg = <3>; 731 748 funnel4_in_port3: endpoint { 732 - slave-mode; 733 749 remote-endpoint = 734 750 <&replicator3_out_port1>; 735 751 }; ··· 739 765 clocks = <&clk_375m>; 740 766 clock-names = "apb_pclk"; 741 767 cpu = <&CPU0>; 742 - port { 743 - ptm0_out_port: endpoint { 744 - remote-endpoint = <&funnel0_in_port0>; 768 + out-ports { 769 + port { 770 + ptm0_out_port: endpoint { 771 + remote-endpoint = <&funnel0_in_port0>; 772 + }; 745 773 }; 746 774 }; 747 775 }; ··· 755 779 clocks = <&clk_375m>; 756 780 clock-names = "apb_pclk"; 757 781 cpu = <&CPU1>; 758 - port { 759 - ptm1_out_port: endpoint { 760 - remote-endpoint = <&funnel0_in_port1>; 782 + out-ports { 783 + port { 784 + ptm1_out_port: endpoint { 785 + remote-endpoint = <&funnel0_in_port1>; 786 + }; 761 787 }; 762 788 }; 763 789 }; ··· 771 793 clocks = <&clk_375m>; 772 794 clock-names = "apb_pclk"; 773 795 cpu = <&CPU2>; 774 - port { 775 - ptm2_out_port: endpoint { 776 - remote-endpoint = <&funnel0_in_port2>; 796 + out-ports { 797 + port { 798 + ptm2_out_port: endpoint { 799 + remote-endpoint = <&funnel0_in_port2>; 800 + }; 777 801 }; 778 802 }; 779 803 }; ··· 787 807 clocks = <&clk_375m>; 788 808 clock-names = "apb_pclk"; 789 809 cpu = <&CPU3>; 790 - port { 791 - ptm3_out_port: endpoint { 792 - remote-endpoint = <&funnel0_in_port3>; 810 + out-ports { 811 + port { 812 + ptm3_out_port: endpoint { 813 + remote-endpoint = <&funnel0_in_port3>; 814 + }; 793 815 }; 794 816 }; 795 817 }; ··· 803 821 clocks = <&clk_375m>; 804 822 clock-names = "apb_pclk"; 805 823 cpu = <&CPU4>; 806 - port { 807 - ptm4_out_port: endpoint { 808 - remote-endpoint = <&funnel1_in_port0>; 824 + out-ports { 825 + port { 826 + ptm4_out_port: endpoint { 827 + remote-endpoint = <&funnel1_in_port0>; 828 + }; 809 829 }; 810 830 }; 811 831 }; ··· 819 835 clocks = <&clk_375m>; 820 836 clock-names = "apb_pclk"; 821 837 cpu = <&CPU5>; 822 - port { 823 - ptm5_out_port: endpoint { 824 - remote-endpoint = <&funnel1_in_port1>; 838 + out-ports { 839 + port { 840 + ptm5_out_port: endpoint { 841 + remote-endpoint = <&funnel1_in_port1>; 842 + }; 825 843 }; 826 844 }; 827 845 }; ··· 835 849 clocks = <&clk_375m>; 836 850 clock-names = "apb_pclk"; 837 851 cpu = <&CPU6>; 838 - port { 839 - ptm6_out_port: endpoint { 840 - remote-endpoint = <&funnel1_in_port2>; 852 + out-ports { 853 + port { 854 + ptm6_out_port: endpoint { 855 + remote-endpoint = <&funnel1_in_port2>; 856 + }; 841 857 }; 842 858 }; 843 859 }; ··· 851 863 clocks = <&clk_375m>; 852 864 clock-names = "apb_pclk"; 853 865 cpu = <&CPU7>; 854 - port { 855 - ptm7_out_port: endpoint { 856 - remote-endpoint = <&funnel1_in_port3>; 866 + out-ports { 867 + port { 868 + ptm7_out_port: endpoint { 869 + remote-endpoint = <&funnel1_in_port3>; 870 + }; 857 871 }; 858 872 }; 859 873 }; ··· 867 877 clocks = <&clk_375m>; 868 878 clock-names = "apb_pclk"; 869 879 cpu = <&CPU8>; 870 - port { 871 - ptm8_out_port: endpoint { 872 - remote-endpoint = <&funnel2_in_port0>; 880 + out-ports { 881 + port { 882 + ptm8_out_port: endpoint { 883 + remote-endpoint = <&funnel2_in_port0>; 884 + }; 873 885 }; 874 886 }; 875 887 }; ··· 882 890 clocks = <&clk_375m>; 883 891 clock-names = "apb_pclk"; 884 892 cpu = <&CPU9>; 885 - port { 886 - ptm9_out_port: endpoint { 887 - remote-endpoint = <&funnel2_in_port1>; 893 + out-ports { 894 + port { 895 + ptm9_out_port: endpoint { 896 + remote-endpoint = <&funnel2_in_port1>; 897 + }; 888 898 }; 889 899 }; 890 900 }; ··· 898 904 clocks = <&clk_375m>; 899 905 clock-names = "apb_pclk"; 900 906 cpu = <&CPU10>; 901 - port { 902 - ptm10_out_port: endpoint { 903 - remote-endpoint = <&funnel2_in_port2>; 907 + out-ports { 908 + port { 909 + ptm10_out_port: endpoint { 910 + remote-endpoint = <&funnel2_in_port2>; 911 + }; 904 912 }; 905 913 }; 906 914 }; ··· 914 918 clocks = <&clk_375m>; 915 919 clock-names = "apb_pclk"; 916 920 cpu = <&CPU11>; 917 - port { 918 - ptm11_out_port: endpoint { 919 - remote-endpoint = <&funnel2_in_port3>; 921 + out-ports { 922 + port { 923 + ptm11_out_port: endpoint { 924 + remote-endpoint = <&funnel2_in_port3>; 925 + }; 920 926 }; 921 927 }; 922 928 }; ··· 930 932 clocks = <&clk_375m>; 931 933 clock-names = "apb_pclk"; 932 934 cpu = <&CPU12>; 933 - port { 934 - ptm12_out_port: endpoint { 935 - remote-endpoint = <&funnel3_in_port0>; 935 + out-ports { 936 + port { 937 + ptm12_out_port: endpoint { 938 + remote-endpoint = <&funnel3_in_port0>; 939 + }; 936 940 }; 937 941 }; 938 942 }; ··· 946 946 clocks = <&clk_375m>; 947 947 clock-names = "apb_pclk"; 948 948 cpu = <&CPU13>; 949 - port { 950 - ptm13_out_port: endpoint { 951 - remote-endpoint = <&funnel3_in_port1>; 949 + out-ports { 950 + port { 951 + ptm13_out_port: endpoint { 952 + remote-endpoint = <&funnel3_in_port1>; 953 + }; 952 954 }; 953 955 }; 954 956 }; ··· 962 960 clocks = <&clk_375m>; 963 961 clock-names = "apb_pclk"; 964 962 cpu = <&CPU14>; 965 - port { 966 - ptm14_out_port: endpoint { 967 - remote-endpoint = <&funnel3_in_port2>; 963 + out-ports { 964 + port { 965 + ptm14_out_port: endpoint { 966 + remote-endpoint = <&funnel3_in_port2>; 967 + }; 968 968 }; 969 969 }; 970 970 }; ··· 978 974 clocks = <&clk_375m>; 979 975 clock-names = "apb_pclk"; 980 976 cpu = <&CPU15>; 981 - port { 982 - ptm15_out_port: endpoint { 983 - remote-endpoint = <&funnel3_in_port3>; 977 + out-ports { 978 + port { 979 + ptm15_out_port: endpoint { 980 + remote-endpoint = <&funnel3_in_port3>; 981 + }; 984 982 }; 985 983 }; 986 984 };