tty: of_serial: add support for the DesignWare 8250
[linux-2.6/linux-acpi-2.6/ibm-acpi-2.6.git] / Documentation / devicetree / bindings / tty / serial / of-serial.txt
blobb7ceaaa7602dfa76798e7eb7d31cc0a10dcb2343
1 * UART (Universal Asynchronous Receiver/Transmitter)
3 Required properties:
4 - compatible : one of:
5         - "ns8250"
6         - "ns8250dw"
7         - "ns16450"
8         - "ns16550a"
9         - "ns16550"
10         - "ns16750"
11         - "ns16850"
12         - "nvidia,tegra20-uart"
13         - "ibm,qpace-nwp-serial"
14         - "serial" if the port type is unknown.
15 - reg : offset and length of the register set for the device.
16 - interrupts : should contain uart interrupt.
17 - clock-frequency : the input clock frequency for the UART.
19 Optional properties:
20 - current-speed : the current active speed of the UART.
21 - reg-offset : offset to apply to the mapbase from the start of the registers.
22 - reg-shift : quantity to shift the register offsets by.
23 - reg-io-width : the size (in bytes) of the IO accesses that should be
24   performed on the device.  There are some systems that require 32-bit
25   accesses to the UART (e.g. TI davinci).
26 - used-by-rtas : set to indicate that the port is in use by the OpenFirmware
27   RTAS and should not be registered.
29 Example:
31         uart@80230000 {
32                 compatible = "ns8250";
33                 reg = <0x80230000 0x100>;
34                 clock-frequency = <3686400>;
35                 interrupts = <10>;
36                 reg-shift = <2>;
37         };