1/*
2 * Copyright (c) 2022 Raytac Corporation
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6&pinctrl {
7	uart0_default: uart0_default {
8		group1 {
9			psels = <NRF_PSEL(UART_TX, 0, 6)>,
10				<NRF_PSEL(UART_RTS, 0, 5)>;
11		};
12		group2 {
13			psels = <NRF_PSEL(UART_RX, 0, 8)>,
14				<NRF_PSEL(UART_CTS, 0, 7)>;
15			bias-pull-up;
16		};
17	};
18
19	uart0_sleep: uart0_sleep {
20		group1 {
21			psels = <NRF_PSEL(UART_TX, 0, 6)>,
22				<NRF_PSEL(UART_RX, 0, 8)>,
23				<NRF_PSEL(UART_RTS, 0, 5)>,
24				<NRF_PSEL(UART_CTS, 0, 7)>;
25			low-power-enable;
26		};
27	};
28
29	uart1_default: uart1_default {
30		group1 {
31			psels = <NRF_PSEL(UART_RX, 1, 1)>;
32			bias-pull-up;
33		};
34		group2 {
35			psels = <NRF_PSEL(UART_TX, 1, 2)>;
36		};
37	};
38
39	uart1_sleep: uart1_sleep {
40		group1 {
41			psels = <NRF_PSEL(UART_RX, 1, 1)>,
42				<NRF_PSEL(UART_TX, 1, 2)>;
43			low-power-enable;
44		};
45	};
46
47	i2c0_default: i2c0_default {
48		group1 {
49			psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
50				<NRF_PSEL(TWIM_SCL, 0, 27)>;
51		};
52	};
53
54	i2c0_sleep: i2c0_sleep {
55		group1 {
56			psels = <NRF_PSEL(TWIM_SDA, 0, 26)>,
57				<NRF_PSEL(TWIM_SCL, 0, 27)>;
58			low-power-enable;
59		};
60	};
61
62	i2c1_default: i2c1_default {
63		group1 {
64			psels = <NRF_PSEL(TWIM_SDA, 0, 30)>,
65				<NRF_PSEL(TWIM_SCL, 0, 31)>;
66		};
67	};
68
69	i2c1_sleep: i2c1_sleep {
70		group1 {
71			psels = <NRF_PSEL(TWIM_SDA, 0, 30)>,
72				<NRF_PSEL(TWIM_SCL, 0, 31)>;
73			low-power-enable;
74		};
75	};
76
77	pwm0_default: pwm0_default {
78		group1 {
79			psels = <NRF_PSEL(PWM_OUT0, 0, 13)>,
80				<NRF_PSEL(PWM_OUT1, 0, 14)>,
81				<NRF_PSEL(PWM_OUT2, 0, 15)>;
82			nordic,invert;
83		};
84	};
85
86	pwm0_sleep: pwm0_sleep {
87		group1 {
88			psels = <NRF_PSEL(PWM_OUT0, 0, 13)>,
89				<NRF_PSEL(PWM_OUT1, 0, 14)>,
90				<NRF_PSEL(PWM_OUT2, 0, 15)>;
91			low-power-enable;
92		};
93	};
94
95	spi0_default: spi0_default {
96		group1 {
97			psels = <NRF_PSEL(SPIM_SCK, 0, 27)>,
98				<NRF_PSEL(SPIM_MOSI, 0, 26)>,
99				<NRF_PSEL(SPIM_MISO, 0, 29)>;
100		};
101	};
102
103	spi0_sleep: spi0_sleep {
104		group1 {
105			psels = <NRF_PSEL(SPIM_SCK, 0, 27)>,
106				<NRF_PSEL(SPIM_MOSI, 0, 26)>,
107				<NRF_PSEL(SPIM_MISO, 0, 29)>;
108			low-power-enable;
109		};
110	};
111
112	spi1_default: spi1_default {
113		group1 {
114			psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
115				<NRF_PSEL(SPIM_MOSI, 0, 30)>,
116				<NRF_PSEL(SPIM_MISO, 1, 8)>;
117		};
118	};
119
120	spi1_sleep: spi1_sleep {
121		group1 {
122			psels = <NRF_PSEL(SPIM_SCK, 0, 31)>,
123				<NRF_PSEL(SPIM_MOSI, 0, 30)>,
124				<NRF_PSEL(SPIM_MISO, 1, 8)>;
125			low-power-enable;
126		};
127	};
128
129	spi2_default: spi2_default {
130		group1 {
131			psels = <NRF_PSEL(SPIM_SCK, 0, 19)>,
132				<NRF_PSEL(SPIM_MOSI, 0, 20)>,
133				<NRF_PSEL(SPIM_MISO, 0, 21)>;
134		};
135	};
136
137	spi2_sleep: spi2_sleep {
138		group1 {
139			psels = <NRF_PSEL(SPIM_SCK, 0, 19)>,
140				<NRF_PSEL(SPIM_MOSI, 0, 20)>,
141				<NRF_PSEL(SPIM_MISO, 0, 21)>;
142			low-power-enable;
143		};
144	};
145
146	qspi_default: qspi_default {
147		group1 {
148			psels = <NRF_PSEL(QSPI_SCK, 0, 19)>,
149				<NRF_PSEL(QSPI_IO0, 0, 20)>,
150				<NRF_PSEL(QSPI_IO1, 0, 21)>,
151				<NRF_PSEL(QSPI_IO2, 0, 22)>,
152				<NRF_PSEL(QSPI_IO3, 0, 23)>,
153				<NRF_PSEL(QSPI_CSN, 0, 17)>;
154		};
155	};
156
157	qspi_sleep: qspi_sleep {
158		group1 {
159			psels = <NRF_PSEL(QSPI_SCK, 0, 19)>,
160				<NRF_PSEL(QSPI_IO0, 0, 20)>,
161				<NRF_PSEL(QSPI_IO1, 0, 21)>,
162				<NRF_PSEL(QSPI_IO2, 0, 22)>,
163				<NRF_PSEL(QSPI_IO3, 0, 23)>;
164			low-power-enable;
165		};
166		group2 {
167			psels = <NRF_PSEL(QSPI_CSN, 0, 17)>;
168			low-power-enable;
169			bias-pull-up;
170		};
171	};
172
173};
174