About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / i2c / i2c-mxs.txt




Custom Search

Based on kernel version 3.16. Page generated on 2014-08-06 21:37 EST.

1	* Freescale MXS Inter IC (I2C) Controller
2	
3	Required properties:
4	- compatible: Should be "fsl,<chip>-i2c"
5	- reg: Should contain registers location and length
6	- interrupts: Should contain ERROR interrupt number
7	- clock-frequency: Desired I2C bus clock frequency in Hz.
8	                   Only 100000Hz and 400000Hz modes are supported.
9	- dmas: DMA specifier, consisting of a phandle to DMA controller node
10	  and I2C DMA channel ID.
11	  Refer to dma.txt and fsl-mxs-dma.txt for details.
12	- dma-names: Must be "rx-tx".
13	
14	Examples:
15	
16	i2c0: i2c@80058000 {
17		#address-cells = <1>;
18		#size-cells = <0>;
19		compatible = "fsl,imx28-i2c";
20		reg = <0x80058000 2000>;
21		interrupts = <111>;
22		clock-frequency = <100000>;
23		dmas = <&dma_apbx 6>;
24		dma-names = "rx-tx";
25	};
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.