aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/devicetree/bindings/serial/mtk-uart.txt22
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 @@
1* Mediatek Universal Asynchronous Receiver/Transmitter (UART)
2
3Required properties:
4- compatible should contain:
5 * "mediatek,mt6589-uart" for MT6589 compatible UARTS
6 * "mediatek,mt6582-uart" for MT6582 compatible UARTS
7 * "mediatek,mt6577-uart" for all compatible UARTS (MT6589, MT6582, MT6577)
8
9- reg: The base address of the UART register bank.
10
11- interrupts: A single interrupt specifier.
12
13- clocks: Clock driving the hardware.
14
15Example:
16
17 uart0: serial@11006000 {
18 compatible = "mediatek,mt6589-uart", "mediatek,mt6577-uart";
19 reg = <0x11006000 0x400>;
20 interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>;
21 clocks = <&uart_clk>;
22 };