About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

Based on kernel version 3.15.4. Page generated on 2014-07-07 09:01 EST.

1	* Freescale (Enhanced) Configurable Serial Peripheral Interface
2	  (CSPI/eCSPI) for i.MX
3	
4	Required properties:
5	- compatible : Should be "fsl,<soc>-cspi" or "fsl,<soc>-ecspi"
6	- reg : Offset and length of the register set for the device
7	- interrupts : Should contain CSPI/eCSPI interrupt
8	- fsl,spi-num-chipselects : Contains the number of the chipselect
9	- cs-gpios : Specifies the gpio pins to be used for chipselects.
10	
11	Example:
12	
13	ecspi@70010000 {
14		#address-cells = <1>;
15		#size-cells = <0>;
16		compatible = "fsl,imx51-ecspi";
17		reg = <0x70010000 0x4000>;
18		interrupts = <36>;
19		fsl,spi-num-chipselects = <2>;
20		cs-gpios = <&gpio3 24 0>, /* GPIO3_24 */
21			   <&gpio3 25 0>; /* GPIO3_25 */
22	};
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.