1/*
2 * Copyright (c) 2021 Thomas Stranger
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&spi1 {
8	dmas = <&dmamux1 2 17 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)
9		&dmamux1 1 16 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
10	dma-names = "tx", "rx";
11	slow@0 {
12		compatible = "test-spi-loopback-slow";
13		reg = <0>;
14		spi-max-frequency = <500000>;
15	};
16	fast@0 {
17		compatible = "test-spi-loopback-fast";
18		reg = <0>;
19		spi-max-frequency = <16000000>;
20	};
21};
22
23&dma1 {
24	status = "okay";
25};
26
27&dmamux1 {
28	status = "okay";
29};
30