1*c66ec88fSEmmanuel VadotCadence SPI controller Device Tree Bindings 2*c66ec88fSEmmanuel Vadot------------------------------------------- 3*c66ec88fSEmmanuel Vadot 4*c66ec88fSEmmanuel VadotRequired properties: 5*c66ec88fSEmmanuel Vadot- compatible : Should be "cdns,spi-r1p6" or "xlnx,zynq-spi-r1p6". 6*c66ec88fSEmmanuel Vadot- reg : Physical base address and size of SPI registers map. 7*c66ec88fSEmmanuel Vadot- interrupts : Property with a value describing the interrupt 8*c66ec88fSEmmanuel Vadot number. 9*c66ec88fSEmmanuel Vadot- clock-names : List of input clock names - "ref_clk", "pclk" 10*c66ec88fSEmmanuel Vadot (See clock bindings for details). 11*c66ec88fSEmmanuel Vadot- clocks : Clock phandles (see clock bindings for details). 12*c66ec88fSEmmanuel Vadot 13*c66ec88fSEmmanuel VadotOptional properties: 14*c66ec88fSEmmanuel Vadot- num-cs : Number of chip selects used. 15*c66ec88fSEmmanuel Vadot If a decoder is used, this will be the number of 16*c66ec88fSEmmanuel Vadot chip selects after the decoder. 17*c66ec88fSEmmanuel Vadot- is-decoded-cs : Flag to indicate whether decoder is used or not. 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel VadotExample: 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot spi@e0007000 { 22*c66ec88fSEmmanuel Vadot compatible = "xlnx,zynq-spi-r1p6"; 23*c66ec88fSEmmanuel Vadot clock-names = "ref_clk", "pclk"; 24*c66ec88fSEmmanuel Vadot clocks = <&clkc 26>, <&clkc 35>; 25*c66ec88fSEmmanuel Vadot interrupt-parent = <&intc>; 26*c66ec88fSEmmanuel Vadot interrupts = <0 49 4>; 27*c66ec88fSEmmanuel Vadot num-cs = <4>; 28*c66ec88fSEmmanuel Vadot is-decoded-cs = <0>; 29*c66ec88fSEmmanuel Vadot reg = <0xe0007000 0x1000>; 30*c66ec88fSEmmanuel Vadot } ; 31