Skip to content
Snippets Groups Projects
Commit 651d96f7 authored by Anton Vorontsov's avatar Anton Vorontsov Committed by Kim Phillips
Browse files

MPC8360E-MDS: configure and enable second UART


Despite user manual, BCSR9.7 is negated (high) on HRST, so
UART2 is disabled. Fix that and configure QE pins properly.

Signed-off-by: default avatarAnton Vorontsov <avorontsov@ru.mvista.com>
parent b2893e1f
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,11 @@ const qe_iop_conf_t qe_iop_conf_tab[] = { ...@@ -87,6 +87,11 @@ const qe_iop_conf_t qe_iop_conf_tab[] = {
{0, 1, 3, 0, 2}, /* MDIO */ {0, 1, 3, 0, 2}, /* MDIO */
{0, 2, 1, 0, 1}, /* MDC */ {0, 2, 1, 0, 1}, /* MDC */
{5, 0, 1, 0, 2}, /* UART2_SOUT */
{5, 1, 2, 0, 3}, /* UART2_CTS */
{5, 2, 1, 0, 1}, /* UART2_RTS */
{5, 3, 2, 0, 2}, /* UART2_SIN */
{0, 0, 0, 0, QE_IOP_TAB_END}, /* END of table */ {0, 0, 0, 0, QE_IOP_TAB_END}, /* END of table */
}; };
...@@ -106,6 +111,9 @@ int board_early_init_f(void) ...@@ -106,6 +111,9 @@ int board_early_init_f(void)
immr->sysconf.spridr == SPR_8360E_REV21) immr->sysconf.spridr == SPR_8360E_REV21)
bcsr[0xe] = 0x30; bcsr[0xe] = 0x30;
/* Enable second UART */
bcsr[0x9] &= ~0x01;
return 0; return 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment