About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

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




Custom Search

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

1	* Texas Instruments Davinci I2C
2	
3	This file provides information, what the device node for the
4	davinci i2c interface contain.
5	
6	Required properties:
7	- compatible: "ti,davinci-i2c";
8	- reg : Offset and length of the register set for the device
9	
10	Recommended properties :
11	- interrupts : standard interrupt property.
12	- clock-frequency : desired I2C bus clock frequency in Hz.
13	- ti,has-pfunc: boolean; if defined, it indicates that SoC supports PFUNC
14		registers. PFUNC registers allow to switch I2C pins to function as
15		GPIOs, so they can by toggled manually.
16	
17	Example (enbw_cmc board):
18		i2c@1c22000 {
19			compatible = "ti,davinci-i2c";
20			reg = <0x22000 0x1000>;
21			clock-frequency = <100000>;
22			interrupts = <15>;
23			interrupt-parent = <&intc>;
24			#address-cells = <1>;
25			#size-cells = <0>;
26	
27			dtt@48 {
28				compatible = "national,lm75";
29				reg = <0x48>;
30			};
31		};
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.