About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / spi / fsl-imx-cspi.txt




Custom Search

Based on kernel version 4.1. Page generated on 2015-06-28 12:11 EST.

1	* Freescale (Enhanced) Configurable Serial Peripheral Interface
2	  (CSPI/eCSPI) for i.MX
3	
4	Required properties:
5	- compatible :
6	  - "fsl,imx1-cspi" for SPI compatible with the one integrated on i.MX1
7	  - "fsl,imx21-cspi" for SPI compatible with the one integrated on i.MX21
8	  - "fsl,imx27-cspi" for SPI compatible with the one integrated on i.MX27
9	  - "fsl,imx31-cspi" for SPI compatible with the one integrated on i.MX31
10	  - "fsl,imx35-cspi" for SPI compatible with the one integrated on i.MX35
11	  - "fsl,imx51-ecspi" for SPI compatible with the one integrated on i.MX51
12	- reg : Offset and length of the register set for the device
13	- interrupts : Should contain CSPI/eCSPI interrupt
14	- fsl,spi-num-chipselects : Contains the number of the chipselect
15	- cs-gpios : Specifies the gpio pins to be used for chipselects.
16	- clocks : Clock specifiers for both ipg and per clocks.
17	- clock-names : Clock names should include both "ipg" and "per"
18	See the clock consumer binding,
19		Documentation/devicetree/bindings/clock/clock-bindings.txt
20	- dmas: DMA specifiers for tx and rx dma. See the DMA client binding,
21			Documentation/devicetree/bindings/dma/dma.txt
22	- dma-names: DMA request names should include "tx" and "rx" if present.
23	
24	Example:
25	
26	ecspi@70010000 {
27		#address-cells = <1>;
28		#size-cells = <0>;
29		compatible = "fsl,imx51-ecspi";
30		reg = <0x70010000 0x4000>;
31		interrupts = <36>;
32		fsl,spi-num-chipselects = <2>;
33		cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */
34			   <&gpio3 25 0>; /* GPIO3_25 */
35		dmas = <&sdma 3 7 1>, <&sdma 4 7 2>;
36		dma-names = "rx", "tx";
37	};
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.