moxa,moxart-clock.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. Device Tree Clock bindings for arch-moxart
  2. This binding uses the common clock binding[1].
  3. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  4. MOXA ART SoCs allow to determine PLL output and APB frequencies
  5. by reading registers holding multiplier and divisor information.
  6. PLL:
  7. Required properties:
  8. - compatible : Must be "moxa,moxart-pll-clock"
  9. - #clock-cells : Should be 0
  10. - reg : Should contain registers location and length
  11. - clocks : Should contain phandle + clock-specifier for the parent clock
  12. Optional properties:
  13. - clock-output-names : Should contain clock name
  14. APB:
  15. Required properties:
  16. - compatible : Must be "moxa,moxart-apb-clock"
  17. - #clock-cells : Should be 0
  18. - reg : Should contain registers location and length
  19. - clocks : Should contain phandle + clock-specifier for the parent clock
  20. Optional properties:
  21. - clock-output-names : Should contain clock name
  22. For example:
  23. clk_pll: clk_pll@98100000 {
  24. compatible = "moxa,moxart-pll-clock";
  25. #clock-cells = <0>;
  26. reg = <0x98100000 0x34>;
  27. };
  28. clk_apb: clk_apb@98100000 {
  29. compatible = "moxa,moxart-apb-clock";
  30. #clock-cells = <0>;
  31. reg = <0x98100000 0x34>;
  32. clocks = <&clk_pll>;
  33. };