diff options
author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-12 13:43:32 +0800 |
---|---|---|
committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-13 08:27:44 +0800 |
commit | b2378668489d16eb1a1ac722e84cc6a9a1513ba0 (patch) | |
tree | 2cd477d1d479d861133e6e89b9af162c66a1e649 /Documentation | |
parent | 35d23047f8ba1b7cc9a067b9506352fd257c8df5 (diff) | |
download | linux-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.tar.gz linux-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.tar.bz2 linux-b2378668489d16eb1a1ac722e84cc6a9a1513ba0.zip |
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')
-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 000000000000..1bfc02de1b0c --- /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>; +}; |