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