* Move test to using devicetree for various "device" params. * Move test to using spi_dt_spec to simplify code Signed-off-by: Kumar Gala <galak@kernel.org>
21 lines
397 B
Text
21 lines
397 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>;
|
|
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>;
|
|
};
|
|
};
|