qcom,a7-cpucc.txt 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Qualcomm Application A7 CPU clock driver
  2. -------------------------------------
  3. It is the clock controller driver which provides higher frequency
  4. clocks and allows A7 CPU frequency scaling on sdxpoorwills based platforms.
  5. Required properties:
  6. - compatible : shall contain only one of the following:
  7. "qcom,cpu-sdxpoorwills",
  8. - clocks : Phandle to the clock device.
  9. - clock-names: Names of the used clocks.
  10. - qcom,a7cc-init-rate = Initial rate which needs to be set from cpu driver.
  11. - reg : shall contain base register offset and size.
  12. - reg-names : Names of the bases for the above registers.
  13. - vdd_dig_ao-supply : The regulator powering the APSS PLL.
  14. - cpu-vdd-supply : The regulator powering the APSS RCG.
  15. - qcom,rcg-reg-offset : Register offset for APSS RCG.
  16. - qcom,speedX-bin-vZ : A table of CPU frequency (Hz) to regulator voltage (uV) mapping.
  17. Format: <freq uV>
  18. This represents the max frequency possible for each possible
  19. power configuration for a CPU that's binned as speed bin X,
  20. speed bin revision Z. Speed bin values can be between [0-7]
  21. and the version can be between [0-3].
  22. - #clock-cells : shall contain 1.
  23. Optional properties :
  24. - reg-names: "efuse",
  25. Example:
  26. clock_cpu: qcom,clock-a7@17808100 {
  27. compatible = "qcom,cpu-sdxpoorwills";
  28. clocks = <&clock_rpmh RPMH_CXO_CLK_A>;
  29. clock-names = "xo_ao";
  30. qcom,a7cc-init-rate = <1497600000>;
  31. reg = <0x17808100 0x7F10>;
  32. reg-names = "apcs_pll";
  33. vdd_dig_ao-supply = <&pmxpoorwills_s5_level_ao>;
  34. cpu-vdd-supply = <&pmxpoorwills_s5_level_ao>;
  35. qcom,rcg-reg-offset = <0x7F08>;
  36. qcom,speed0-bin-v0 =
  37. < 0 RPMH_REGULATOR_LEVEL_OFF>,
  38. < 345600000 RPMH_REGULATOR_LEVEL_LOW_SVS>,
  39. < 576000000 RPMH_REGULATOR_LEVEL_SVS>,
  40. < 1094400000 RPMH_REGULATOR_LEVEL_NOM>,
  41. < 1497600000 RPMH_REGULATOR_LEVEL_TURBO>;
  42. #clock-cells = <1>;
  43. };