summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/i2c/i2c-davinci.txt
blob: 2dc935b4113d22e4bd0c80f533d3c9caefb7be44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
* Texas Instruments Davinci I2C

This file provides information, what the device node for the
davinci i2c interface contain.

Required properties:
- compatible: "ti,davinci-i2c";
- reg : Offset and length of the register set for the device

Recommended properties :
- interrupts : standard interrupt property.
- clock-frequency : desired I2C bus clock frequency in Hz.

Example (enbw_cmc board):
	i2c@1c22000 {
		compatible = "ti,davinci-i2c";
		reg = <0x22000 0x1000>;
		clock-frequency = <100000>;
		interrupts = <15>;
		interrupt-parent = <&intc>;
		#address-cells = <1>;
		#size-cells = <0>;

		dtt@48 {
			compatible = "national,lm75";
			reg = <0x48>;
		};
	};
OpenPOWER on IntegriCloud