mxs-spi.txt 734 B

123456789101112131415161718192021222324252627
  1. * Freescale MX233/MX28 SSP/SPI
  2. Required properties:
  3. - compatible: Should be "fsl,<soc>-spi", where soc is "imx23" or "imx28"
  4. - reg: Offset and length of the register set for the device
  5. - interrupts: Should contain SSP ERROR interrupt
  6. - dmas: DMA specifier, consisting of a phandle to DMA controller node
  7. and SSP DMA channel ID.
  8. Refer to dma.txt and fsl-mxs-dma.txt for details.
  9. - dma-names: Must be "rx-tx".
  10. Optional properties:
  11. - clock-frequency : Input clock frequency to the SPI block in Hz.
  12. Default is 160000000 Hz.
  13. Example:
  14. ssp0: ssp@80010000 {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. compatible = "fsl,imx28-spi";
  18. reg = <0x80010000 0x2000>;
  19. interrupts = <96>;
  20. dmas = <&dma_apbh 0>;
  21. dma-names = "rx-tx";
  22. };