boards: cc1352r1_launchxl: enable support for SPI
Enable support for the SPI peripheral on the CC1352R LaunchPad. Signed-off-by: Brett Witherspoon <spoonb@cdspooner.com>
This commit is contained in:
parent
b9cf58d90f
commit
d82febd2a3
4 changed files with 19 additions and 0 deletions
|
@ -9,4 +9,11 @@ if BOARD_CC1352R1_LAUNCHXL
|
|||
config BOARD
|
||||
default "cc1352r1_launchxl"
|
||||
|
||||
if SPI
|
||||
|
||||
config SPI_0
|
||||
default y
|
||||
|
||||
endif # SPI
|
||||
|
||||
endif # BOARD_CC1352R1_LAUNCHXL
|
||||
|
|
|
@ -73,3 +73,12 @@
|
|||
scl-pin = <4>;
|
||||
sda-pin = <5>;
|
||||
};
|
||||
|
||||
&spi0 {
|
||||
status = "ok";
|
||||
sck-pin = <10>;
|
||||
mosi-pin = <9>;
|
||||
miso-pin = <8>;
|
||||
cs-pin = <11>;
|
||||
cs-gpios = <&gpio0 11 0>;
|
||||
};
|
||||
|
|
|
@ -11,3 +11,4 @@ toolchain:
|
|||
supported:
|
||||
- gpio
|
||||
- i2c
|
||||
- spi
|
||||
|
|
|
@ -50,6 +50,8 @@ features:
|
|||
+-----------+------------+----------------------+
|
||||
| I2C | on-chip | i2c |
|
||||
+-----------+------------+----------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+----------------------+
|
||||
|
||||
Other hardware features are not supported by the Zephyr kernel.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue