diff options
Diffstat (limited to 'Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt')
-rw-r--r-- | Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt index 273a8d5b3300..2c00ec64628e 100644 --- a/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt +++ b/Documentation/devicetree/bindings/tty/serial/fsl-mxs-auart.txt | |||
@@ -5,20 +5,18 @@ Required properties: | |||
5 | imx23 and imx28. | 5 | imx23 and imx28. |
6 | - reg : Address and length of the register set for the device | 6 | - reg : Address and length of the register set for the device |
7 | - interrupts : Should contain the auart interrupt numbers | 7 | - interrupts : Should contain the auart interrupt numbers |
8 | 8 | - dmas: DMA specifier, consisting of a phandle to DMA controller node | |
9 | Optional properties: | 9 | and AUART DMA channel ID. |
10 | - fsl,auart-dma-channel : The DMA channels, the first is for RX, the other | 10 | Refer to dma.txt and fsl-mxs-dma.txt for details. |
11 | is for TX. If you add this property, it also means that you | 11 | - dma-names: "rx" for RX channel, "tx" for TX channel. |
12 | will enable the DMA support for the auart. | ||
13 | Note: due to the hardware bug in imx23(see errata : 2836), | ||
14 | only the imx28 can enable the DMA support for the auart. | ||
15 | 12 | ||
16 | Example: | 13 | Example: |
17 | auart0: serial@8006a000 { | 14 | auart0: serial@8006a000 { |
18 | compatible = "fsl,imx28-auart", "fsl,imx23-auart"; | 15 | compatible = "fsl,imx28-auart", "fsl,imx23-auart"; |
19 | reg = <0x8006a000 0x2000>; | 16 | reg = <0x8006a000 0x2000>; |
20 | interrupts = <112 70 71>; | 17 | interrupts = <112>; |
21 | fsl,auart-dma-channel = <8 9>; | 18 | dmas = <&dma_apbx 8>, <&dma_apbx 9>; |
19 | dma-names = "rx", "tx"; | ||
22 | }; | 20 | }; |
23 | 21 | ||
24 | Note: Each auart port should have an alias correctly numbered in "aliases" | 22 | Note: Each auart port should have an alias correctly numbered in "aliases" |