tc3.dts 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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 RSE_MHU_TX_ADDR 49010000 /* hex */
  13. #define RSE_MHU_RX_ADDR 49110000 /* hex */
  14. #define LIT_CPU_PMU_COMPATIBLE "arm,cortex-a520-pmu"
  15. #define MID_CPU_PMU_COMPATIBLE "arm,cortex-a725-pmu"
  16. #define BIG_CPU_PMU_COMPATIBLE "arm,cortex-x925-pmu"
  17. #define ETHERNET_ADDR 18000000
  18. #define ETHERNET_INT 109
  19. #define SYS_REGS_ADDR 1c010000
  20. #define MMC_ADDR 1c050000
  21. #define MMC_INT_0 107
  22. #define MMC_INT_1 108
  23. #define RTC_ADDR 1c170000
  24. #define RTC_INT 100
  25. #define KMI_0_ADDR 1c060000
  26. #define KMI_0_INT 197
  27. #define KMI_1_ADDR 1c070000
  28. #define KMI_1_INT 103
  29. #define VIRTIO_BLOCK_ADDR 1c130000
  30. #define VIRTIO_BLOCK_INT 204
  31. #include "tc-common.dtsi"
  32. #if TARGET_FLAVOUR_FVP
  33. #include "tc-fvp.dtsi"
  34. #else
  35. #include "tc-fpga.dtsi"
  36. #endif /* TARGET_FLAVOUR_FVP */
  37. #include "tc3-4-base.dtsi"
  38. / {
  39. /*
  40. * The kaslr-seed node is a placeholder in DT. In the booting
  41. * sequence, it will be initialized in U-Boot and then later
  42. * used by Linux kernel.
  43. */
  44. chosen {
  45. kaslr-seed = <0x0 0x0>;
  46. };
  47. spe-pmu-mid {
  48. status = "okay";
  49. };
  50. spe-pmu-big {
  51. status = "okay";
  52. };
  53. ni-pmu {
  54. compatible = "arm,ni-tower";
  55. reg = <0x0 0x4f000000 0x0 0x4000000>;
  56. };
  57. #if TARGET_FLAVOUR_FVP
  58. smmu_700: iommu@3f000000 {
  59. status = "okay";
  60. };
  61. smmu_700_dpu: iommu@4002a00000 {
  62. status = "okay";
  63. };
  64. #else
  65. smmu_600: smmu@2ce00000 {
  66. status = "okay";
  67. };
  68. #endif
  69. dp0: display@DPU_ADDR {
  70. #if TARGET_FLAVOUR_FVP
  71. iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>,
  72. <&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>;
  73. #else /* TARGET_FLAVOUR_FPGA */
  74. iommus = <&smmu_600 0>, <&smmu_600 1>, <&smmu_600 2>, <&smmu_600 3>,
  75. <&smmu_600 4>, <&smmu_600 5>, <&smmu_600 6>, <&smmu_600 7>,
  76. <&smmu_600 8>, <&smmu_600 9>;
  77. #endif
  78. };
  79. gpu: gpu@2d000000 {
  80. interrupts = <GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH 0>,
  81. <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH 0>,
  82. <GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH 0>;
  83. interrupt-names = "JOB", "MMU", "GPU";
  84. #if TARGET_FLAVOUR_FVP
  85. iommus = <&smmu_700 0x200>;
  86. #endif
  87. };
  88. };