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