sunxi: add support for UART2 on A23/A33
authorLaurent Itti <laurentitti@gmail.com>
Wed, 6 May 2015 00:02:00 +0000 (17:02 -0700)
committerHans de Goede <hdegoede@redhat.com>
Tue, 19 May 2015 16:37:30 +0000 (18:37 +0200)
commit5cd83b11f934295cdd0e201b54c1c2b99529698f
tree84519c2e162653a79c3510373268c0e5b852c0d3
parenta8552c7c9b53d1d4f36b95f2c80812d8a7bb4fff
sunxi: add support for UART2 on A23/A33

Add support for UART2 (2-pin version but note that RTS/CTS pins are available
pn that port for possible future use), can be selected in config
by using CONFIG_CONS_INDEX=3

Signed-off-by: Laurent Itti <laurentitti@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
arch/arm/cpu/armv7/sunxi/board.c
arch/arm/include/asm/arch-sunxi/gpio.h
include/configs/sunxi-common.h