dm: sunxi: Add support for serial using driver model
authorSimon Glass <sjg@chromium.org>
Fri, 31 Oct 2014 02:25:50 +0000 (20:25 -0600)
committerHans de Goede <hdegoede@redhat.com>
Wed, 5 Nov 2014 12:09:58 +0000 (13:09 +0100)
commit1a81cf8399675056beef5e76be8a9380d88c4ebf
treeb3bed5105b65070fbcf811baebe59fa0c105531a
parent7aa9748584227bd97b642f8127382c75df5f4730
dm: sunxi: Add support for serial using driver model

Add a driver for the designware serial UART used on sunxi. This just
redirects to the normal ns16550 driver.

Add a stdout-path to the device tree so that the correct UART is chosen.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/dts/sun7i-a20-pcduino3.dts
drivers/serial/Makefile
drivers/serial/serial_dw.c [new file with mode: 0644]
include/configs/sunxi-common.h