/* * Copyright (c) 2021 STMicroelectronics * * SPDX-License-Identifier: Apache-2.0 */ &spi1 { pinctrl-0 = <&spi1_nss_pa4 &spi1_sck_pa5 &spi1_miso_pa6 &spi1_mosi_pa7>; pinctrl-names = "default"; dmas = <&dma1 3 (STM32_DMA_PERIPH_TX | STM32_DMA_PRIORITY_HIGH) &dma1 2 (STM32_DMA_PERIPH_RX | STM32_DMA_PRIORITY_HIGH)>; dma-names = "tx", "rx"; status = "okay"; slow@0 { compatible = "test-spi-loopback-slow"; reg = <0>; spi-max-frequency = <150000>; }; fast@0 { compatible = "test-spi-loopback-fast"; reg = <0>; spi-max-frequency = <500000>; }; }; &dma1 { status = "okay"; };