diff options
author | Matthias Brugger <matthias.bgg@gmail.com> | 2014-09-09 17:31:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-10 06:59:41 -0700 |
commit | 76ce677063e9194d48d9d44377c4f7f7c1c2e3d3 (patch) | |
tree | 1be63505b84d854d58e67c0fc45f6dbbd41b9c05 /Documentation/devicetree/bindings/serial/mtk-uart.txt | |
parent | b4756f4f0d773c31e59f203e7f19fd3d5c490193 (diff) | |
download | lwn-76ce677063e9194d48d9d44377c4f7f7c1c2e3d3.tar.gz lwn-76ce677063e9194d48d9d44377c4f7f7c1c2e3d3.zip |
DTS: serial: Add bindings documention for the Mediatek UARTs
This patch adds the devicetree documentation for the Mediatek UART.
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial/mtk-uart.txt')
-rw-r--r-- | Documentation/devicetree/bindings/serial/mtk-uart.txt | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/serial/mtk-uart.txt b/Documentation/devicetree/bindings/serial/mtk-uart.txt new file mode 100644 index 000000000000..48358a33ea7d --- /dev/null +++ b/Documentation/devicetree/bindings/serial/mtk-uart.txt @@ -0,0 +1,22 @@ +* Mediatek Universal Asynchronous Receiver/Transmitter (UART) + +Required properties: +- compatible should contain: + * "mediatek,mt6589-uart" for MT6589 compatible UARTS + * "mediatek,mt6582-uart" for MT6582 compatible UARTS + * "mediatek,mt6577-uart" for all compatible UARTS (MT6589, MT6582, MT6577) + +- reg: The base address of the UART register bank. + +- interrupts: A single interrupt specifier. + +- clocks: Clock driving the hardware. + +Example: + + uart0: serial@11006000 { + compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart"; + reg = <0x11006000 0x400>; + interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; + clocks = <&uart_clk>; + }; |