From 94c3b14a947398ba7b9b20610d54d8b31dda01e2 Mon Sep 17 00:00:00 2001 From: hhb Date: Sat, 30 Nov 2013 10:02:20 +0800 Subject: [PATCH] rk serial: add Documentation/devicetree/bindings/serial/rockchip_uart.txt --- .../bindings/serial/rockchip_uart.txt | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Documentation/devicetree/bindings/serial/rockchip_uart.txt diff --git a/Documentation/devicetree/bindings/serial/rockchip_uart.txt b/Documentation/devicetree/bindings/serial/rockchip_uart.txt new file mode 100644 index 000000000000..d8244da2f8f8 --- /dev/null +++ b/Documentation/devicetree/bindings/serial/rockchip_uart.txt @@ -0,0 +1,27 @@ +* Universal Asynchronous Receiver/Transmitter (UART) + +- compatible: "rockchip,rk_serial" + + Compatibility with all rk28xx rk29xx rk30xx rk31xx SOCs. + +- reg: The base address of the UART register bank. + +- interrupts: A single interrupt specifier. + +- id: port line, determine the ttySx + +- use-dma-rx: enable dma receive + +- use-dma-tx: enable dma tramsmit + +Example: +uart0: serial@10124000 { + compatible = "rockchip,rk_serial"; + reg = <0x10124000 0x100>; + interrupts = ; + clock-frequency = <24000000>; + id = <0>; + use-dma-rx; + use-dma-tx; + status = "disabled"; + }; -- 2.34.1