0001 IMG Synchronous Peripheral Flash Interface (SPFI) controller
0002
0003 Required properties:
0004 - compatible: Must be "img,spfi".
0005 - reg: Must contain the base address and length of the SPFI registers.
0006 - interrupts: Must contain the SPFI interrupt.
0007 - clocks: Must contain an entry for each entry in clock-names.
0008 See ../clock/clock-bindings.txt for details.
0009 - clock-names: Must include the following entries:
0010 - spfi: SPI operating clock
0011 - sys: SPI system interface clock
0012 - dmas: Must contain an entry for each entry in dma-names.
0013 See ../dma/dma.txt for details.
0014 - dma-names: Must include the following entries:
0015 - rx
0016 - tx
0017 - cs-gpios: Must specify the GPIOs used for chipselect lines.
0018 - #address-cells: Must be 1.
0019 - #size-cells: Must be 0.
0020
0021 Optional properties:
0022 - img,supports-quad-mode: Should be set if the interface supports quad mode
0023 SPI transfers.
0024 - spfi-max-frequency: Maximum speed supported by the spfi block.
0025
0026 Example:
0027
0028 spi@18100f00 {
0029 compatible = "img,spfi";
0030 reg = <0x18100f00 0x100>;
0031 interrupts = <GIC_SHARED 22 IRQ_TYPE_LEVEL_HIGH>;
0032 clocks = <&spi_clk>, <&system_clk>;
0033 clock-names = "spfi", "sys";
0034 dmas = <&mdc 9 0xffffffff 0>, <&mdc 10 0xffffffff 0>;
0035 dma-names = "rx", "tx";
0036
0037 #address-cells = <1>;
0038 #size-cells = <0>;
0039 };