]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/i2c/i2c-davinci.txt
Merge remote-tracking branch 'thermal-soc/next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / i2c / i2c-davinci.txt
1 * Texas Instruments Davinci/Keystone I2C
2
3 This file provides information, what the device node for the
4 davinci/keystone i2c interface contains.
5
6 Required properties:
7 - compatible: "ti,davinci-i2c" or "ti,keystone-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         };