Drivers can be found at /drivers/spi/spi-zynqmp-gqspi.c
The following config options need to be enabled:
tristate "Xilinx ZynqMP GQSPI controller"
depends on SPI_MASTER && HAS_DMA
Enables Xilinx GQSPI controller driver for Zynq UltraScale+ MPSoC.
For MTD tests
tristate "MTD tests support (DANGEROUS)"
depends on m
This option includes various MTD tests into compilation. The tests
should normally be compiled as kernel modules. The modules perform
various checks and verifications when loaded.
GQSPI Controller Features:
The GQSPI controller used in Zynqmp supports the following features.
Support Low level (Generic) Access
Support Future Commands
Supports 3,4,6…N byte addressing
Supports Command Queuing (Generic FIFO depth is 32)
Supports 4 or 8-bit interface
Supports 2 Chip Select Lines
Supports 4-Bit Bi-Directional I/O signals
Supports x1/x2/x4 Read/Write
Supports 44-bit address space on AXI in DMA mode
Supports byte stripe when two data buses are connected
Supports single interrupt for QSPI/DMA Interrupt status
Linux Driver Features:
The Zynqmp GQSPI supports the following features:
Supports DMA for receiving the aligned data from the tx fifo.
Supports PIO read for receiving the unaligned data from the rx fifo.
Supports PIO write from programing page to the flash.
Supports extended addressing.
Supports SIngle,Dual Parallel and Dual Stacked configurations.