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