About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / devicetree / bindings / i2c / davinci.txt


Based on kernel version 3.7. Page generated on 2012-12-12 10:00 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	
14	Example (enbw_cmc board):
15		i2c@1c22000 {
16			compatible = "ti,davinci-i2c";
17			reg = <0x22000 0x1000>;
18			clock-frequency = <100000>;
19			interrupts = <15>;
20			interrupt-parent = <&intc>;
21			#address-cells = <1>;
22			#size-cells = <0>;
23	
24			dtt@48 {
25				compatible = "national,lm75";
26				reg = <0x48>;
27			};
28		};
Hide Line Numbers


About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog