forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 23fa18eaa71266feff7ba8d83022d9e1cc83c65a
kernel/arch/arm64/boot/dts/sprd/sc9860.dtsi
....@@ -50,7 +50,7 @@
5050
5151 CPU0: cpu@530000 {
5252 device_type = "cpu";
53
- compatible = "arm,cortex-a53", "arm,armv8";
53
+ compatible = "arm,cortex-a53";
5454 reg = <0x0 0x530000>;
5555 enable-method = "psci";
5656 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -58,7 +58,7 @@
5858
5959 CPU1: cpu@530001 {
6060 device_type = "cpu";
61
- compatible = "arm,cortex-a53", "arm,armv8";
61
+ compatible = "arm,cortex-a53";
6262 reg = <0x0 0x530001>;
6363 enable-method = "psci";
6464 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -66,7 +66,7 @@
6666
6767 CPU2: cpu@530002 {
6868 device_type = "cpu";
69
- compatible = "arm,cortex-a53", "arm,armv8";
69
+ compatible = "arm,cortex-a53";
7070 reg = <0x0 0x530002>;
7171 enable-method = "psci";
7272 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -74,7 +74,7 @@
7474
7575 CPU3: cpu@530003 {
7676 device_type = "cpu";
77
- compatible = "arm,cortex-a53", "arm,armv8";
77
+ compatible = "arm,cortex-a53";
7878 reg = <0x0 0x530003>;
7979 enable-method = "psci";
8080 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -82,7 +82,7 @@
8282
8383 CPU4: cpu@530100 {
8484 device_type = "cpu";
85
- compatible = "arm,cortex-a53", "arm,armv8";
85
+ compatible = "arm,cortex-a53";
8686 reg = <0x0 0x530100>;
8787 enable-method = "psci";
8888 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -90,7 +90,7 @@
9090
9191 CPU5: cpu@530101 {
9292 device_type = "cpu";
93
- compatible = "arm,cortex-a53", "arm,armv8";
93
+ compatible = "arm,cortex-a53";
9494 reg = <0x0 0x530101>;
9595 enable-method = "psci";
9696 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -98,7 +98,7 @@
9898
9999 CPU6: cpu@530102 {
100100 device_type = "cpu";
101
- compatible = "arm,cortex-a53", "arm,armv8";
101
+ compatible = "arm,cortex-a53";
102102 reg = <0x0 0x530102>;
103103 enable-method = "psci";
104104 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -106,7 +106,7 @@
106106
107107 CPU7: cpu@530103 {
108108 device_type = "cpu";
109
- compatible = "arm,cortex-a53", "arm,armv8";
109
+ compatible = "arm,cortex-a53";
110110 reg = <0x0 0x530103>;
111111 enable-method = "psci";
112112 cpu-idle-states = <&CORE_PD &CLUSTER_PD>;
....@@ -300,34 +300,33 @@
300300 };
301301
302302 funnel@10001000 { /* SoC Funnel */
303
- compatible = "arm,coresight-funnel", "arm,primecell";
303
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
304304 reg = <0 0x10001000 0 0x1000>;
305305 clocks = <&ext_26m>;
306306 clock-names = "apb_pclk";
307
- ports {
307
+ out-ports {
308
+ port {
309
+ soc_funnel_out_port: endpoint {
310
+ remote-endpoint = <&etb_in>;
311
+ };
312
+ };
313
+ };
314
+
315
+ in-ports {
308316 #address-cells = <1>;
309317 #size-cells = <0>;
310318
311319 port@0 {
312320 reg = <0>;
313
- soc_funnel_out_port: endpoint {
314
- remote-endpoint = <&etb_in>;
315
- };
316
- };
317
-
318
- port@1 {
319
- reg = <0>;
320321 soc_funnel_in_port0: endpoint {
321
- slave-mode;
322322 remote-endpoint =
323323 <&main_funnel_out_port>;
324324 };
325325 };
326326
327
- port@2 {
327
+ port@4 {
328328 reg = <4>;
329329 soc_funnel_in_port1: endpoint {
330
- slave-mode;
331330 remote-endpoint =
332331 <&stm_out_port>;
333332 };
....@@ -340,11 +339,12 @@
340339 reg = <0 0x10003000 0 0x1000>;
341340 clocks = <&ext_26m>;
342341 clock-names = "apb_pclk";
343
- port {
344
- etb_in: endpoint {
345
- slave-mode;
346
- remote-endpoint =
347
- <&soc_funnel_out_port>;
342
+ out-ports {
343
+ port {
344
+ etb_in: endpoint {
345
+ remote-endpoint =
346
+ <&soc_funnel_out_port>;
347
+ };
348348 };
349349 };
350350 };
....@@ -356,51 +356,51 @@
356356 reg-names = "stm-base", "stm-stimulus-base";
357357 clocks = <&ext_26m>;
358358 clock-names = "apb_pclk";
359
- port {
360
- stm_out_port: endpoint {
361
- remote-endpoint =
362
- <&soc_funnel_in_port1>;
359
+ out-ports {
360
+ port {
361
+ stm_out_port: endpoint {
362
+ remote-endpoint =
363
+ <&soc_funnel_in_port1>;
364
+ };
363365 };
364366 };
365367 };
366368
367369 funnel@11001000 { /* Cluster0 Funnel */
368
- compatible = "arm,coresight-funnel", "arm,primecell";
370
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
369371 reg = <0 0x11001000 0 0x1000>;
370372 clocks = <&ext_26m>;
371373 clock-names = "apb_pclk";
372
- ports {
373
- #address-cells = <1>;
374
- #size-cells = <0>;
375
-
376
- port@0 {
377
- reg = <0>;
374
+ out-ports {
375
+ port {
378376 cluster0_funnel_out_port: endpoint {
379377 remote-endpoint =
380378 <&cluster0_etf_in>;
381379 };
382380 };
381
+ };
383382
384
- port@1 {
383
+ in-ports {
384
+ #address-cells = <1>;
385
+ #size-cells = <0>;
386
+
387
+ port@0 {
385388 reg = <0>;
386389 cluster0_funnel_in_port0: endpoint {
387
- slave-mode;
388390 remote-endpoint = <&etm0_out>;
389391 };
390392 };
391393
392
- port@2 {
394
+ port@1 {
393395 reg = <1>;
394396 cluster0_funnel_in_port1: endpoint {
395
- slave-mode;
396397 remote-endpoint = <&etm1_out>;
397398 };
398399 };
399400
400
- port@3 {
401
+ port@2 {
401402 reg = <2>;
402403 cluster0_funnel_in_port2: endpoint {
403
- slave-mode;
404404 remote-endpoint = <&etm2_out>;
405405 };
406406 };
....@@ -408,7 +408,6 @@
408408 port@4 {
409409 reg = <4>;
410410 cluster0_funnel_in_port3: endpoint {
411
- slave-mode;
412411 remote-endpoint = <&etm3_out>;
413412 };
414413 };
....@@ -416,50 +415,47 @@
416415 };
417416
418417 funnel@11002000 { /* Cluster1 Funnel */
419
- compatible = "arm,coresight-funnel", "arm,primecell";
418
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
420419 reg = <0 0x11002000 0 0x1000>;
421420 clocks = <&ext_26m>;
422421 clock-names = "apb_pclk";
423
- ports {
424
- #address-cells = <1>;
425
- #size-cells = <0>;
426
-
427
- port@0 {
428
- reg = <0>;
422
+ out-ports {
423
+ port {
429424 cluster1_funnel_out_port: endpoint {
430425 remote-endpoint =
431426 <&cluster1_etf_in>;
432427 };
433428 };
429
+ };
434430
435
- port@1 {
431
+ in-ports {
432
+ #address-cells = <1>;
433
+ #size-cells = <0>;
434
+
435
+ port@0 {
436436 reg = <0>;
437437 cluster1_funnel_in_port0: endpoint {
438
- slave-mode;
439438 remote-endpoint = <&etm4_out>;
440439 };
441440 };
442441
443
- port@2 {
442
+ port@1 {
444443 reg = <1>;
445444 cluster1_funnel_in_port1: endpoint {
446
- slave-mode;
447445 remote-endpoint = <&etm5_out>;
448446 };
449447 };
450448
451
- port@3 {
449
+ port@2 {
452450 reg = <2>;
453451 cluster1_funnel_in_port2: endpoint {
454
- slave-mode;
455452 remote-endpoint = <&etm6_out>;
456453 };
457454 };
458455
459
- port@4 {
456
+ port@3 {
460457 reg = <3>;
461458 cluster1_funnel_in_port3: endpoint {
462
- slave-mode;
463459 remote-endpoint = <&etm7_out>;
464460 };
465461 };
....@@ -472,22 +468,18 @@
472468 clocks = <&ext_26m>;
473469 clock-names = "apb_pclk";
474470
475
- ports {
476
- #address-cells = <1>;
477
- #size-cells = <0>;
478
-
479
- port@0 {
480
- reg = <0>;
471
+ out-ports {
472
+ port {
481473 cluster0_etf_out: endpoint {
482474 remote-endpoint =
483475 <&main_funnel_in_port0>;
484476 };
485477 };
478
+ };
486479
487
- port@1 {
488
- reg = <0>;
480
+ in-ports {
481
+ port {
489482 cluster0_etf_in: endpoint {
490
- slave-mode;
491483 remote-endpoint =
492484 <&cluster0_funnel_out_port>;
493485 };
....@@ -501,22 +493,18 @@
501493 clocks = <&ext_26m>;
502494 clock-names = "apb_pclk";
503495
504
- ports {
505
- #address-cells = <1>;
506
- #size-cells = <0>;
507
-
508
- port@0 {
509
- reg = <0>;
496
+ out-ports {
497
+ port {
510498 cluster1_etf_out: endpoint {
511499 remote-endpoint =
512500 <&main_funnel_in_port1>;
513501 };
514502 };
503
+ };
515504
516
- port@1 {
517
- reg = <0>;
505
+ in-ports {
506
+ port {
518507 cluster1_etf_in: endpoint {
519
- slave-mode;
520508 remote-endpoint =
521509 <&cluster1_funnel_out_port>;
522510 };
....@@ -525,36 +513,35 @@
525513 };
526514
527515 funnel@11005000 { /* Main Funnel */
528
- compatible = "arm,coresight-funnel", "arm,primecell";
516
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
529517 reg = <0 0x11005000 0 0x1000>;
530518 clocks = <&ext_26m>;
531519 clock-names = "apb_pclk";
532520
533
- ports {
534
- #address-cells = <1>;
535
- #size-cells = <0>;
536
-
537
- port@0 {
538
- reg = <0>;
521
+ out-ports {
522
+ port {
539523 main_funnel_out_port: endpoint {
540524 remote-endpoint =
541525 <&soc_funnel_in_port0>;
542526 };
543527 };
528
+ };
544529
545
- port@1 {
530
+ in-ports {
531
+ #address-cells = <1>;
532
+ #size-cells = <0>;
533
+
534
+ port@0 {
546535 reg = <0>;
547536 main_funnel_in_port0: endpoint {
548
- slave-mode;
549537 remote-endpoint =
550538 <&cluster0_etf_out>;
551539 };
552540 };
553541
554
- port@2 {
542
+ port@1 {
555543 reg = <1>;
556544 main_funnel_in_port1: endpoint {
557
- slave-mode;
558545 remote-endpoint =
559546 <&cluster1_etf_out>;
560547 };
....@@ -569,10 +556,12 @@
569556 clocks = <&ext_26m>;
570557 clock-names = "apb_pclk";
571558
572
- port {
573
- etm0_out: endpoint {
574
- remote-endpoint =
575
- <&cluster0_funnel_in_port0>;
559
+ out-ports {
560
+ port {
561
+ etm0_out: endpoint {
562
+ remote-endpoint =
563
+ <&cluster0_funnel_in_port0>;
564
+ };
576565 };
577566 };
578567 };
....@@ -584,10 +573,12 @@
584573 clocks = <&ext_26m>;
585574 clock-names = "apb_pclk";
586575
587
- port {
588
- etm1_out: endpoint {
589
- remote-endpoint =
590
- <&cluster0_funnel_in_port1>;
576
+ out-ports {
577
+ port {
578
+ etm1_out: endpoint {
579
+ remote-endpoint =
580
+ <&cluster0_funnel_in_port1>;
581
+ };
591582 };
592583 };
593584 };
....@@ -599,10 +590,12 @@
599590 clocks = <&ext_26m>;
600591 clock-names = "apb_pclk";
601592
602
- port {
603
- etm2_out: endpoint {
604
- remote-endpoint =
605
- <&cluster0_funnel_in_port2>;
593
+ out-ports {
594
+ port {
595
+ etm2_out: endpoint {
596
+ remote-endpoint =
597
+ <&cluster0_funnel_in_port2>;
598
+ };
606599 };
607600 };
608601 };
....@@ -614,10 +607,12 @@
614607 clocks = <&ext_26m>;
615608 clock-names = "apb_pclk";
616609
617
- port {
618
- etm3_out: endpoint {
619
- remote-endpoint =
620
- <&cluster0_funnel_in_port3>;
610
+ out-ports {
611
+ port {
612
+ etm3_out: endpoint {
613
+ remote-endpoint =
614
+ <&cluster0_funnel_in_port3>;
615
+ };
621616 };
622617 };
623618 };
....@@ -629,10 +624,12 @@
629624 clocks = <&ext_26m>;
630625 clock-names = "apb_pclk";
631626
632
- port {
633
- etm4_out: endpoint {
634
- remote-endpoint =
635
- <&cluster1_funnel_in_port0>;
627
+ out-ports {
628
+ port {
629
+ etm4_out: endpoint {
630
+ remote-endpoint =
631
+ <&cluster1_funnel_in_port0>;
632
+ };
636633 };
637634 };
638635 };
....@@ -644,10 +641,12 @@
644641 clocks = <&ext_26m>;
645642 clock-names = "apb_pclk";
646643
647
- port {
648
- etm5_out: endpoint {
649
- remote-endpoint =
650
- <&cluster1_funnel_in_port1>;
644
+ out-ports {
645
+ port {
646
+ etm5_out: endpoint {
647
+ remote-endpoint =
648
+ <&cluster1_funnel_in_port1>;
649
+ };
651650 };
652651 };
653652 };
....@@ -659,10 +658,12 @@
659658 clocks = <&ext_26m>;
660659 clock-names = "apb_pclk";
661660
662
- port {
663
- etm6_out: endpoint {
664
- remote-endpoint =
665
- <&cluster1_funnel_in_port2>;
661
+ out-ports {
662
+ port {
663
+ etm6_out: endpoint {
664
+ remote-endpoint =
665
+ <&cluster1_funnel_in_port2>;
666
+ };
666667 };
667668 };
668669 };
....@@ -674,10 +675,12 @@
674675 clocks = <&ext_26m>;
675676 clock-names = "apb_pclk";
676677
677
- port {
678
- etm7_out: endpoint {
679
- remote-endpoint =
680
- <&cluster1_funnel_in_port3>;
678
+ out-ports {
679
+ port {
680
+ etm7_out: endpoint {
681
+ remote-endpoint =
682
+ <&cluster1_funnel_in_port3>;
683
+ };
681684 };
682685 };
683686 };