diff options
author | Heiko Schocher <hs@denx.de> | 2012-07-30 03:21:12 -0400 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2012-09-12 05:37:24 -0400 |
commit | 5c3d8a46ac9778d117ca26f4fec18d7b8c8831ed (patch) | |
tree | 1bb21169eddd9cb29c9bcb1ca19b8bcbea43b4b3 /Documentation | |
parent | 002f002d956e6b01700ab8753c6f268c9aafc34a (diff) |
i2c: davinci: add OF support
add of support for the davinci i2c driver.
Signed-off-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
[wsa: fix indentation in the binding description]
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/davinci.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/davinci.txt b/Documentation/devicetree/bindings/i2c/davinci.txt new file mode 100644 index 000000000000..2dc935b4113d --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/davinci.txt | |||
@@ -0,0 +1,28 @@ | |||
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 | }; | ||