rockchip: rk3188: fix early uart setup
authorHeiko Stuebner <heiko@sntech.de>
Mon, 8 Oct 2018 11:01:57 +0000 (13:01 +0200)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Fri, 30 Nov 2018 18:03:16 +0000 (19:03 +0100)
commit6c69ed19f96203680ba752fdeb22d58df4715815
tree8062dceeecccb650f9e6fff5475ab88ca233e09d
parent5b5ca4c0d467d06509aba2838e11ab6909439704
rockchip: rk3188: fix early uart setup

Commit 7a6d7d3e1279 ("rockchip: pinctrl: rk3188: Move the iomux definitions
into pinctrl-driver") moved the iomux settings out of the grf header
to prevent conflicts with the iomux definitions of other rockchip socs.

This also breaks the early uart setup, as the iomux for uart2 are needed.
To fix that just put the tiny amount of needed iomux definitions next to
the early uart code.

Fixes: 7a6d7d3e1279 ("rockchip: pinctrl: rk3188: Move the iomux definitions into pinctrl-driver")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
arch/arm/mach-rockchip/rk3188-board-spl.c