spi_pl022.txt 1001 B

123456789101112131415161718192021222324252627
  1. ARM PL022 SPI controller
  2. Required properties:
  3. - compatible : "arm,pl022", "arm,primecell"
  4. - reg : Offset and length of the register set for the device
  5. - interrupts : Should contain SPI controller interrupt
  6. Optional properties:
  7. - num-cs : total number of chipselects
  8. - cs-gpios : should specify GPIOs used for chipselects.
  9. The gpios will be referred to as reg = <index> in the SPI child nodes.
  10. If unspecified, a single SPI device without a chip select can be used.
  11. SPI slave nodes must be children of the SPI master node and can
  12. contain the following properties.
  13. - pl022,interface : interface type:
  14. 0: SPI
  15. 1: Texas Instruments Synchronous Serial Frame Format
  16. 2: Microwire (Half Duplex)
  17. - pl022,com-mode : polling, interrupt or dma
  18. - pl022,rx-level-trig : Rx FIFO watermark level
  19. - pl022,tx-level-trig : Tx FIFO watermark level
  20. - pl022,ctrl-len : Microwire interface: Control length
  21. - pl022,wait-state : Microwire interface: Wait state
  22. - pl022,duplex : Microwire interface: Full/Half duplex