12ec3b628SLars-Peter ClausenAnalog Devices AXI SPI Engine controller Device Tree Bindings 22ec3b628SLars-Peter Clausen 32ec3b628SLars-Peter ClausenRequired properties: 42ec3b628SLars-Peter Clausen- compatible : Must be "adi,axi-spi-engine-1.00.a"" 52ec3b628SLars-Peter Clausen- reg : Physical base address and size of the register map. 62ec3b628SLars-Peter Clausen- interrupts : Property with a value describing the interrupt 72ec3b628SLars-Peter Clausen number. 82ec3b628SLars-Peter Clausen- clock-names : List of input clock names - "s_axi_aclk", "spi_clk" 92ec3b628SLars-Peter Clausen- clocks : Clock phandles and specifiers (See clock bindings for 102ec3b628SLars-Peter Clausen details on clock-names and clocks). 112ec3b628SLars-Peter Clausen- #address-cells : Must be <1> 122ec3b628SLars-Peter Clausen- #size-cells : Must be <0> 132ec3b628SLars-Peter Clausen 142ec3b628SLars-Peter ClausenOptional subnodes: 152ec3b628SLars-Peter Clausen Subnodes are use to represent the SPI slave devices connected to the SPI 162ec3b628SLars-Peter Clausen master. They follow the generic SPI bindings as outlined in spi-bus.txt. 172ec3b628SLars-Peter Clausen 182ec3b628SLars-Peter ClausenExample: 192ec3b628SLars-Peter Clausen 202ec3b628SLars-Peter Clausen spi@@44a00000 { 212ec3b628SLars-Peter Clausen compatible = "adi,axi-spi-engine-1.00.a"; 222ec3b628SLars-Peter Clausen reg = <0x44a00000 0x1000>; 232ec3b628SLars-Peter Clausen interrupts = <0 56 4>; 242ec3b628SLars-Peter Clausen clocks = <&clkc 15 &clkc 15>; 252ec3b628SLars-Peter Clausen clock-names = "s_axi_aclk", "spi_clk"; 262ec3b628SLars-Peter Clausen 272ec3b628SLars-Peter Clausen #address-cells = <1>; 282ec3b628SLars-Peter Clausen #size-cells = <0>; 292ec3b628SLars-Peter Clausen 302ec3b628SLars-Peter Clausen /* SPI devices */ 312ec3b628SLars-Peter Clausen }; 32