summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-04-25 15:48:53 +0200
committerWolfram Sang <w.sang@pengutronix.de>2012-05-12 14:28:18 +0200
commit3ac0b3379307f9c9bd00beacbf02623ab127e334 (patch)
tree73ba925f16be3cdc1af6c2cc6257942be1c7dbfd /Documentation
parente7065e20d9a6a8ee4a8b31ebe71d6c00a0f45354 (diff)
downloadtalos-obmc-linux-3ac0b3379307f9c9bd00beacbf02623ab127e334.tar.gz
talos-obmc-linux-3ac0b3379307f9c9bd00beacbf02623ab127e334.zip
I2C: xiic: Add OF binding support
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/i2c/xiic.txt22
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/xiic.txt b/Documentation/devicetree/bindings/i2c/xiic.txt
new file mode 100644
index 000000000000..ceabbe91ae44
--- /dev/null
+++ b/Documentation/devicetree/bindings/i2c/xiic.txt
@@ -0,0 +1,22 @@
+Xilinx IIC controller:
+
+Required properties:
+- compatible : Must be "xlnx,xps-iic-2.00.a"
+- reg : IIC register location and length
+- interrupts : IIC controller unterrupt
+- #address-cells = <1>
+- #size-cells = <0>
+
+Optional properties:
+- Child nodes conforming to i2c bus binding
+
+Example:
+
+ axi_iic_0: i2c@40800000 {
+ compatible = "xlnx,xps-iic-2.00.a";
+ interrupts = < 1 2 >;
+ reg = < 0x40800000 0x10000 >;
+
+ #size-cells = <0>;
+ #address-cells = <1>;
+ };
OpenPOWER on IntegriCloud