1/*
2 * Copyright 2022 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pinctrl {
8	spi0_default: spi0_default {
9		group1 {
10			pinmux = <PA8_DSPI_0_SOUT>, <PA6_DSPI_0_SCK_O>, <PA2_DSPI_0_PCS0_O>;
11			output-enable;
12		};
13		group2 {
14			pinmux = <PA7_DSPI_0_SIN>;
15			input-enable;
16		};
17	};
18};
19
20&spi0 {
21	pinctrl-0 = <&spi0_default>;
22	pinctrl-names = "default";
23	clock-frequency = <100000000>;
24	status = "okay";
25
26	slow@0 {
27		compatible = "test-spi-loopback-slow";
28		reg = <0>;
29		spi-max-frequency = <500000>;
30	};
31
32	fast@0 {
33		compatible = "test-spi-loopback-fast";
34		reg = <0>;
35		spi-max-frequency = <16000000>;
36	};
37};
38