spi-img-spfi.txt 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. IMG Synchronous Peripheral Flash Interface (SPFI) controller
  2. Required properties:
  3. - compatible: Must be "img,spfi".
  4. - reg: Must contain the base address and length of the SPFI registers.
  5. - interrupts: Must contain the SPFI interrupt.
  6. - clocks: Must contain an entry for each entry in clock-names.
  7. See ../clock/clock-bindings.txt for details.
  8. - clock-names: Must include the following entries:
  9. - spfi: SPI operating clock
  10. - sys: SPI system interface clock
  11. - dmas: Must contain an entry for each entry in dma-names.
  12. See ../dma/dma.txt for details.
  13. - dma-names: Must include the following entries:
  14. - rx
  15. - tx
  16. - cs-gpios: Must specify the GPIOs used for chipselect lines.
  17. - #address-cells: Must be 1.
  18. - #size-cells: Must be 0.
  19. Optional properties:
  20. - img,supports-quad-mode: Should be set if the interface supports quad mode
  21. SPI transfers.
  22. Example:
  23. spi@18100f00 {
  24. compatible = "img,spfi";
  25. reg = <0x18100f00 0x100>;
  26. interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
  27. clocks = <&spi_clk>, <&system_clk>;
  28. clock-names = "spfi", "sys";
  29. dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
  30. dma-names = "rx", "tx";
  31. #address-cells = <1>;
  32. #size-cells = <0>;
  33. };