Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

tty: cadence: Document DT binding

Add binding documentation for the Cadence UART.

Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Acked-by: Rob Herring <robh@kernel.org>
Tested-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>

authored by

Soren Brinkmann and committed by
Michal Simek
db34d2b3 1795cd9b

+20
+20
Documentation/devicetree/bindings/serial/cdns,uart.txt
··· 1 + Binding for Cadence UART Controller 2 + 3 + Required properties: 4 + - compatible : should be "cdns,uart-r1p8", or "xlnx,xuartps" 5 + - reg: Should contain UART controller registers location and length. 6 + - interrupts: Should contain UART controller interrupts. 7 + - clocks: Must contain phandles to the UART clocks 8 + See ../clocks/clock-bindings.txt for details. 9 + - clock-names: Tuple to identify input clocks, must contain "uart_clk" and "pclk" 10 + See ../clocks/clock-bindings.txt for details. 11 + 12 + 13 + Example: 14 + uart@e0000000 { 15 + compatible = "cdns,uart-r1p8"; 16 + clocks = <&clkc 23>, <&clkc 40>; 17 + clock-names = "uart_clk", "pclk"; 18 + reg = <0xE0000000 0x1000>; 19 + interrupts = <0 27 4>; 20 + };