Merge tag 'iommu-updates-v3.20' of git://git.kernel.org/pub/scm/linux/kernel/git...
[deliverable/linux.git] / Documentation / devicetree / bindings / serial / of-serial.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 - "ibm,qpace-nwp-serial"
18 - "altr,16550-FIFO32"
19 - "altr,16550-FIFO64"
20 - "altr,16550-FIFO128"
21 - "fsl,16550-FIFO64"
22 - "serial" if the port type is unknown.
23 - reg : offset and length of the register set for the device.
24 - interrupts : should contain uart interrupt.
25 - clock-frequency : the input clock frequency for the UART
26 or
27 clocks phandle to refer to the clk used as per Documentation/devicetree
28 /bindings/clock/clock-bindings.txt
29
30 Optional properties:
31 - current-speed : the current active speed of the UART.
32 - reg-offset : offset to apply to the mapbase from the start of the registers.
33 - reg-shift : quantity to shift the register offsets by.
34 - reg-io-width : the size (in bytes) of the IO accesses that should be
35 performed on the device. There are some systems that require 32-bit
36 accesses to the UART (e.g. TI davinci).
37 - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
38 RTAS and should not be registered.
39 - no-loopback-test: set to indicate that the port does not implements loopback
40 test mode
41 - fifo-size: the fifo size of the UART.
42 - auto-flow-control: one way to enable automatic flow control support. The
43 driver is allowed to detect support for the capability even without this
44 property.
45
46 Example:
47
48 uart@80230000 {
49 compatible = "ns8250";
50 reg = <0x80230000 0x100>;
51 clock-frequency = <3686400>;
52 interrupts = <10>;
53 reg-shift = <2>;
54 };
This page took 0.06362 seconds and 6 git commands to generate.