tc3.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*
  2. * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /dts-v1/;
  7. #include <dt-bindings/interrupt-controller/arm-gic.h>
  8. #include <dt-bindings/interrupt-controller/irq.h>
  9. #include <platform_def.h>
  10. #define MHU_TX_ADDR 46040000 /* hex */
  11. #define MHU_RX_ADDR 46140000 /* hex */
  12. #define LIT_CPU_PMU_COMPATIBLE "arm,cortex-a520-pmu"
  13. #define MID_CPU_PMU_COMPATIBLE "arm,cortex-a725-pmu"
  14. #define BIG_CPU_PMU_COMPATIBLE "arm,cortex-x925-pmu"
  15. #define ETHERNET_ADDR 18000000
  16. #define ETHERNET_INT 109
  17. #define SYS_REGS_ADDR 1c010000
  18. #define MMC_ADDR 1c050000
  19. #define MMC_INT_0 107
  20. #define MMC_INT_1 108
  21. #define RTC_ADDR 1c170000
  22. #define RTC_INT 100
  23. #define KMI_0_ADDR 1c060000
  24. #define KMI_0_INT 197
  25. #define KMI_1_ADDR 1c070000
  26. #define KMI_1_INT 103
  27. #define VIRTIO_BLOCK_ADDR 1c130000
  28. #define VIRTIO_BLOCK_INT 204
  29. #include "tc-common.dtsi"
  30. #if TARGET_FLAVOUR_FVP
  31. #include "tc-fvp.dtsi"
  32. #else
  33. #include "tc-fpga.dtsi"
  34. #endif /* TARGET_FLAVOUR_FVP */
  35. #include "tc3-4-base.dtsi"
  36. / {
  37. cs-pmu@0 {
  38. compatible = "arm,coresight-pmu";
  39. reg = <0x0 MCN_PMU_ADDR(0) 0x0 0xffc>;
  40. };
  41. cs-pmu@1 {
  42. compatible = "arm,coresight-pmu";
  43. reg = <0x0 MCN_PMU_ADDR(1) 0x0 0xffc>;
  44. };
  45. cs-pmu@2 {
  46. compatible = "arm,coresight-pmu";
  47. reg = <0x0 MCN_PMU_ADDR(2) 0x0 0xffc>;
  48. };
  49. cs-pmu@3 {
  50. compatible = "arm,coresight-pmu";
  51. reg = <0x0 MCN_PMU_ADDR(3) 0x0 0xffc>;
  52. };
  53. spe-pmu-mid {
  54. status = "okay";
  55. };
  56. spe-pmu-big {
  57. status = "okay";
  58. };
  59. dsu-pmu {
  60. compatible = "arm,dsu-pmu";
  61. cpus = <&CPU0>, <&CPU1>, <&CPU2>, <&CPU3>, <&CPU4>, <&CPU5>, <&CPU6>, <&CPU7>;
  62. };
  63. ni-pmu {
  64. compatible = "arm,ni-tower";
  65. reg = <0x0 0x4f000000 0x0 0x4000000>;
  66. };
  67. #if TARGET_FLAVOUR_FVP
  68. smmu_700: iommu@3f000000 {
  69. status = "okay";
  70. };
  71. smmu_700_dpu: iommu@4002a00000 {
  72. status = "okay";
  73. };
  74. #else
  75. smmu_600: smmu@2ce00000 {
  76. status = "okay";
  77. };
  78. #endif
  79. dp0: display@DPU_ADDR {
  80. #if TARGET_FLAVOUR_FVP
  81. iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>,
  82. <&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>;
  83. #else /* TARGET_FLAVOUR_FPGA */
  84. iommus = <&smmu_600 0>, <&smmu_600 1>, <&smmu_600 2>, <&smmu_600 3>,
  85. <&smmu_600 4>, <&smmu_600 5>, <&smmu_600 6>, <&smmu_600 7>,
  86. <&smmu_600 8>, <&smmu_600 9>;
  87. #endif
  88. };
  89. gpu: gpu@2d000000 {
  90. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>,
  91. <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH 0>,
  92. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>;
  93. interrupt-names = "JOB", "MMU", "GPU";
  94. #if TARGET_FLAVOUR_FVP
  95. iommus = <&smmu_700 0x200>;
  96. #endif
  97. };
  98. };