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- interrupt-parent : Must be core interrupt controller 10- clock-names : List of input clock names - "ref_clk", "pclk" 11 (See clock bindings for details). 12- clocks : Clock phandles (see clock bindings for details). 13- spi-max-frequency : Maximum SPI clocking speed of device in Hz 14 15Optional properties: 16- num-cs : Number of chip selects used. 17 If a decoder is used, this will be the number of 18 chip selects after the decoder. 19- is-decoded-cs : Flag to indicate whether decoder is used or not. 20 21Example: 22 23 spi@e0007000 { 24 compatible = "xlnx,zynq-spi-r1p6"; 25 clock-names = "ref_clk", "pclk"; 26 clocks = <&clkc 26>, <&clkc 35>; 27 interrupt-parent = <&intc>; 28 interrupts = <0 49 4>; 29 num-cs = <4>; 30 is-decoded-cs = <0>; 31 reg = <0xe0007000 0x1000>; 32 } ; 33