summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-30 20:25:50 -0600
committerHans de Goede <hdegoede@redhat.com>2014-11-05 13:09:58 +0100
commit1a81cf8399675056beef5e76be8a9380d88c4ebf (patch)
treeb3bed5105b65070fbcf811baebe59fa0c105531a /arch
parent7aa9748584227bd97b642f8127382c75df5f4730 (diff)
downloadu-boot-imx-1a81cf8399675056beef5e76be8a9380d88c4ebf.zip
u-boot-imx-1a81cf8399675056beef5e76be8a9380d88c4ebf.tar.gz
u-boot-imx-1a81cf8399675056beef5e76be8a9380d88c4ebf.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/sun7i-a20-pcduino3.dts4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/dts/sun7i-a20-pcduino3.dts b/arch/arm/dts/sun7i-a20-pcduino3.dts
index 046dfc0..f7cc8e7 100644
--- a/arch/arm/dts/sun7i-a20-pcduino3.dts
+++ b/arch/arm/dts/sun7i-a20-pcduino3.dts
@@ -20,6 +20,10 @@
model = "LinkSprite pcDuino3";
compatible = "linksprite,pcduino3", "allwinner,sun7i-a20";
+ chosen {
+ stdout-path = &uart0;
+ };
+
soc@01c00000 {
mmc0: mmc@01c0f000 {
pinctrl-names = "default";