From 1a81cf8399675056beef5e76be8a9380d88c4ebf Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 30 Oct 2014 20:25:50 -0600 Subject: 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 Signed-off-by: Hans de Goede --- arch/arm/dts/sun7i-a20-pcduino3.dts | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/dts') diff --git a/arch/arm/dts/sun7i-a20-pcduino3.dts b/arch/arm/dts/sun7i-a20-pcduino3.dts index 046dfc0d45..f7cc8e7a09 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"; -- cgit v1.2.1