1/* 2 * Copyright (c) 2023 Graphcore Ltd, All rights reserved. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7&sram2 { 8 zephyr,memory-attr = < DT_MEM_ARM(ATTR_MPU_RAM_NOCACHE) >; 9}; 10 11&spi1 { 12 dmas = <&dmamux1 0 38 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH | STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS) 13 &dmamux1 1 37 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH | STM32_DMA_MEM_16BITS | STM32_DMA_PERIPH_16BITS)>; 14 dma-names = "tx", "rx"; 15 slow@0 { 16 compatible = "test-spi-loopback-slow"; 17 reg = <0>; 18 spi-max-frequency = <500000>; 19 }; 20 fast@0 { 21 compatible = "test-spi-loopback-fast"; 22 reg = <0>; 23 spi-max-frequency = <16000000>; 24 }; 25}; 26 27&dma1 { 28 status = "okay"; 29}; 30 31&dma2 { 32 status = "okay"; 33}; 34 35&dmamux1 { 36 status = "okay"; 37}; 38