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