1/*
2 * Copyright (c) 2024 Renesas Electronics Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6 #include <zephyr/dt-bindings/clock/ra_clock.h>
7
8&pinctrl {
9	spi0_default: spi0_default {
10		group1 {
11			/* MISO MOSI RSPCK SSL*/
12			psels = <RA_PSEL(RA_PSEL_SPI, 6, 9)>,
13			<RA_PSEL(RA_PSEL_SPI, 6, 11)>,
14			<RA_PSEL(RA_PSEL_SPI, 6, 10)>,
15			<RA_PSEL(RA_PSEL_SPI, 6, 12)>;
16		};
17	};
18};
19
20&spi0 {
21	rx-dtc;
22	tx-dtc;
23	pinctrl-0 = <&spi0_default>;
24	pinctrl-names = "default";
25	status = "okay";
26	slow@0 {
27		compatible = "test-spi-loopback-slow";
28		reg = <0>;
29		spi-max-frequency = <2000000>;
30	};
31	fast@0 {
32		compatible = "test-spi-loopback-fast";
33		reg = <0>;
34		spi-max-frequency = <3000000>;
35	};
36};
37