diff options
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-mxs.txt')
-rw-r--r-- | Documentation/devicetree/bindings/i2c/i2c-mxs.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt index 7a3fe9e5f4cb..4e1c8ac01eba 100644 --- a/Documentation/devicetree/bindings/i2c/i2c-mxs.txt +++ b/Documentation/devicetree/bindings/i2c/i2c-mxs.txt | |||
@@ -3,10 +3,13 @@ | |||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: Should be "fsl,<chip>-i2c" | 4 | - compatible: Should be "fsl,<chip>-i2c" |
5 | - reg: Should contain registers location and length | 5 | - reg: Should contain registers location and length |
6 | - interrupts: Should contain ERROR and DMA interrupts | 6 | - interrupts: Should contain ERROR interrupt number |
7 | - clock-frequency: Desired I2C bus clock frequency in Hz. | 7 | - clock-frequency: Desired I2C bus clock frequency in Hz. |
8 | Only 100000Hz and 400000Hz modes are supported. | 8 | Only 100000Hz and 400000Hz modes are supported. |
9 | - fsl,i2c-dma-channel: APBX DMA channel for the I2C | 9 | - dmas: DMA specifier, consisting of a phandle to DMA controller node |
10 | and I2C DMA channel ID. | ||
11 | Refer to dma.txt and fsl-mxs-dma.txt for details. | ||
12 | - dma-names: Must be "rx-tx". | ||
10 | 13 | ||
11 | Examples: | 14 | Examples: |
12 | 15 | ||
@@ -15,7 +18,8 @@ i2c0: i2c@80058000 { | |||
15 | #size-cells = <0>; | 18 | #size-cells = <0>; |
16 | compatible = "fsl,imx28-i2c"; | 19 | compatible = "fsl,imx28-i2c"; |
17 | reg = <0x80058000 2000>; | 20 | reg = <0x80058000 2000>; |
18 | interrupts = <111 68>; | 21 | interrupts = <111>; |
19 | clock-frequency = <100000>; | 22 | clock-frequency = <100000>; |
20 | fsl,i2c-dma-channel = <6>; | 23 | dmas = <&dma_apbx 6>; |
24 | dma-names = "rx-tx"; | ||
21 | }; | 25 | }; |