xref: /freebsd/sys/contrib/device-tree/Bindings/spi/spi-zynq-qspi.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel VadotXilinx Zynq QSPI controller Device Tree Bindings
2*c66ec88fSEmmanuel Vadot-------------------------------------------------------------------
3*c66ec88fSEmmanuel Vadot
4*c66ec88fSEmmanuel VadotRequired properties:
5*c66ec88fSEmmanuel Vadot- compatible		: Should be "xlnx,zynq-qspi-1.0".
6*c66ec88fSEmmanuel Vadot- reg			: Physical base address and size of QSPI 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
16*c66ec88fSEmmanuel VadotExample:
17*c66ec88fSEmmanuel Vadot	qspi: spi@e000d000 {
18*c66ec88fSEmmanuel Vadot		compatible = "xlnx,zynq-qspi-1.0";
19*c66ec88fSEmmanuel Vadot		reg = <0xe000d000 0x1000>;
20*c66ec88fSEmmanuel Vadot		interrupt-parent = <&intc>;
21*c66ec88fSEmmanuel Vadot		interrupts = <0 19 4>;
22*c66ec88fSEmmanuel Vadot		clock-names = "ref_clk", "pclk";
23*c66ec88fSEmmanuel Vadot		clocks = <&clkc 10>, <&clkc 43>;
24*c66ec88fSEmmanuel Vadot		num-cs = <1>;
25*c66ec88fSEmmanuel Vadot	};
26