Skip to content
Commit 85412990 authored by Andrzej Głąbek's avatar Andrzej Głąbek Committed by Carles Cufí
Browse files

boards: nrf9160dk_nrf9160: Add arduino_spi definition



Assign proper pins and add the arduino_spi node label to one SPI node
so that shields that require SPI can be used with the nRF9160 DK.
Due to the limited resources of the nRF9160 SoC, the arduino_spi (spi1)
and arduino_serial (uart1) interfaces cannot be used together on this
board, so remove the default "okay" status from the arduino_serial node
(this status is supposed to be set in a shield overlay that uses this
interface).
The spi1 node was selected as arduino_spi because:
- spi0 could not be used together with uart0 that is used by the Zephyr
  console
- spi2 could not be used together with i2c2, which is arduino_i2c and
  in newer nRF9160 DK revisions (0.14.0+) also provides communication
  with the onboard GPIO expander
- spi3 is used in newer nRF9160 DK revisions for communication with the
  onboard flash chip

Signed-off-by: default avatarAndrzej Głąbek <andrzej.glabek@nordicsemi.no>
parent 22f524d8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment