Commit | Line | Data |
---|---|---|
35780e86 | 1 | * Texas Instruments Davinci/Keystone I2C |
5c3d8a46 HS |
2 | |
3 | This file provides information, what the device node for the | |
35780e86 | 4 | davinci/keystone i2c interface contains. |
5c3d8a46 HS |
5 | |
6 | Required properties: | |
35780e86 | 7 | - compatible: "ti,davinci-i2c" or "ti,keystone-i2c"; |
5c3d8a46 HS |
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. | |
7ef97e9a GS |
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. | |
5c3d8a46 HS |
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 | }; |