tc3-4-base.dtsi 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. * Copyright (c) 2020-2024, Arm Limited. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #define LIT_CAPACITY 239
  7. #define MID_CAPACITY 686
  8. #define BIG_CAPACITY 1024
  9. #define MHU_TX_COMPAT "arm,mhuv3"
  10. #define MHU_TX_INT_NAME ""
  11. #define MHU_RX_COMPAT "arm,mhuv3"
  12. #define MHU_OFFSET 0x10000
  13. #define MHU_MBOX_CELLS 3
  14. #define MHU_RX_INT_NUM 300
  15. #define MHU_RX_INT_NAME "combined"
  16. #define MPAM_ADDR 0x0 0x5f010000 /* 0x5f01_0000 */
  17. #define UARTCLK_FREQ 3750000
  18. #if TARGET_FLAVOUR_FVP
  19. #define DPU_ADDR 4000000000
  20. #define DPU_IRQ 579
  21. #elif TARGET_FLAVOUR_FPGA
  22. #define DPU_ADDR 2cc00000
  23. #define DPU_IRQ 69
  24. #endif
  25. #include "tc-base.dtsi"
  26. / {
  27. cpus {
  28. CPU2:cpu@200 {
  29. clocks = <&scmi_dvfs 1>;
  30. capacity-dmips-mhz = <MID_CAPACITY>;
  31. };
  32. CPU3:cpu@300 {
  33. clocks = <&scmi_dvfs 1>;
  34. capacity-dmips-mhz = <MID_CAPACITY>;
  35. };
  36. CPU6:cpu@600 {
  37. clocks = <&scmi_dvfs 2>;
  38. capacity-dmips-mhz = <BIG_CAPACITY>;
  39. };
  40. CPU7:cpu@700 {
  41. clocks = <&scmi_dvfs 2>;
  42. capacity-dmips-mhz = <BIG_CAPACITY>;
  43. };
  44. };
  45. gic: interrupt-controller@GIC_CTRL_ADDR {
  46. ppi-partitions {
  47. ppi_partition_little: interrupt-partition-0 {
  48. affinity = <&CPU0>, <&CPU1>;
  49. };
  50. ppi_partition_mid: interrupt-partition-1 {
  51. affinity = <&CPU2>, <&CPU3>, <&CPU4>, <&CPU5>;
  52. };
  53. ppi_partition_big: interrupt-partition-2 {
  54. affinity = <&CPU6>, <&CPU7>;
  55. };
  56. };
  57. };
  58. sram: sram@6000000 {
  59. cpu_scp_scmi_p2a: scp-shmem@80 {
  60. compatible = "arm,scmi-shmem";
  61. reg = <0x80 0x80>;
  62. };
  63. };
  64. firmware {
  65. scmi {
  66. mboxes = <&mbox_db_tx 0 0 0 &mbox_db_rx 0 0 0 &mbox_db_rx 0 0 1>;
  67. shmem = <&cpu_scp_scmi_a2p &cpu_scp_scmi_p2a>;
  68. };
  69. };
  70. };