1/*
2 * Copyright (c) 2022 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 &spi0 {
8	loopback;
9
10	dmas = <&xdmac 1 DMA_PERID_SPI0_TX>, <&xdmac 2 DMA_PERID_SPI0_RX>;
11	dma-names = "tx", "rx";
12
13	slow@0 {
14		compatible = "test-spi-loopback-slow";
15		reg = <0>;
16		spi-max-frequency = <500000>;
17	};
18	fast@0 {
19		compatible = "test-spi-loopback-fast";
20		reg = <0>;
21		spi-max-frequency = <1000000>;
22	};
23};
24
25&spi1 {
26	loopback;
27
28	dmas = <&xdmac 3 DMA_PERID_SPI1_TX>, <&xdmac 4 DMA_PERID_SPI1_RX>;
29	dma-names = "tx", "rx";
30
31	slow@0 {
32		compatible = "test-spi-loopback-slow";
33		reg = <0>;
34		spi-max-frequency = <500000>;
35	};
36	fast@0 {
37		compatible = "test-spi-loopback-fast";
38		reg = <0>;
39		spi-max-frequency = <1000000>;
40	};
41};
42