diff options
| author | Shawn Guo <shawn.guo@linaro.org> | 2012-05-12 01:43:32 -0400 |
|---|---|---|
| committer | Shawn Guo <shawn.guo@linaro.org> | 2012-05-12 20:27:44 -0400 |
| commit | b2378668489d16eb1a1ac722e84cc6a9a1513ba0 (patch) | |
| tree | 2cd477d1d479d861133e6e89b9af162c66a1e649 /Documentation/devicetree/bindings | |
| parent | 35d23047f8ba1b7cc9a067b9506352fd257c8df5 (diff) | |
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')
| -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 00000000000..1bfc02de1b0 --- /dev/null +++ b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | * Freescale MXS Inter IC (I2C) Controller | ||
| 2 | |||
| 3 | Required properties: | ||
| 4 | - compatible: Should be "fsl,<chip>-i2c" | ||
| 5 | - reg: Should contain registers location and length | ||
| 6 | - interrupts: Should contain ERROR and DMA interrupts | ||
| 7 | |||
| 8 | Examples: | ||
| 9 | |||
| 10 | i2c0: i2c@80058000 { | ||
| 11 | #address-cells = <1>; | ||
| 12 | #size-cells = <0>; | ||
| 13 | compatible = "fsl,imx28-i2c"; | ||
| 14 | reg = <0x80058000 2000>; | ||
| 15 | interrupts = <111 68>; | ||
| 16 | }; | ||
