boards: tdk_robokit1: Enable SPI0 DMA usage
SPI0 is connected to the TDK 42688-p sensor which produces data at a very fast rate. Enable using DMA with this SPI bus by default for this board. Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
This commit is contained in:
parent
74b9699213
commit
f7a2093c51
2 changed files with 8 additions and 1 deletions
|
@ -81,7 +81,8 @@
|
|||
&spi0 {
|
||||
pinctrl-0 = <&spi0_default>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
dmas = <&xdmac 0 DMA_PERID_SPI0_TX>, <&xdmac 1 DMA_PERID_SPI0_RX>;
|
||||
dma-names = "tx", "rx";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
|
@ -140,6 +141,11 @@ zephyr_udc0: &usbhs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
|
||||
&xdmac {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
|
|
|
@ -9,6 +9,7 @@ toolchain:
|
|||
- gnuarmemb
|
||||
- xtools
|
||||
supported:
|
||||
- dma
|
||||
- i2c
|
||||
- gpio
|
||||
- spi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue