dpll.txt 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. Binding for Texas Instruments DPLL clock.
  2. Binding status: Unstable - ABI compatibility may be broken in the future
  3. This binding uses the common clock binding[1]. It assumes a
  4. register-mapped DPLL with usually two selectable input clocks
  5. (reference clock and bypass clock), with digital phase locked
  6. loop logic for multiplying the input clock to a desired output
  7. clock. This clock also typically supports different operation
  8. modes (locked, low power stop etc.) This binding has several
  9. sub-types, which effectively result in slightly different setup
  10. for the actual DPLL clock.
  11. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  12. Required properties:
  13. - compatible : shall be one of:
  14. "ti,omap3-dpll-clock",
  15. "ti,omap3-dpll-core-clock",
  16. "ti,omap3-dpll-per-clock",
  17. "ti,omap3-dpll-per-j-type-clock",
  18. "ti,omap4-dpll-clock",
  19. "ti,omap4-dpll-x2-clock",
  20. "ti,omap4-dpll-core-clock",
  21. "ti,omap4-dpll-m4xen-clock",
  22. "ti,omap4-dpll-j-type-clock",
  23. "ti,omap5-mpu-dpll-clock",
  24. "ti,am3-dpll-no-gate-clock",
  25. "ti,am3-dpll-j-type-clock",
  26. "ti,am3-dpll-no-gate-j-type-clock",
  27. "ti,am3-dpll-clock",
  28. "ti,am3-dpll-core-clock",
  29. "ti,am3-dpll-x2-clock",
  30. "ti,omap2-dpll-core-clock",
  31. - #clock-cells : from common clock binding; shall be set to 0.
  32. - clocks : link phandles of parent clocks, first entry lists reference clock
  33. and second entry bypass clock
  34. - reg : offsets for the register set for controlling the DPLL.
  35. Registers are listed in following order:
  36. "control" - contains the control register base address
  37. "idlest" - contains the idle status register base address
  38. "mult-div1" - contains the multiplier / divider register base address
  39. "autoidle" - contains the autoidle register base address (optional)
  40. ti,am3-* dpll types do not have autoidle register
  41. ti,omap2-* dpll type does not support idlest / autoidle registers
  42. Optional properties:
  43. - DPLL mode setting - defining any one or more of the following overrides
  44. default setting.
  45. - ti,low-power-stop : DPLL supports low power stop mode, gating output
  46. - ti,low-power-bypass : DPLL output matches rate of parent bypass clock
  47. - ti,lock : DPLL locks in programmed rate
  48. Examples:
  49. dpll_core_ck: dpll_core_ck@44e00490 {
  50. #clock-cells = <0>;
  51. compatible = "ti,omap4-dpll-core-clock";
  52. clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
  53. reg = <0x490>, <0x45c>, <0x488>, <0x468>;
  54. };
  55. dpll2_ck: dpll2_ck@48004004 {
  56. #clock-cells = <0>;
  57. compatible = "ti,omap3-dpll-clock";
  58. clocks = <&sys_ck>, <&dpll2_fck>;
  59. ti,low-power-stop;
  60. ti,low-power-bypass;
  61. ti,lock;
  62. reg = <0x4>, <0x24>, <0x34>, <0x40>;
  63. };
  64. dpll_core_ck: dpll_core_ck@44e00490 {
  65. #clock-cells = <0>;
  66. compatible = "ti,am3-dpll-core-clock";
  67. clocks = <&sys_clkin_ck>, <&sys_clkin_ck>;
  68. reg = <0x90>, <0x5c>, <0x68>;
  69. };
  70. dpll_ck: dpll_ck {
  71. #clock-cells = <0>;
  72. compatible = "ti,omap2-dpll-core-clock";
  73. clocks = <&sys_ck>, <&sys_ck>;
  74. reg = <0x0500>, <0x0540>;
  75. };