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