summaryrefslogtreecommitdiff
path: root/arch/arm/dts/sun7i-a20-pcduino3.dts
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2014-10-31 02:25:50 (GMT)
committerHans de Goede <hdegoede@redhat.com>2014-11-05 12:09:58 (GMT)
commit1a81cf8399675056beef5e76be8a9380d88c4ebf (patch)
treeb3bed5105b65070fbcf811baebe59fa0c105531a /arch/arm/dts/sun7i-a20-pcduino3.dts
parent7aa9748584227bd97b642f8127382c75df5f4730 (diff)
downloadu-boot-1a81cf8399675056beef5e76be8a9380d88c4ebf.tar.xz
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/arm/dts/sun7i-a20-pcduino3.dts')
-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";