diff options
author | Jamie Iles <jamie@jamieiles.com> | 2011-06-27 08:32:33 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-06-27 15:30:59 -0400 |
commit | 61ab1a90d81b5b8a53fc221a3665715c61614fb7 (patch) | |
tree | 34041ae7560d087cc7b239488438e0edfb41e2af /Documentation/devicetree/bindings/tty/serial/of-serial.txt | |
parent | 15c3597d6ea47e8f3caf068887c4666165df63ad (diff) |
dt: document the of_serial bindings
The of_serial bindings can be used to register a number of serial
devices. Document this binding with all of the others.
v3: remove device-type and clarify used-by-rtas
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'Documentation/devicetree/bindings/tty/serial/of-serial.txt')
-rw-r--r-- | Documentation/devicetree/bindings/tty/serial/of-serial.txt | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/Documentation/devicetree/bindings/tty/serial/of-serial.txt new file mode 100644 index 000000000000..35e53ae85eec --- /dev/null +++ b/Documentation/devicetree/bindings/tty/serial/of-serial.txt | |||
@@ -0,0 +1,33 @@ | |||
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 | - "nvidia,tegra250-uart" | ||
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. | ||
22 | - used-by-rtas : set to indicate that the port is in use by the OpenFirmware | ||
23 | RTAS and should not be registered. | ||
24 | |||
25 | Example: | ||
26 | |||
27 | uart@80230000 { | ||
28 | compatible = "ns8250"; | ||
29 | reg = <0x80230000 0x100>; | ||
30 | clock-frequency = <3686400>; | ||
31 | interrupts = <10>; | ||
32 | reg-shift = <2>; | ||
33 | }; | ||