Commit 5d5bd838 authored by Wolfgang Grandegger's avatar Wolfgang Grandegger Committed by Andrew Fleming-AFLEMING
Browse files

TQM85xx: Fix CPM port pin configuration



Do not configure port pins PD30/PD31 as SCC1 TxD/RxD except for the TQM8560
board. On the other TQM85xx boards (TQM8541 and TQM8555) SCC1 is not used
as serial interface anyway. Worse, on some board variants configuring the
pins for SCC1 leads to short circuits (for example on the TQM8541-BG).
Signed-off-by: default avatarMartin Krause <martin.krause@tqs.de>
parent b99ba167
......@@ -165,9 +165,15 @@ const iop_conf_t iop_conf_tab[4][32] = {
/* Port D: conf, ppar, psor, pdir, podr, pdat */
{
#ifdef CONFIG_TQM8560
{1, 1, 0, 0, 0, 0}, /* PD31: SCC1 EN RxD */
{1, 1, 1, 1, 0, 0}, /* PD30: SCC1 EN TxD */
{1, 1, 0, 1, 0, 0}, /* PD29: SCC1 EN TENA */
#else /* !CONFIG_TQM8560 */
{0, 0, 0, 0, 0, 0}, /* PD31: PD31 */
{0, 0, 0, 0, 0, 0}, /* PD30: PD30 */
{0, 0, 0, 0, 0, 0}, /* PD29: PD29 */
#endif /* CONFIG_TQM8560 */
{1, 1, 0, 0, 0, 0}, /* PD28: PD28 */
{1, 1, 0, 1, 0, 0}, /* PD27: PD27 */
{1, 1, 0, 1, 0, 0}, /* PD26: PD26 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment