About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

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

1	
2	* Marvell MV64XXX I2C controller
3	
4	Required properties :
5	
6	 - reg             : Offset and length of the register set for the device
7	 - compatible      : Should be either:
8	                     - "allwinner,sun4i-a10-i2c"
9	                     - "allwinner,sun6i-a31-i2c"
10	                     - "marvell,mv64xxx-i2c"
11	                     - "marvell,mv78230-i2c"
12	                     - "marvell,mv78230-a0-i2c"
13	                       * Note: Only use "marvell,mv78230-a0-i2c" for a
14	                         very rare, initial version of the SoC which
15	                         had broken offload support.  Linux
16	                         auto-detects this and sets it appropriately.
17	 - interrupts      : The interrupt number
18	
19	Optional properties :
20	
21	 - clock-frequency : Desired I2C bus clock frequency in Hz. If not set the
22	default frequency is 100kHz
23	
24	 - resets          : phandle to the parent reset controller. Mandatory
25	                     whenever you're using the "allwinner,sun6i-a31-i2c"
26	                     compatible.
27	
28	Examples:
29	
30		i2c@11000 {
31			compatible = "marvell,mv64xxx-i2c";
32			reg = <0x11000 0x20>;
33			interrupts = <29>;
34			clock-frequency = <100000>;
35		};
36	
37	For the Armada XP:
38	
39		i2c@11000 {
40			compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
41			reg = <0x11000 0x100>;
42			interrupts = <29>;
43			clock-frequency = <100000>;
44		};
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.