spi.txt 795 B

123456789101112131415161718192021222324
  1. * SPI (Serial Peripheral Interface)
  2. Required properties:
  3. - cell-index : SPI controller index.
  4. - compatible : should be "fsl,spi".
  5. - mode : the SPI operation mode, it can be "cpu" or "cpu-qe".
  6. - reg : Offset and length of the register set for the device
  7. - interrupts : <a b> where a is the interrupt number and b is a
  8. field that represents an encoding of the sense and level
  9. information for the interrupt. This should be encoded based on
  10. the information in section 2) depending on the type of interrupt
  11. controller you have.
  12. - interrupt-parent : the phandle for the interrupt controller that
  13. services interrupts for this device.
  14. Example:
  15. spi@4c0 {
  16. cell-index = <0>;
  17. compatible = "fsl,spi";
  18. reg = <4c0 40>;
  19. interrupts = <82 0>;
  20. interrupt-parent = <700>;
  21. mode = "cpu";
  22. };