qcom,q6v5.txt 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Qualcomm Hexagon Peripheral Image Loader
  2. This document defines the binding for a component that loads and boots firmware
  3. on the Qualcomm Hexagon core.
  4. - compatible:
  5. Usage: required
  6. Value type: <string>
  7. Definition: must be one of:
  8. "qcom,q6v5-pil"
  9. - reg:
  10. Usage: required
  11. Value type: <prop-encoded-array>
  12. Definition: must specify the base address and size of the qdsp6 and
  13. rmb register blocks
  14. - reg-names:
  15. Usage: required
  16. Value type: <stringlist>
  17. Definition: must be "q6dsp" and "rmb"
  18. - interrupts-extended:
  19. Usage: required
  20. Value type: <prop-encoded-array>
  21. Definition: must list the watchdog, fatal IRQs ready, handover and
  22. stop-ack IRQs
  23. - interrupt-names:
  24. Usage: required
  25. Value type: <stringlist>
  26. Definition: must be "wdog", "fatal", "ready", "handover", "stop-ack"
  27. - clocks:
  28. Usage: required
  29. Value type: <phandle>
  30. Definition: reference to the iface, bus and mem clocks to be held on
  31. behalf of the booting of the Hexagon core
  32. - clock-names:
  33. Usage: required
  34. Value type: <stringlist>
  35. Definition: must be "iface", "bus", "mem"
  36. - resets:
  37. Usage: required
  38. Value type: <phandle>
  39. Definition: reference to the reset-controller for the modem sub-system
  40. - reset-names:
  41. Usage: required
  42. Value type: <stringlist>
  43. Definition: must be "mss_restart"
  44. - cx-supply:
  45. - mss-supply:
  46. - mx-supply:
  47. - pll-supply:
  48. Usage: required
  49. Value type: <phandle>
  50. Definition: reference to the regulators to be held on behalf of the
  51. booting of the Hexagon core
  52. - qcom,smem-states:
  53. Usage: required
  54. Value type: <phandle>
  55. Definition: reference to the smem state for requesting the Hexagon to
  56. shut down
  57. - qcom,smem-state-names:
  58. Usage: required
  59. Value type: <stringlist>
  60. Definition: must be "stop"
  61. - qcom,halt-regs:
  62. Usage: required
  63. Value type: <prop-encoded-array>
  64. Definition: a phandle reference to a syscon representing TCSR followed
  65. by the three offsets within syscon for q6, modem and nc
  66. halt registers.
  67. = SUBNODES:
  68. The Hexagon node must contain two subnodes, named "mba" and "mpss" representing
  69. the memory regions used by the Hexagon firmware. Each sub-node must contain:
  70. - memory-region:
  71. Usage: required
  72. Value type: <phandle>
  73. Definition: reference to the reserved-memory for the region
  74. = EXAMPLE
  75. The following example describes the resources needed to boot control the
  76. Hexagon, as it is found on MSM8974 boards.
  77. modem-rproc@fc880000 {
  78. compatible = "qcom,q6v5-pil";
  79. reg = <0xfc880000 0x100>,
  80. <0xfc820000 0x020>;
  81. reg-names = "qdsp6", "rmb";
  82. interrupts-extended = <&intc 0 24 1>,
  83. <&modem_smp2p_in 0 0>,
  84. <&modem_smp2p_in 1 0>,
  85. <&modem_smp2p_in 2 0>,
  86. <&modem_smp2p_in 3 0>;
  87. interrupt-names = "wdog",
  88. "fatal",
  89. "ready",
  90. "handover",
  91. "stop-ack";
  92. clocks = <&gcc GCC_MSS_Q6_BIMC_AXI_CLK>,
  93. <&gcc GCC_MSS_CFG_AHB_CLK>,
  94. <&gcc GCC_BOOT_ROM_AHB_CLK>;
  95. clock-names = "iface", "bus", "mem";
  96. qcom,halt-regs = <&tcsr_mutex_block 0x1180 0x1200 0x1280>;
  97. resets = <&gcc GCC_MSS_RESTART>;
  98. reset-names = "mss_restart";
  99. cx-supply = <&pm8841_s2>;
  100. mss-supply = <&pm8841_s3>;
  101. mx-supply = <&pm8841_s1>;
  102. pll-supply = <&pm8941_l12>;
  103. qcom,smem-states = <&modem_smp2p_out 0>;
  104. qcom,smem-state-names = "stop";
  105. mba {
  106. memory-region = <&mba_region>;
  107. };
  108. mpss {
  109. memory-region = <&mpss_region>;
  110. };
  111. };