
26 Jun
2017
26 Jun
'17
1:23 a.m.
In rk3328, some function pin may have more than one choice, and muxed with more than one IO, for example, the UART2 controller IO, TX and RX, have 3 choice(setting in com_iomux):
- M0 which mux with GPIO1A0/GPIO1A1
- M1 which mux with GPIO2A0/GPIO2A1
- usb2phy which mux with USB2.0 DP/DM pin.
This suppose to be set in SPL, but the U-Boot is also design to co-work with Rockchip SPL(miniloader) which may not setting this config, let's set this config to make sure the UART2 TX/RX working in U-Boot.
Signed-off-by: Kever Yang kever.yang@rock-chips.com
Changes in v2:
- remove SDMMC io routing
board/rockchip/evb_rk3328/evb-rk3328.c | 10 ++++++++++ 1 file changed, 10 insertions(+)
Acked-by: Philipp Tomsich philipp.tomsich@theobroma-systems.com