xref: /linux/Documentation/devicetree/bindings/i2c/i2c-davinci.txt (revision e5c86679d5e864947a52fb31e45a425dea3e7fa9)
1* Texas Instruments Davinci/Keystone I2C
2
3This file provides information, what the device node for the
4davinci/keystone i2c interface contains.
5
6Required properties:
7- compatible: "ti,davinci-i2c" or "ti,keystone-i2c";
8- reg : Offset and length of the register set for the device
9
10Recommended 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
17Example (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	};
32