spi-cadence.txt 963 B

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