spi-zynq.txt 1.1 KB

1234567891011121314151617181920212223242526272829303132
  1. Cadence SPI controller Device Tree Bindings
  2. -------------------------------------------
  3. Required properties:
  4. - compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6".
  5. - reg : Physical base address and size of SPI registers map.
  6. - interrupts : Property with a value describing the interrupt
  7. number.
  8. - interrupt-parent : Must be core interrupt controller
  9. - clock-names : List of input clock names - "ref_clk", "pclk"
  10. (See clock bindings for details).
  11. - clocks : Clock phandles (see clock bindings for details).
  12. - spi-max-frequency : Maximum SPI clocking speed of device in Hz
  13. Optional properties:
  14. - num-cs : Number of chip selects used.
  15. If a decoder is used, this will be the number of
  16. chip selects after the decoder.
  17. - is-decoded-cs : Flag to indicate whether decoder is used or not.
  18. Example:
  19. spi@e0007000 {
  20. compatible = "xlnx,zynq-spi-r1p6";
  21. clock-names = "ref_clk", "pclk";
  22. clocks = <&clkc 26>, <&clkc 35>;
  23. interrupt-parent = <&intc>;
  24. interrupts = <0 49 4>;
  25. num-cs = <4>;
  26. is-decoded-cs = <0>;
  27. reg = <0xe0007000 0x1000>;
  28. } ;