renesas,r8a7779-cpg-clocks.txt 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. * Renesas R8A7779 Clock Pulse Generator (CPG)
  2. The CPG generates core clocks for the R8A7779. It includes one PLL and
  3. several fixed ratio dividers.
  4. The CPG also provides a Clock Domain for SoC devices, in combination with the
  5. CPG Module Stop (MSTP) Clocks.
  6. Required Properties:
  7. - compatible: Must be "renesas,r8a7779-cpg-clocks"
  8. - reg: Base address and length of the memory resource used by the CPG
  9. - clocks: Reference to the parent clock
  10. - #clock-cells: Must be 1
  11. - clock-output-names: The names of the clocks. Supported clocks are "plla",
  12. "z", "zs", "s", "s1", "p", "b", "out".
  13. - #power-domain-cells: Must be 0
  14. SoC devices that are part of the CPG/MSTP Clock Domain and can be power-managed
  15. through an MSTP clock should refer to the CPG device node in their
  16. "power-domains" property, as documented by the generic PM domain bindings in
  17. Documentation/devicetree/bindings/power/power_domain.txt.
  18. Examples
  19. --------
  20. - CPG device node:
  21. cpg_clocks: cpg_clocks@ffc80000 {
  22. compatible = "renesas,r8a7779-cpg-clocks";
  23. reg = <0xffc80000 0x30>;
  24. clocks = <&extal_clk>;
  25. #clock-cells = <1>;
  26. clock-output-names = "plla", "z", "zs", "s", "s1", "p",
  27. "b", "out";
  28. #power-domain-cells = <0>;
  29. };
  30. - CPG/MSTP Clock Domain member device node:
  31. sata: sata@fc600000 {
  32. compatible = "renesas,sata-r8a7779", "renesas,rcar-sata";
  33. reg = <0xfc600000 0x2000>;
  34. interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
  35. clocks = <&mstp1_clks R8A7779_CLK_SATA>;
  36. power-domains = <&cpg_clocks>;
  37. };