i2c: Add DT bindings for Xscale I2C masters
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Jan 2019 22:25:33 +0000 (23:25 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 5 Feb 2019 12:46:19 +0000 (13:46 +0100)
This adds a device tree binding for Intel XScale I2C
masters. We define compatible strings for the iop3xx and
ixp4xx chip families.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Documentation/devicetree/bindings/i2c/i2c-xscale.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/i2c/i2c-xscale.txt b/Documentation/devicetree/bindings/i2c/i2c-xscale.txt
new file mode 100644 (file)
index 0000000..dcc8390
--- /dev/null
@@ -0,0 +1,20 @@
+i2c Controller on XScale platforms such as IOP3xx and IXP4xx
+
+Required properties:
+- compatible : Must be one of
+  "intel,iop3xx-i2c"
+  "intel,ixp4xx-i2c";
+- reg
+- #address-cells = <1>;
+- #size-cells = <0>;
+
+Optional properties:
+- Child nodes conforming to i2c bus binding
+
+Example:
+
+i2c@c8011000 {
+       compatible = "intel,ixp4xx-i2c";
+       reg = <0xc8011000 0x18>;
+       interrupts = <33 IRQ_TYPE_LEVEL_LOW>;
+};