dm: imx: serial: support device tree

Support instatiation through device tree. Also parse the fsl,dte-mode
property to determine whether DTE mode shall be used.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Stefan Agner
2016-10-05 15:27:03 -07:00
committed by Stefano Babic
parent 5b0d03b306
commit a99546ab62
2 changed files with 38 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
NXP i.MX (MXC) UART
Required properties:
- compatible: must be "fsl,imx7d-uart"
- reg: start address and size of the registers
Optional properties:
- fsl,dte-mode: use DTE mode