Add configuration for testing SPI with device runtime PM enabled for nRF platforms. Signed-off-by: Adam Kondraciuk <adam.kondraciuk@nordicsemi.no> Signed-off-by: Nikodem Kastelik <nikodem.kastelik@nordicsemi.no>
22 lines
429 B
Text
22 lines
429 B
Text
/*
|
|
* Copyright (c) 2022 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
&spi3 {
|
|
overrun-character = <0x00>;
|
|
rx-delay = <1>;
|
|
cs-gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
|
|
zephyr,pm-device-runtime-auto;
|
|
slow@0 {
|
|
compatible = "test-spi-loopback-slow";
|
|
reg = <0>;
|
|
spi-max-frequency = <500000>;
|
|
};
|
|
fast@0 {
|
|
compatible = "test-spi-loopback-fast";
|
|
reg = <0>;
|
|
spi-max-frequency = <16000000>;
|
|
};
|
|
};
|