/* SPDX-License-Identifier: Apache-2.0 */

&pinctrl {
/* EVB's NU5: SS/CLK/MISO/MOSI */
	spi2_default: spi2_default {
		group0 {
			pinmux = <PA11MFP_SPI2_SS>,
				<PA10MFP_SPI2_CLK>,
				<PA9MFP_SPI2_MISO>,
				<PA8MFP_SPI2_MOSI>;
		};
	};
};

&gpioa {
	status = "okay";
};

&spi2 {
	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>;
	};
	status = "okay";
	pinctrl-0 = <&spi2_default>;
	pinctrl-names = "default";
};
