From 1e5af4a3a2ca4a180f8ee41e4d877a74b72bfbe1 Mon Sep 17 00:00:00 2001 From: Jamie Iles Date: Mon, 27 Jun 2011 13:32:33 +0100 Subject: [PATCH] --- yaml --- r: 256777 b: refs/heads/master c: 61ab1a90d81b5b8a53fc221a3665715c61614fb7 h: refs/heads/master i: 256775: cf138ebd10017dbb395bb508c10a67a9bb17982e v: v3 --- [refs] | 2 +- .../bindings/tty/serial/of-serial.txt | 33 +++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 trunk/Documentation/devicetree/bindings/tty/serial/of-serial.txt diff --git a/[refs] b/[refs] index 1f00f4015a60..ec9e70bf22c2 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 15c3597d6ea47e8f3caf068887c4666165df63ad +refs/heads/master: 61ab1a90d81b5b8a53fc221a3665715c61614fb7 diff --git a/trunk/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/trunk/Documentation/devicetree/bindings/tty/serial/of-serial.txt new file mode 100644 index 000000000000..35e53ae85eec --- /dev/null +++ b/trunk/Documentation/devicetree/bindings/tty/serial/of-serial.txt @@ -0,0 +1,33 @@ +* UART (Universal Asynchronous Receiver/Transmitter) + +Required properties: +- compatible : one of: + - "ns8250" + - "ns16450" + - "ns16550a" + - "ns16550" + - "ns16750" + - "ns16850" + - "nvidia,tegra250-uart" + - "ibm,qpace-nwp-serial" + - "serial" if the port type is unknown. +- reg : offset and length of the register set for the device. +- interrupts : should contain uart interrupt. +- clock-frequency : the input clock frequency for the UART. + +Optional properties: +- current-speed : the current active speed of the UART. +- reg-offset : offset to apply to the mapbase from the start of the registers. +- reg-shift : quantity to shift the register offsets by. +- used-by-rtas : set to indicate that the port is in use by the OpenFirmware + RTAS and should not be registered. + +Example: + + uart@80230000 { + compatible = "ns8250"; + reg = <0x80230000 0x100>; + clock-frequency = <3686400>; + interrupts = <10>; + reg-shift = <2>; + };