Commit | Line | Data |
---|---|---|
61ab1a90 JI |
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" | |
2e39e5be | 11 | - "nvidia,tegra20-uart" |
61ab1a90 JI |
12 | - "ibm,qpace-nwp-serial" |
13 | - "serial" if the port type is unknown. | |
14 | - reg : offset and length of the register set for the device. | |
15 | - interrupts : should contain uart interrupt. | |
16 | - clock-frequency : the input clock frequency for the UART. | |
17 | ||
18 | Optional properties: | |
19 | - current-speed : the current active speed of the UART. | |
20 | - reg-offset : offset to apply to the mapbase from the start of the registers. | |
21 | - reg-shift : quantity to shift the register offsets by. | |
7423734e JI |
22 | - reg-io-width : the size (in bytes) of the IO accesses that should be |
23 | performed on the device. There are some systems that require 32-bit | |
24 | accesses to the UART (e.g. TI davinci). | |
61ab1a90 JI |
25 | - used-by-rtas : set to indicate that the port is in use by the OpenFirmware |
26 | RTAS and should not be registered. | |
27 | ||
28 | Example: | |
29 | ||
30 | uart@80230000 { | |
31 | compatible = "ns8250"; | |
32 | reg = <0x80230000 0x100>; | |
33 | clock-frequency = <3686400>; | |
34 | interrupts = <10>; | |
35 | reg-shift = <2>; | |
36 | }; |