diff options
author | Moritz Fischer <moritz.fischer@ettus.com> | 2015-12-28 09:47:10 -0800 |
---|---|---|
committer | Michal Simek <michal.simek@xilinx.com> | 2016-04-13 18:29:07 +0200 |
commit | 17573c2791a76acd71fa82db513f31e965aa641b (patch) | |
tree | 3640738f1e7f98da788ed6a3d1940a7238077e0f /doc/device-tree-bindings | |
parent | ff9bd8e9cadd4a8362684fabea6e6a0b4fed63a5 (diff) |
i2c: Describe Cadence I2C devicetree bindings
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'doc/device-tree-bindings')
-rw-r--r-- | doc/device-tree-bindings/i2c/i2c-cdns.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/i2c/i2c-cdns.txt b/doc/device-tree-bindings/i2c/i2c-cdns.txt new file mode 100644 index 0000000000..202e0b7626 --- /dev/null +++ b/doc/device-tree-bindings/i2c/i2c-cdns.txt @@ -0,0 +1,20 @@ +Cadence I2C controller Device Tree Bindings +------------------------------------------- + +Required properties: +- compatible : Should be "cdns,i2c-r1p10" or "xlnx,zynq-spi-r1p10". +- reg : Physical base address and size of I2C registers map. +- interrupts : Property with a value describing the interrupt + number. +- interrupt-parent : Must be core interrupt controller +- clocks : Clock phandles (see clock bindings for details). + +Example: + i2c0: i2c@e0004000 { + compatible = "cdns,i2c-r1p10"; + reg = <0xe0004000 0x1000>; + clocks = <&clkc 38>; + interrupts = <0 25 4>; + interrupt-parent = <&intc>; + status = "disabled"; + }; |