diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-12 05:43:32 (GMT) |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-13 00:27:44 (GMT) |
commit | b2378668489d16eb1a1ac722e84cc6a9a1513ba0 (patch) | |
tree | 2cd477d1d479d861133e6e89b9af162c66a1e649 /Documentation/devicetree/bindings/i2c | |
parent | 35d23047f8ba1b7cc9a067b9506352fd257c8df5 (diff) | |
download | linux-fsl-qoriq-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.tar.xz |
i2c: mxs: add device tree probe support
Add device tree probe support for i2c-mxs driver. So far, it's only
been tested on imx28.
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-mxs.txt | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt new file mode 100644 index 0000000..1bfc02d --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt @@ -0,0 +1,16 @@ +* Freescale MXS Inter IC (I2C) Controller + +Required properties: +- compatible: Should be "fsl,<chip>-i2c" +- reg: Should contain registers location and length +- interrupts: Should contain ERROR and DMA interrupts + +Examples: + +i2c0: i2c@80058000 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "fsl,imx28-i2c"; + reg = <0x80058000 2000>; + interrupts = <111 68>; +}; |