1/*
2 * Copyright 2024 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pinctrl {
8	dspi0_default: dspi0_default {
9		group1 {
10			pinmux = <LVDS_DSPI_10_SOUT>, <LVDS_DSPI_10_SCK>;
11			output-enable;
12			nxp,current-reference-control;
13			nxp,termination-resistor;
14		};
15		group2 {
16			pinmux = <LVDS_DSPI_10_SIN>;
17			input-enable;
18			nxp,current-reference-control;
19			nxp,termination-resistor;
20		};
21	};
22};
23
24&dspi0 {
25	pinctrl-0 = <&dspi0_default>;
26	pinctrl-names = "default";
27	status = "okay";
28
29	slow@0 {
30		compatible = "test-spi-loopback-slow";
31		reg = <0>;
32		spi-max-frequency = <500000>;
33	};
34
35	fast@0 {
36		compatible = "test-spi-loopback-fast";
37		reg = <0>;
38		spi-max-frequency = <16000000>;
39	};
40};
41