From c9e618b7b6f405f7037773bd15718f8f1b9cf3d9 Mon Sep 17 00:00:00 2001 From: Brennan Ashton Date: Mon, 14 Sep 2020 13:35:06 -0700 Subject: [PATCH] nRF: Incorrect base addresses for SPI controllers 1,2,3 Signed-off-by: Brennan Ashton --- arch/arm/src/nrf52/nrf52_spi.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/src/nrf52/nrf52_spi.c b/arch/arm/src/nrf52/nrf52_spi.c index 12ad10313f..dd03f417de 100644 --- a/arch/arm/src/nrf52/nrf52_spi.c +++ b/arch/arm/src/nrf52/nrf52_spi.c @@ -229,7 +229,7 @@ static struct nrf52_spidev_s g_spi1dev = &g_spi1ops }, - .base = NRF52_SPIM0_BASE, + .base = NRF52_SPIM1_BASE, #ifdef CONFIG_NRF52_SPI_MASTER_INTERRUPTS .irq = NRF52_IRQ_SPI_TWI_1, #endif @@ -274,7 +274,7 @@ static struct nrf52_spidev_s g_spi2dev = &g_spi2ops }, - .base = NRF52_SPIM0_BASE, + .base = NRF52_SPIM2_BASE, #ifdef CONFIG_NRF52_SPI_MASTER_INTERRUPTS .irq = NRF52_IRQ_SPI2, #endif @@ -319,7 +319,7 @@ static struct nrf52_spidev_s g_spi3dev = &g_spi3ops }, - .base = NRF52_SPIM0_BASE, + .base = NRF52_SPIM3_BASE, #ifdef CONFIG_NRF52_SPI_MASTER_INTERRUPTS .irq = NRF52_IRQ_SPI3, #endif