1/* 2 * Copyright (c) 2020 STMicroelectronics 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&spi1 { 8 dmas = <&dmamux1 11 7 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH) 9 &dmamux1 1 6 (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&dma2 { 28 status = "okay"; 29}; 30 31&dmamux1 { 32 status = "okay"; 33}; 34