xref: /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/spi/spi-zynq-qspi.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunXilinx Zynq QSPI controller Device Tree Bindings
2*4882a593Smuzhiyun-------------------------------------------------
3*4882a593Smuzhiyun
4*4882a593SmuzhiyunRequired properties:
5*4882a593Smuzhiyun- compatible		: Should be "xlnx,zynq-qspi-1.0".
6*4882a593Smuzhiyun- reg			: Physical base address and size of QSPI registers map.
7*4882a593Smuzhiyun- interrupts		: Property with a value describing the interrupt
8*4882a593Smuzhiyun			  number.
9*4882a593Smuzhiyun- interrupt-parent	: Must be core interrupt controller
10*4882a593Smuzhiyun- clock-names		: List of input clock names - "ref_clk", "pclk"
11*4882a593Smuzhiyun			  (See clock bindings for details).
12*4882a593Smuzhiyun- clocks		: Clock phandles (see clock bindings for details).
13*4882a593Smuzhiyun
14*4882a593SmuzhiyunOptional properties:
15*4882a593Smuzhiyun- num-cs		: Number of chip selects used.
16*4882a593Smuzhiyun
17*4882a593SmuzhiyunExample:
18*4882a593Smuzhiyun	qspi@e000d000 {
19*4882a593Smuzhiyun		compatible = "xlnx,zynq-qspi-1.0";
20*4882a593Smuzhiyun		clock-names = "ref_clk", "pclk";
21*4882a593Smuzhiyun		clocks = <&clkc 10>, <&clkc 43>;
22*4882a593Smuzhiyun		interrupt-parent = <&intc>;
23*4882a593Smuzhiyun		interrupts = <0 19 4>;
24*4882a593Smuzhiyun		num-cs = <1>;
25*4882a593Smuzhiyun		reg = <0xe000d000 0x1000>;
26*4882a593Smuzhiyun	} ;
27