2024-01-24 20:54:36 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2024 Analog Devices, Inc.
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*/
|
|
|
|
|
|
|
|
&spi1 {
|
2024-08-23 21:44:49 +08:00
|
|
|
dmas = <&dma0 1 MAX32_DMA_SLOT_SPI1_TX>, <&dma0 2 MAX32_DMA_SLOT_SPI1_RX>;
|
|
|
|
dma-names = "tx", "rx";
|
|
|
|
|
2024-01-24 20:54:36 +08:00
|
|
|
slow@0 {
|
|
|
|
compatible = "test-spi-loopback-slow";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <128000>;
|
|
|
|
};
|
|
|
|
fast@0 {
|
|
|
|
compatible = "test-spi-loopback-fast";
|
|
|
|
reg = <0>;
|
|
|
|
spi-max-frequency = <500000>;
|
|
|
|
};
|
|
|
|
};
|