fsl-imx-cspi.txt 680 B

1234567891011121314151617181920212223
  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. Example:
  10. ecspi@70010000 {
  11. #address-cells = <1>;
  12. #size-cells = <0>;
  13. compatible = "fsl,imx51-ecspi";
  14. reg = <0x70010000 0x4000>;
  15. interrupts = <36>;
  16. fsl,spi-num-chipselects = <2>;
  17. cs-gpios = <&gpio3 24 0>, /* GPIO4_24 */
  18. <&gpio3 25 0>; /* GPIO4_25 */
  19. };