tc4.dts 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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 46240000 /* hex */
  11. #define MHU_RX_ADDR 46250000 /* hex */
  12. #define LIT_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3"
  13. #define MID_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3"
  14. #define BIG_CPU_PMU_COMPATIBLE "arm,armv8-pmuv3"
  15. #define RSE_MHU_TX_ADDR 49020000 /* hex */
  16. #define RSE_MHU_RX_ADDR 49030000 /* hex */
  17. #define ETHERNET_ADDR 64000000
  18. #define ETHERNET_INT 799
  19. #define SYS_REGS_ADDR 60080000
  20. #define MMC_ADDR 600b0000
  21. #define MMC_INT_0 778
  22. #define MMC_INT_1 779
  23. #define RTC_ADDR 600a0000
  24. #define RTC_INT 777
  25. #define KMI_0_ADDR 60100000
  26. #define KMI_0_INT 784
  27. #define KMI_1_ADDR 60110000
  28. #define KMI_1_INT 785
  29. #define VIRTIO_BLOCK_ADDR 60020000
  30. #define VIRTIO_BLOCK_INT 769
  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. smmu_700: iommu@3f000000 {
  40. status = "okay";
  41. };
  42. smmu_700_dpu: iommu@4002a00000 {
  43. status = "okay";
  44. };
  45. dp0: display@DPU_ADDR {
  46. iommus = <&smmu_700_dpu 0x000>, <&smmu_700_dpu 0x100>,
  47. <&smmu_700_dpu 0x200>, <&smmu_700_dpu 0x600>;
  48. };
  49. gpu: gpu@2d000000 {
  50. interrupts = <GIC_SPI 242 IRQ_TYPE_LEVEL_HIGH 0>;
  51. interrupt-names = "IRQAW";
  52. iommus = <&smmu_700 0x200>;
  53. };
  54. dsu-pmu {
  55. interrupts = <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH 0>;
  56. };
  57. cs-pmu@4 {
  58. compatible = "arm,coresight-pmu";
  59. reg = <0x0 MCN_PMU_ADDR(4) 0x0 0xffc>;
  60. };
  61. cs-pmu@5 {
  62. compatible = "arm,coresight-pmu";
  63. reg = <0x0 MCN_PMU_ADDR(5) 0x0 0xffc>;
  64. };
  65. cs-pmu@6 {
  66. compatible = "arm,coresight-pmu";
  67. reg = <0x0 MCN_PMU_ADDR(6) 0x0 0xffc>;
  68. };
  69. cs-pmu@7 {
  70. compatible = "arm,coresight-pmu";
  71. reg = <0x0 MCN_PMU_ADDR(7) 0x0 0xffc>;
  72. };
  73. };