zynq-7000.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Device Tree Clock bindings for the Zynq 7000 EPP
  2. The Zynq EPP has several different clk providers, each with there own bindings.
  3. The purpose of this document is to document their usage.
  4. See clock_bindings.txt for more information on the generic clock bindings.
  5. See Chapter 25 of Zynq TRM for more information about Zynq clocks.
  6. == PLLs ==
  7. Used to describe the ARM_PLL, DDR_PLL, and IO_PLL.
  8. Required properties:
  9. - #clock-cells : shall be 0 (only one clock is output from this node)
  10. - compatible : "xlnx,zynq-pll"
  11. - reg : pair of u32 values, which are the address offsets within the SLCR
  12. of the relevant PLL_CTRL register and PLL_CFG register respectively
  13. - clocks : phandle for parent clock. should be the phandle for ps_clk
  14. Optional properties:
  15. - clock-output-names : name of the output clock
  16. Example:
  17. armpll: armpll {
  18. #clock-cells = <0>;
  19. compatible = "xlnx,zynq-pll";
  20. clocks = <&ps_clk>;
  21. reg = <0x100 0x110>;
  22. clock-output-names = "armpll";
  23. };
  24. == Peripheral clocks ==
  25. Describes clock node for the SDIO, SMC, SPI, QSPI, and UART clocks.
  26. Required properties:
  27. - #clock-cells : shall be 1
  28. - compatible : "xlnx,zynq-periph-clock"
  29. - reg : a single u32 value, describing the offset within the SLCR where
  30. the CLK_CTRL register is found for this peripheral
  31. - clocks : phandle for parent clocks. should hold phandles for
  32. the IO_PLL, ARM_PLL, and DDR_PLL in order
  33. - clock-output-names : names of the output clock(s). For peripherals that have
  34. two output clocks (for example, the UART), two clocks
  35. should be listed.
  36. Example:
  37. uart_clk: uart_clk {
  38. #clock-cells = <1>;
  39. compatible = "xlnx,zynq-periph-clock";
  40. clocks = <&iopll &armpll &ddrpll>;
  41. reg = <0x154>;
  42. clock-output-names = "uart0_ref_clk",
  43. "uart1_ref_clk";
  44. };