spi-cadence.txt 1018 B

12345678910111213141516171819202122232425262728293031
  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. Optional properties:
  13. - num-cs : Number of chip selects used.
  14. If a decoder is used, this will be the number of
  15. chip selects after the decoder.
  16. - is-decoded-cs : Flag to indicate whether decoder is used or not.
  17. Example:
  18. spi@e0007000 {
  19. compatible = "xlnx,zynq-spi-r1p6";
  20. clock-names = "ref_clk", "pclk";
  21. clocks = <&clkc 26>, <&clkc 35>;
  22. interrupt-parent = <&intc>;
  23. interrupts = <0 49 4>;
  24. num-cs = <4>;
  25. is-decoded-cs = <0>;
  26. reg = <0xe0007000 0x1000>;
  27. } ;