summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHeiko Schocher <hs@denx.de>2012-07-30 07:21:12 +0000
committerWolfram Sang <w.sang@pengutronix.de>2012-09-12 11:37:24 +0200
commit5c3d8a46ac9778d117ca26f4fec18d7b8c8831ed (patch)
tree1bb21169eddd9cb29c9bcb1ca19b8bcbea43b4b3 /Documentation
parent002f002d956e6b01700ab8753c6f268c9aafc34a (diff)
downloadblackbird-op-linux-5c3d8a46ac9778d117ca26f4fec18d7b8c8831ed.tar.gz
blackbird-op-linux-5c3d8a46ac9778d117ca26f4fec18d7b8c8831ed.zip
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.txt28
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 @@
+* 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