From bf46bee91702ae658b4db4d0088a1afa60c0676c Mon Sep 17 00:00:00 2001 From: Vincent van der Locht Date: Thu, 26 Mar 2020 15:06:13 +0100 Subject: [PATCH] soc: sam4e: fix uart1 pinmap UART1 Rx and Tx pins were assigned the wrong GPIO periperal. Signed-off-by: Vincent van der Locht --- soc/arm/atmel_sam/sam4e/soc_pinmap.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/soc/arm/atmel_sam/sam4e/soc_pinmap.h b/soc/arm/atmel_sam/sam4e/soc_pinmap.h index c6e12139da9..d5ad5e6c0b9 100644 --- a/soc/arm/atmel_sam/sam4e/soc_pinmap.h +++ b/soc/arm/atmel_sam/sam4e/soc_pinmap.h @@ -1,4 +1,5 @@ /* + * Copyright (c) 2020 Vincent van der Locht * Copyright (c) 2019 Gerson Fernando Budke * Copyright (c) 2017 Justin Watson * SPDX-License-Identifier: Apache-2.0 @@ -23,8 +24,8 @@ #define PINS_UART0 {PIN_UART0_RXD, PIN_UART0_TXD} -#define PIN_UART1_RXD {PIO_PA5C_URXD1, PIOB, ID_PIOB, SOC_GPIO_FUNC_C} -#define PIN_UART1_TXD {PIO_PA6C_UTXD1, PIOB, ID_PIOB, SOC_GPIO_FUNC_C} +#define PIN_UART1_RXD {PIO_PA5C_URXD1, PIOA, ID_PIOA, SOC_GPIO_FUNC_C} +#define PIN_UART1_TXD {PIO_PA6C_UTXD1, PIOA, ID_PIOA, SOC_GPIO_FUNC_C} #define PINS_UART1 {PIN_UART1_RXD, PIN_UART1_TXD}