spi_pl022.txt 1.4 KB

12345678910111213141516171819202122232425262728293031323334
  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. - pl022,autosuspend-delay : delay in ms following transfer completion before
  12. the runtime power management system suspends the
  13. device. A setting of 0 indicates no delay and the
  14. device will be suspended immediately
  15. - pl022,rt : indicates the controller should run the message pump with realtime
  16. priority to minimise the transfer latency on the bus (boolean)
  17. SPI slave nodes must be children of the SPI master node and can
  18. contain the following properties.
  19. - pl022,interface : interface type:
  20. 0: SPI
  21. 1: Texas Instruments Synchronous Serial Frame Format
  22. 2: Microwire (Half Duplex)
  23. - pl022,com-mode : polling, interrupt or dma
  24. - pl022,rx-level-trig : Rx FIFO watermark level
  25. - pl022,tx-level-trig : Tx FIFO watermark level
  26. - pl022,ctrl-len : Microwire interface: Control length
  27. - pl022,wait-state : Microwire interface: Wait state
  28. - pl022,duplex : Microwire interface: Full/Half duplex