This version is outdated by a newer approved version.DiffThis version (06 Oct 2016 17:47) was approved by Lars-Peter Clausen.The Previously approved version (06 Oct 2016 17:34) is available.Diff

This is an old revision of the document!

SPI Engine Peripheral Linux Driver

Supported Devices

Source Code


Source Mainlined?
git yes (No offloading support)


Function File
driver spi-axi-spi-engine.c

Device initialization

Devicetree bindings

Required properties:

  • compatible: Must be “adi,axi-spi-engine-1.00.a”“
  • reg: Physical base address and size of the register map.
  • interrupts: Property with a value describing the interrupt number.
  • clock-names: List of input clock names - “s_axi_aclk”, “spi_clk”
  • clocks: Clock phandles and specifiers (See clock bindings for details on clock-names and clocks).
  • #address-cells: Must be <1>
  • #size-cells: Must be <0>

Optional subnodes

Subnodes are use to represent the SPI slave devices connected to the SPI master. They follow the generic SPI bindings as outlined in spi-bus.txt.


spi@@44a00000 {
	compatible = "adi,axi-spi-engine-1.00.a";
	reg = <0x44a00000 0x1000>;
	interrupts = <0 56 4>;
	clocks = <&clkc 15 &clkc 15>;
	clock-names = "s_axi_aclk", "spi_clk";
	#address-cells = <1>;
	#size-cells = <0>;
	/* SPI devices */

More information

resources/tools-software/linux-drivers/spi/spi_engine.1475768866.txt.gz · Last modified: 06 Oct 2016 17:47 by Lars-Peter Clausen