artpec6.txt 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * Clock bindings for Axis ARTPEC-6 chip
  2. The bindings are based on the clock provider binding in
  3. Documentation/devicetree/bindings/clock/clock-bindings.txt
  4. External clocks:
  5. ----------------
  6. There are two external inputs to the main clock controller which should be
  7. provided using the common clock bindings.
  8. - "sys_refclk": External 50 Mhz oscillator (required)
  9. - "i2s_refclk": Alternate audio reference clock (optional).
  10. Main clock controller
  11. ---------------------
  12. Required properties:
  13. - #clock-cells: Should be <1>
  14. See dt-bindings/clock/axis,artpec6-clkctrl.h for the list of valid identifiers.
  15. - compatible: Should be "axis,artpec6-clkctrl"
  16. - reg: Must contain the base address and length of the system controller
  17. - clocks: Must contain a phandle entry for each clock in clock-names
  18. - clock-names: Must include the external oscillator ("sys_refclk"). Optional
  19. ones are the audio reference clock ("i2s_refclk") and the audio fractional
  20. dividers ("frac_clk0" and "frac_clk1").
  21. Examples:
  22. ext_clk: ext_clk {
  23. #clock-cells = <0>;
  24. compatible = "fixed-clock";
  25. clock-frequency = <50000000>;
  26. };
  27. clkctrl: clkctrl@f8000000 {
  28. #clock-cells = <1>;
  29. compatible = "axis,artpec6-clkctrl";
  30. reg = <0xf8000000 0x48>;
  31. clocks = <&ext_clk>;
  32. clock-names = "sys_refclk";
  33. };