1/*
2 * Copyright (c) 2024 Linutronix GmbH
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Set div-q to get test clk freq into acceptable SPI freq range */
8&pll {
9	/delete-property/ div-q;
10	div-q = <8>;
11};
12
13&sram2 {
14	zephyr,memory-attr = < DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) >;
15};
16
17&spi1 {
18	dmas = <&dmamux1 0 38 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH)
19		&dmamux1 1 37 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>;
20	dma-names = "tx", "rx";
21	slow@0 {
22		compatible = "test-spi-loopback-slow";
23		reg = <0>;
24		spi-max-frequency = <500000>;
25	};
26	fast@0 {
27		compatible = "test-spi-loopback-fast";
28		reg = <0>;
29		spi-max-frequency = <16000000>;
30	};
31};
32
33&dma1 {
34	status = "okay";
35};
36
37&dma2 {
38	status = "okay";
39};
40
41&dmamux1 {
42	status = "okay";
43};
44