st,clkgen.txt 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Binding for a Clockgen hardware block found on
  2. certain STMicroelectronics consumer electronics SoC devices.
  3. A Clockgen node can contain pll, diviser or multiplexer nodes.
  4. We will find only the base address of the Clockgen, this base
  5. address is common of all subnode.
  6. clockgen_node {
  7. reg = <>;
  8. pll_node {
  9. ...
  10. };
  11. quadfs_node {
  12. ...
  13. };
  14. mux_node {
  15. ...
  16. };
  17. flexgen_node {
  18. ...
  19. };
  20. ...
  21. };
  22. This binding uses the common clock binding[1].
  23. Each subnode should use the binding described in [2]..[7]
  24. [1] Documentation/devicetree/bindings/clock/clock-bindings.txt
  25. [3] Documentation/devicetree/bindings/clock/st,clkgen-mux.txt
  26. [4] Documentation/devicetree/bindings/clock/st,clkgen-pll.txt
  27. [7] Documentation/devicetree/bindings/clock/st,quadfs.txt
  28. [8] Documentation/devicetree/bindings/clock/st,flexgen.txt
  29. Required properties:
  30. - reg : A Base address and length of the register set.
  31. Example:
  32. clockgen-a@090ff000 {
  33. compatible = "st,clkgen-c32";
  34. reg = <0x90ff000 0x1000>;
  35. clk_s_a0_pll: clk-s-a0-pll {
  36. #clock-cells = <1>;
  37. compatible = "st,clkgen-pll0";
  38. clocks = <&clk_sysin>;
  39. clock-output-names = "clk-s-a0-pll-ofd-0";
  40. };
  41. clk_s_a0_flexgen: clk-s-a0-flexgen {
  42. compatible = "st,flexgen";
  43. #clock-cells = <1>;
  44. clocks = <&clk_s_a0_pll 0>,
  45. <&clk_sysin>;
  46. clock-output-names = "clk-ic-lmi0";
  47. };
  48. };