Merge tag 'vfio-v4.13-rc1' of git://github.com/awilliam/linux-vfio
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / serial / 8250.txt
1 * UART (Universal Asynchronous Receiver/Transmitter)
2
3 Required properties:
4 - compatible : one of:
5         - "ns8250"
6         - "ns16450"
7         - "ns16550a"
8         - "ns16550"
9         - "ns16750"
10         - "ns16850"
11         - For Tegra20, must contain "nvidia,tegra20-uart"
12         - For other Tegra, must contain '"nvidia,<chip>-uart",
13           "nvidia,tegra20-uart"' where <chip> is tegra30, tegra114, tegra124,
14           tegra132, or tegra210.
15         - "nxp,lpc3220-uart"
16         - "ralink,rt2880-uart"
17         - "altr,16550-FIFO32"
18         - "altr,16550-FIFO64"
19         - "altr,16550-FIFO128"
20         - "fsl,16550-FIFO64"
21         - "fsl,ns16550"
22         - "ti,da830-uart"
23         - "aspeed,ast2400-vuart"
24         - "aspeed,ast2500-vuart"
25         - "serial" if the port type is unknown.
26 - reg : offset and length of the register set for the device.
27 - interrupts : should contain uart interrupt.
28 - clock-frequency : the input clock frequency for the UART
29          or
30   clocks phandle to refer to the clk used as per Documentation/devicetree
31   /bindings/clock/clock-bindings.txt
32
33 Optional properties:
34 - current-speed : the current active speed of the UART.
35 - reg-offset : offset to apply to the mapbase from the start of the registers.
36 - reg-shift : quantity to shift the register offsets by.
37 - reg-io-width : the size (in bytes) of the IO accesses that should be
38   performed on the device.  There are some systems that require 32-bit
39   accesses to the UART (e.g. TI davinci).
40 - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
41   RTAS and should not be registered.
42 - no-loopback-test: set to indicate that the port does not implements loopback
43   test mode
44 - fifo-size: the fifo size of the UART.
45 - auto-flow-control: one way to enable automatic flow control support. The
46   driver is allowed to detect support for the capability even without this
47   property.
48 - tx-threshold: Specify the TX FIFO low water indication for parts with
49   programmable TX FIFO thresholds.
50 - resets : phandle + reset specifier pairs
51
52 Note:
53 * fsl,ns16550:
54   ------------
55   Freescale DUART is very similar to the PC16552D (and to a
56   pair of NS16550A), albeit with some nonstandard behavior such as
57   erratum A-004737 (relating to incorrect BRK handling).
58
59   Represents a single port that is compatible with the DUART found
60   on many Freescale chips (examples include mpc8349, mpc8548,
61   mpc8641d, p4080 and ls2085a).
62
63 Example:
64
65         uart@80230000 {
66                 compatible = "ns8250";
67                 reg = <0x80230000 0x100>;
68                 clock-frequency = <3686400>;
69                 interrupts = <10>;
70                 reg-shift = <2>;
71         };