fsl-imx-cspi.txt 933 B

123456789101112131415161718192021222324252627
  1. * Freescale (Enhanced) Configurable Serial Peripheral Interface
  2. (CSPI/eCSPI) for i.MX
  3. Required properties:
  4. - compatible : Should be "fsl,<soc>-cspi" or "fsl,<soc>-ecspi"
  5. - reg : Offset and length of the register set for the device
  6. - interrupts : Should contain CSPI/eCSPI interrupt
  7. - fsl,spi-num-chipselects : Contains the number of the chipselect
  8. - cs-gpios : Specifies the gpio pins to be used for chipselects.
  9. - dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
  10. Documentation/devicetree/bindings/dma/dma.txt
  11. - dma-names: DMA request names should include "tx" and "rx" if present.
  12. Example:
  13. ecspi@70010000 {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. compatible = "fsl,imx51-ecspi";
  17. reg = <0x70010000 0x4000>;
  18. interrupts = <36>;
  19. fsl,spi-num-chipselects = <2>;
  20. cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */
  21. <&gpio3 25 0>; /* GPIO3_25 */
  22. dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
  23. dma-names = "rx", "tx";
  24. };