forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/arch/arm/boot/dts/vexpress-v2p-ca15_a7.dts
....@@ -109,12 +109,26 @@
109109 reg = <0 0x80000000 0 0x40000000>;
110110 };
111111
112
+ reserved-memory {
113
+ #address-cells = <2>;
114
+ #size-cells = <2>;
115
+ ranges;
116
+
117
+ /* Chipselect 2 is physically at 0x18000000 */
118
+ vram: vram@18000000 {
119
+ /* 8 MB of designated video RAM */
120
+ compatible = "shared-dma-pool";
121
+ reg = <0 0x18000000 0 0x00800000>;
122
+ no-map;
123
+ };
124
+ };
125
+
112126 wdt@2a490000 {
113127 compatible = "arm,sp805", "arm,primecell";
114128 reg = <0 0x2a490000 0 0x1000>;
115129 interrupts = <0 98 4>;
116130 clocks = <&oscclk6a>, <&oscclk6a>;
117
- clock-names = "wdogclk", "apb_pclk";
131
+ clock-names = "wdog_clk", "apb_pclk";
118132 };
119133
120134 hdlcd@2b000000 {
....@@ -398,10 +412,11 @@
398412
399413 clocks = <&oscclk6a>;
400414 clock-names = "apb_pclk";
401
- port {
402
- etb_in_port: endpoint {
403
- slave-mode;
404
- remote-endpoint = <&replicator_out_port0>;
415
+ in-ports {
416
+ port {
417
+ etb_in_port: endpoint {
418
+ remote-endpoint = <&replicator_out_port0>;
419
+ };
405420 };
406421 };
407422 };
....@@ -412,10 +427,11 @@
412427
413428 clocks = <&oscclk6a>;
414429 clock-names = "apb_pclk";
415
- port {
416
- tpiu_in_port: endpoint {
417
- slave-mode;
418
- remote-endpoint = <&replicator_out_port1>;
430
+ in-ports {
431
+ port {
432
+ tpiu_in_port: endpoint {
433
+ remote-endpoint = <&replicator_out_port1>;
434
+ };
419435 };
420436 };
421437 };
....@@ -424,13 +440,12 @@
424440 /* non-configurable replicators don't show up on the
425441 * AMBA bus. As such no need to add "arm,primecell".
426442 */
427
- compatible = "arm,coresight-replicator";
443
+ compatible = "arm,coresight-static-replicator";
428444
429
- ports {
445
+ out-ports {
430446 #address-cells = <1>;
431447 #size-cells = <0>;
432448
433
- /* replicator output ports */
434449 port@0 {
435450 reg = <0>;
436451 replicator_out_port0: endpoint {
....@@ -444,12 +459,11 @@
444459 remote-endpoint = <&tpiu_in_port>;
445460 };
446461 };
462
+ };
447463
448
- /* replicator input port */
449
- port@2 {
450
- reg = <0>;
464
+ in-ports {
465
+ port {
451466 replicator_in_port0: endpoint {
452
- slave-mode;
453467 remote-endpoint = <&funnel_out_port0>;
454468 };
455469 };
....@@ -457,45 +471,41 @@
457471 };
458472
459473 funnel@20040000 {
460
- compatible = "arm,coresight-funnel", "arm,primecell";
474
+ compatible = "arm,coresight-dynamic-funnel", "arm,primecell";
461475 reg = <0 0x20040000 0 0x1000>;
462476
463477 clocks = <&oscclk6a>;
464478 clock-names = "apb_pclk";
465
- ports {
466
- #address-cells = <1>;
467
- #size-cells = <0>;
468
-
469
- /* funnel output port */
470
- port@0 {
471
- reg = <0>;
479
+ out-ports {
480
+ port {
472481 funnel_out_port0: endpoint {
473482 remote-endpoint =
474483 <&replicator_in_port0>;
475484 };
476485 };
486
+ };
477487
478
- /* funnel input ports */
479
- port@1 {
488
+ in-ports {
489
+ #address-cells = <1>;
490
+ #size-cells = <0>;
491
+
492
+ port@0 {
480493 reg = <0>;
481494 funnel_in_port0: endpoint {
482
- slave-mode;
483495 remote-endpoint = <&ptm0_out_port>;
484496 };
485497 };
486498
487
- port@2 {
499
+ port@1 {
488500 reg = <1>;
489501 funnel_in_port1: endpoint {
490
- slave-mode;
491502 remote-endpoint = <&ptm1_out_port>;
492503 };
493504 };
494505
495
- port@3 {
506
+ port@2 {
496507 reg = <2>;
497508 funnel_in_port2: endpoint {
498
- slave-mode;
499509 remote-endpoint = <&etm0_out_port>;
500510 };
501511 };
....@@ -505,7 +515,6 @@
505515 port@4 {
506516 reg = <4>;
507517 funnel_in_port4: endpoint {
508
- slave-mode;
509518 remote-endpoint = <&etm1_out_port>;
510519 };
511520 };
....@@ -513,7 +522,6 @@
513522 port@5 {
514523 reg = <5>;
515524 funnel_in_port5: endpoint {
516
- slave-mode;
517525 remote-endpoint = <&etm2_out_port>;
518526 };
519527 };
....@@ -527,9 +535,11 @@
527535 cpu = <&cpu0>;
528536 clocks = <&oscclk6a>;
529537 clock-names = "apb_pclk";
530
- port {
531
- ptm0_out_port: endpoint {
532
- remote-endpoint = <&funnel_in_port0>;
538
+ out-ports {
539
+ port {
540
+ ptm0_out_port: endpoint {
541
+ remote-endpoint = <&funnel_in_port0>;
542
+ };
533543 };
534544 };
535545 };
....@@ -541,9 +551,11 @@
541551 cpu = <&cpu1>;
542552 clocks = <&oscclk6a>;
543553 clock-names = "apb_pclk";
544
- port {
545
- ptm1_out_port: endpoint {
546
- remote-endpoint = <&funnel_in_port1>;
554
+ out-ports {
555
+ port {
556
+ ptm1_out_port: endpoint {
557
+ remote-endpoint = <&funnel_in_port1>;
558
+ };
547559 };
548560 };
549561 };
....@@ -555,9 +567,11 @@
555567 cpu = <&cpu2>;
556568 clocks = <&oscclk6a>;
557569 clock-names = "apb_pclk";
558
- port {
559
- etm0_out_port: endpoint {
560
- remote-endpoint = <&funnel_in_port2>;
570
+ out-ports {
571
+ port {
572
+ etm0_out_port: endpoint {
573
+ remote-endpoint = <&funnel_in_port2>;
574
+ };
561575 };
562576 };
563577 };
....@@ -569,9 +583,11 @@
569583 cpu = <&cpu3>;
570584 clocks = <&oscclk6a>;
571585 clock-names = "apb_pclk";
572
- port {
573
- etm1_out_port: endpoint {
574
- remote-endpoint = <&funnel_in_port4>;
586
+ out-ports {
587
+ port {
588
+ etm1_out_port: endpoint {
589
+ remote-endpoint = <&funnel_in_port4>;
590
+ };
575591 };
576592 };
577593 };
....@@ -583,14 +599,16 @@
583599 cpu = <&cpu4>;
584600 clocks = <&oscclk6a>;
585601 clock-names = "apb_pclk";
586
- port {
587
- etm2_out_port: endpoint {
588
- remote-endpoint = <&funnel_in_port5>;
602
+ out-ports {
603
+ port {
604
+ etm2_out_port: endpoint {
605
+ remote-endpoint = <&funnel_in_port5>;
606
+ };
589607 };
590608 };
591609 };
592610
593
- smb: smb@8000000 {
611
+ smb: bus@8000000 {
594612 compatible = "simple-bus";
595613
596614 #address-cells = <2>;
....@@ -662,3 +680,12 @@
662680 <0 3 &gic 0 39 4>;
663681 };
664682 };
683
+
684
+&nor_flash {
685
+ /*
686
+ * Unfortunately, accessing the flash disturbs the CPU idle states
687
+ * (suspend) and CPU hotplug of this platform. For this reason, flash
688
+ * hardware access is disabled by default on this platform alone.
689
+ */
690
+ status = "disabled";
691
+};