Commit 3974882b authored by Bindu S's avatar Bindu S Committed by Fabio Baltieri
Browse files

tests: drivers: spi: spi_loopback: Enabled SPI in RPL-P



Added overlay and conf to enable SPI tests on RPL-P board.

Signed-off-by: default avatarBindu S <bindu.s@intel.com>
parent b14feec6
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
+25 −0
Original line number Diff line number Diff line
/*
 * Copyright (c) 2023 Intel Corporation
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/* External Loopback: Short MOSI & MISO  */

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