From: hhb Date: Sat, 30 Nov 2013 02:02:20 +0000 (+0800) Subject: rk serial: add Documentation/devicetree/bindings/serial/rockchip_uart.txt X-Git-Tag: firefly_0821_release~6479 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94c3b14a947398ba7b9b20610d54d8b31dda01e2;p=firefly-linux-kernel-4.4.55.git rk serial: add 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"; + };