nRF: Incorrect base addresses for SPI controllers 1,2,3

Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
This commit is contained in:
Brennan Ashton 2020-09-14 13:35:06 -07:00 committed by Matias N
parent 539a0338dd
commit c9e618b7b6
1 changed files with 3 additions and 3 deletions

View File

@ -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