1/*
2 * Copyright (c) 2024 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&pinctrl {
8	spi00_default: spi00_default {
9		group1 {
10			psels = <NRF_PSEL(SPIM_SCK, 2, 6)>,
11				<NRF_PSEL(SPIM_MISO, 2, 9)>,
12				<NRF_PSEL(SPIM_MOSI, 2, 8)>;
13		};
14	};
15
16	spi00_sleep: spi00_sleep {
17		group1 {
18			psels = <NRF_PSEL(SPIM_SCK, 2, 6)>,
19				<NRF_PSEL(SPIM_MISO, 2, 9)>,
20				<NRF_PSEL(SPIM_MOSI, 2, 8)>;
21			low-power-enable;
22		};
23	};
24};
25
26&spi00 {
27	status = "okay";
28	pinctrl-0 = <&spi00_default>;
29	pinctrl-1 = <&spi00_sleep>;
30	pinctrl-names = "default", "sleep";
31	overrun-character = <0x00>;
32	zephyr,pm-device-runtime-auto;
33	slow@0 {
34		compatible = "test-spi-loopback-slow";
35		reg = <0>;
36		spi-max-frequency = <DT_FREQ_M(2)>;
37	};
38	fast@0 {
39		compatible = "test-spi-loopback-fast";
40		reg = <0>;
41		spi-max-frequency = <DT_FREQ_M(4)>;
42	};
43};
44
45&gpio2 {
46	status = "okay";
47};
48