[U-Boot] [PATCH 1/2] ns16550: update compatible and reg-shift binding

Thomas Chou thomas at wytron.com.tw
Fri Dec 11 06:08:29 CET 2015


Update compatible and reg-shift in device tree binding.

Signed-off-by: Thomas Chou <thomas at wytron.com.tw>
---
 doc/device-tree-bindings/serial/ns16550.txt | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/doc/device-tree-bindings/serial/ns16550.txt b/doc/device-tree-bindings/serial/ns16550.txt
index ef0b9ae..2b3904b 100644
--- a/doc/device-tree-bindings/serial/ns16550.txt
+++ b/doc/device-tree-bindings/serial/ns16550.txt
@@ -3,8 +3,21 @@ NS16550 UART
 This UART driver supports many chip variants and is used in mamy SoCs.
 
 Required properties:
-- compatible: "ns16550" or "nvidia,tegra20-uart"
+- compatible: one of:
+	- "ns16550"
+	- "ns16550a"
+	- "nvidia,tegra20-uart"
+	- "snps,dw-apb-uart"
+	- "ti,omap2-uart"
+	- "ti,omap3-uart"
+	- "ti,omap4-uart"
+	- "ti,am3352-uart"
+	- "ti,am4372-uart"
+	- "ti,dra742-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)
+
+Optional properties:
+- reg-shift: shift value indicating register size: 0=byte, 1=16bit, 2=32bit etc.
+  default to 0 if not given.
-- 
2.5.0



More information about the U-Boot mailing list