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:
Tom Burdick 2022-10-21 09:20:31 -05:00 committed by Fabio Baltieri
commit f7a2093c51
2 changed files with 8 additions and 1 deletions

View file

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

View file

@ -9,6 +9,7 @@ toolchain:
- gnuarmemb
- xtools
supported:
- dma
- i2c
- gpio
- spi