Commit 5df7d93c authored by Ramesh Babu B's avatar Ramesh Babu B Committed by Carles Cufi
Browse files

tests: drivers: spi: Enable spi_loopback on RPL CRB



Configure through an overlay file, the rpl_crb board
for running the tests/drivers/spi/spi_loopback.

Signed-off-by: default avatarRamesh Babu B <ramesh.babu.b@intel.com>
parent 8de6b50b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
CONFIG_SPI=y
CONFIG_SPI_ASYNC=n
CONFIG_GPIO=y
CONFIG_SPI_LOOPBACK_MODE_LOOP=y
+24 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2023 Intel Corporation
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/* External Loopback: Short MOSI (J7H4.3) & MISO (J7H4.5) */

&spi0 {
	pw,cs-mode = <0>;
	pw,cs-output = <0>;
	status = "okay";

	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>;
	};
};