summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-09-04 16:27:34 -0600
committerSimon Glass <sjg@chromium.org>2014-09-10 13:00:01 -0600
commit12e431b2777ce3b6940d7b7f1e32e28f58277560 (patch)
tree12328a53b7244f5ae078d7d56b2b29a99a3f23a1 /doc
parent8bbe33c829c83b7a6315bbc16875f79ba4adac47 (diff)
downloadu-boot-imx-12e431b2777ce3b6940d7b7f1e32e28f58277560.zip
u-boot-imx-12e431b2777ce3b6940d7b7f1e32e28f58277560.tar.gz
u-boot-imx-12e431b2777ce3b6940d7b7f1e32e28f58277560.tar.bz2
dm: serial: Add driver model support for ns16550
Add driver model support so that ns16550 can support operation both with and without driver model. The driver needs a clock frequency so cannot stand alone unfortunately. The clock frequency must be provided by a separate driver. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/device-tree-bindings/serial/ns16550.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/serial/ns16550.txt b/doc/device-tree-bindings/serial/ns16550.txt
new file mode 100644
index 0000000..ef0b9ae
--- /dev/null
+++ b/doc/device-tree-bindings/serial/ns16550.txt
@@ -0,0 +1,10 @@
+NS16550 UART
+
+This UART driver supports many chip variants and is used in mamy SoCs.
+
+Required properties:
+- compatible: "ns16550" or "nvidia,tegra20-uart"
+- reg: start address and size of registers
+- reg-shift: shift value indicating register size: 0=byte, 1=16bit,2=32bit etc.
+- clock-frequency: input clock frequency for the UART (used to calculate the
+ baud rate divisor)