OSDN Git Service

dt-bindings: serial: Document RDA Micro UART
authorAndreas Färber <afaerber@suse.de>
Tue, 18 Dec 2018 15:02:35 +0000 (20:32 +0530)
committerOlof Johansson <olof@lixom.net>
Mon, 31 Dec 2018 21:09:51 +0000 (13:09 -0800)
Add an initial binding for the UART in RDA Micro RDA8810PL SoC.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Olof Johansson <olof@lixom.net>
Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt b/Documentation/devicetree/bindings/serial/rda,8810pl-uart.txt
new file mode 100644 (file)
index 0000000..a08df97
--- /dev/null
@@ -0,0 +1,17 @@
+RDA Micro UART
+
+Required properties:
+- compatible :  "rda,8810pl-uart" for RDA8810PL SoCs.
+- reg        :  Offset and length of the register set for the device.
+- interrupts :  Should contain UART interrupt.
+- clocks     :  Phandle to the input clock.
+
+
+Example:
+
+               uart2: serial@20a90000 {
+                       compatible = "rda,8810pl-uart";
+                       reg = <0x20a90000 0x1000>;
+                       interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
+                       clocks = <&uart_clk>;
+               };