1/*
2 * Copyright (c) 2018 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7flash_controller: flash-controller@39000 {
8	compatible = "nordic,nrf91-flash-controller";
9	reg = <0x39000 0x1000>;
10	partial-erase;
11
12	#address-cells = <1>;
13	#size-cells = <1>;
14
15
16	flash0: flash@0 {
17		compatible = "soc-nv-flash";
18		erase-block-size = <4096>;
19		write-block-size = <4>;
20	};
21};
22
23adc: adc@e000 {
24	compatible = "nordic,nrf-saadc";
25	reg = <0xe000 0x1000>;
26	interrupts = <14 NRF_DEFAULT_IRQ_PRIORITY>;
27	status = "disabled";
28	#io-channel-cells = <1>;
29};
30
31dppic0: dppic: dppic@17000 {
32	compatible = "nordic,nrf-dppic";
33	reg = <0x17000 0x1000>;
34	status = "okay";
35};
36
37egu0: egu@1b000 {
38	compatible = "nordic,nrf-egu";
39	reg = <0x1b000 0x1000>;
40	interrupts = <27 NRF_DEFAULT_IRQ_PRIORITY>;
41	status = "okay";
42};
43
44egu1: egu@1c000 {
45	compatible = "nordic,nrf-egu";
46	reg = <0x1c000 0x1000>;
47	interrupts = <28 NRF_DEFAULT_IRQ_PRIORITY>;
48	status = "okay";
49};
50
51egu2: egu@1d000 {
52	compatible = "nordic,nrf-egu";
53	reg = <0x1d000 0x1000>;
54	interrupts = <29 NRF_DEFAULT_IRQ_PRIORITY>;
55	status = "okay";
56};
57
58egu3: egu@1e000 {
59	compatible = "nordic,nrf-egu";
60	reg = <0x1e000 0x1000>;
61	interrupts = <30 NRF_DEFAULT_IRQ_PRIORITY>;
62	status = "okay";
63};
64
65egu4: egu@1f000 {
66	compatible = "nordic,nrf-egu";
67	reg = <0x1f000 0x1000>;
68	interrupts = <31 NRF_DEFAULT_IRQ_PRIORITY>;
69	status = "okay";
70};
71
72egu5: egu@20000 {
73	compatible = "nordic,nrf-egu";
74	reg = <0x20000 0x1000>;
75	interrupts = <32 NRF_DEFAULT_IRQ_PRIORITY>;
76	status = "okay";
77};
78
79ipc: ipc@2a000 {
80	compatible = "nordic,nrf-ipc";
81	reg = <0x2a000 0x1000>;
82	interrupts = <42 NRF_DEFAULT_IRQ_PRIORITY>;
83	status = "okay";
84};
85
86i2s0: i2s@28000 {
87	compatible = "nordic,nrf-i2s";
88	#address-cells = <1>;
89	#size-cells = <0>;
90	reg = <0x28000 0x1000>;
91	interrupts = <40 NRF_DEFAULT_IRQ_PRIORITY>;
92	status = "disabled";
93};
94
95kmu: kmu@39000 {
96	compatible = "nordic,nrf-kmu";
97	reg = <0x39000 0x1000>;
98	interrupts = <57 NRF_DEFAULT_IRQ_PRIORITY>;
99	status = "okay";
100};
101
102pdm0: pdm@26000 {
103	compatible = "nordic,nrf-pdm";
104	reg = <0x26000 0x1000>;
105	interrupts = <38 NRF_DEFAULT_IRQ_PRIORITY>;
106	status = "disabled";
107};
108
109regulators: regulator@4000 {
110	compatible = "nordic,nrf91x-regulators";
111	reg = <0x4000 0x1000>;
112	status = "okay";
113};
114
115vmc: vmc@3a000 {
116	compatible = "nordic,nrf-vmc";
117	reg = <0x3a000 0x1000>;
118	status = "okay";
119};
120
121uart0: uart@8000 {
122	compatible = "nordic,nrf-uarte";
123	reg = <0x8000 0x1000>;
124	interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
125	status = "disabled";
126};
127
128uart1: uart@9000 {
129	compatible = "nordic,nrf-uarte";
130	reg = <0x9000 0x1000>;
131	interrupts = <9 NRF_DEFAULT_IRQ_PRIORITY>;
132	status = "disabled";
133};
134
135uart2: uart@a000 {
136	compatible = "nordic,nrf-uarte";
137	reg = <0xa000 0x1000>;
138	interrupts = <10 NRF_DEFAULT_IRQ_PRIORITY>;
139	status = "disabled";
140};
141
142uart3: uart@b000 {
143	compatible = "nordic,nrf-uarte";
144	reg = <0xb000 0x1000>;
145	interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>;
146	status = "disabled";
147};
148
149i2c0: i2c@8000 {
150	/*
151	 * This i2c node can be either TWIM or TWIS, for the user to pick:
152	 * compatible = "nordic,nrf-twim" or
153	 *              "nordic,nrf-twis".
154	 */
155	compatible = "nordic,nrf-twim";
156	#address-cells = <1>;
157	#size-cells = <0>;
158	reg = <0x8000 0x1000>;
159	interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
160	easydma-maxcnt-bits = <13>;
161	status = "disabled";
162	zephyr,pm-device-runtime-auto;
163};
164
165i2c1: i2c@9000 {
166	/*
167	 * This i2c node can be either TWIM or TWIS, for the user to pick:
168	 * compatible = "nordic,nrf-twim" or
169	 *              "nordic,nrf-twis".
170	 */
171	compatible = "nordic,nrf-twim";
172	#address-cells = <1>;
173	#size-cells = <0>;
174	reg = <0x9000 0x1000>;
175	interrupts = <9 NRF_DEFAULT_IRQ_PRIORITY>;
176	easydma-maxcnt-bits = <13>;
177	status = "disabled";
178	zephyr,pm-device-runtime-auto;
179};
180
181i2c2: i2c@a000 {
182	/*
183	 * This i2c node can be either TWIM or TWIS, for the user to pick:
184	 * compatible = "nordic,nrf-twim" or
185	 *              "nordic,nrf-twis".
186	 */
187	compatible = "nordic,nrf-twim";
188	#address-cells = <1>;
189	#size-cells = <0>;
190	reg = <0xa000 0x1000>;
191	interrupts = <10 NRF_DEFAULT_IRQ_PRIORITY>;
192	easydma-maxcnt-bits = <13>;
193	status = "disabled";
194	zephyr,pm-device-runtime-auto;
195};
196
197i2c3: i2c@b000 {
198	/*
199	 * This i2c node can be either TWIM or TWIS, for the user to pick:
200	 * compatible = "nordic,nrf-twim" or
201	 *              "nordic,nrf-twis".
202	 */
203	compatible = "nordic,nrf-twim";
204	#address-cells = <1>;
205	#size-cells = <0>;
206	reg = <0xb000 0x1000>;
207	interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>;
208	easydma-maxcnt-bits = <13>;
209	status = "disabled";
210	zephyr,pm-device-runtime-auto;
211};
212
213spi0: spi@8000 {
214	/*
215	 * This spi node can be either SPIM or SPIS, for the user to pick:
216	 * compatible = "nordic,nrf-spim" or
217	 *              "nordic,nrf-spis".
218	 */
219	compatible = "nordic,nrf-spim";
220	#address-cells = <1>;
221	#size-cells = <0>;
222	reg = <0x8000 0x1000>;
223	interrupts = <8 NRF_DEFAULT_IRQ_PRIORITY>;
224	max-frequency = <DT_FREQ_M(8)>;
225	easydma-maxcnt-bits = <13>;
226	status = "disabled";
227};
228
229spi1: spi@9000 {
230	/*
231	 * This spi node can be either SPIM or SPIS, for the user to pick:
232	 * compatible = "nordic,nrf-spim" or
233	 *              "nordic,nrf-spis".
234	 */
235	compatible = "nordic,nrf-spim";
236	#address-cells = <1>;
237	#size-cells = <0>;
238	reg = <0x9000 0x1000>;
239	interrupts = <9 NRF_DEFAULT_IRQ_PRIORITY>;
240	max-frequency = <DT_FREQ_M(8)>;
241	easydma-maxcnt-bits = <13>;
242	status = "disabled";
243};
244
245spi2: spi@a000 {
246	/*
247	 * This spi node can be either SPIM or SPIS, for the user to pick:
248	 * compatible = "nordic,nrf-spim" or
249	 *              "nordic,nrf-spis".
250	 */
251	compatible = "nordic,nrf-spim";
252	#address-cells = <1>;
253	#size-cells = <0>;
254	reg = <0xa000 0x1000>;
255	interrupts = <10 NRF_DEFAULT_IRQ_PRIORITY>;
256	max-frequency = <DT_FREQ_M(8)>;
257	easydma-maxcnt-bits = <13>;
258	status = "disabled";
259};
260
261spi3: spi@b000 {
262	/*
263	 * This spi node can be either SPIM or SPIS, for the user to pick:
264	 * compatible = "nordic,nrf-spim" or
265	 *              "nordic,nrf-spis".
266	 */
267	compatible = "nordic,nrf-spim";
268	#address-cells = <1>;
269	#size-cells = <0>;
270	reg = <0xb000 0x1000>;
271	interrupts = <11 NRF_DEFAULT_IRQ_PRIORITY>;
272	max-frequency = <DT_FREQ_M(8)>;
273	easydma-maxcnt-bits = <13>;
274	status = "disabled";
275};
276
277pwm0: pwm@21000 {
278	compatible = "nordic,nrf-pwm";
279	reg = <0x21000 0x1000>;
280	interrupts = <33 NRF_DEFAULT_IRQ_PRIORITY>;
281	status = "disabled";
282	#pwm-cells = <3>;
283};
284
285pwm1: pwm@22000 {
286	compatible = "nordic,nrf-pwm";
287	reg = <0x22000 0x1000>;
288	interrupts = <34 NRF_DEFAULT_IRQ_PRIORITY>;
289	status = "disabled";
290	#pwm-cells = <3>;
291};
292
293pwm2: pwm@23000 {
294	compatible = "nordic,nrf-pwm";
295	reg = <0x23000 0x1000>;
296	interrupts = <35 NRF_DEFAULT_IRQ_PRIORITY>;
297	status = "disabled";
298	#pwm-cells = <3>;
299};
300
301pwm3: pwm@24000 {
302	compatible = "nordic,nrf-pwm";
303	reg = <0x24000 0x1000>;
304	interrupts = <36 NRF_DEFAULT_IRQ_PRIORITY>;
305	status = "disabled";
306	#pwm-cells = <3>;
307};
308
309gpio0: gpio@842500 {
310	compatible = "nordic,nrf-gpio";
311	gpio-controller;
312	reg = <0x842500 0x300>;
313	#gpio-cells = <2>;
314	status = "disabled";
315	port = <0>;
316	gpiote-instance = <&gpiote>;
317};
318
319rtc0: rtc@14000 {
320	compatible = "nordic,nrf-rtc";
321	reg = <0x14000 0x1000>;
322	cc-num = <4>;
323	interrupts = <20 NRF_DEFAULT_IRQ_PRIORITY>;
324	status = "disabled";
325	clock-frequency = <32768>;
326	prescaler = <1>;
327};
328
329rtc1: rtc@15000 {
330	compatible = "nordic,nrf-rtc";
331	reg = <0x15000 0x1000>;
332	cc-num = <4>;
333	interrupts = <21 NRF_DEFAULT_IRQ_PRIORITY>;
334	status = "disabled";
335	clock-frequency = <32768>;
336	prescaler = <1>;
337};
338
339clock: clock@5000 {
340	compatible = "nordic,nrf-clock";
341	reg = <0x5000 0x1000>;
342	interrupts = <5 NRF_DEFAULT_IRQ_PRIORITY>;
343	status = "okay";
344};
345
346power: power@5000 {
347	compatible = "nordic,nrf-power";
348	reg = <0x5000 0x1000>;
349	ranges = <0x0 0x5000 0x1000>;
350	interrupts = <5 NRF_DEFAULT_IRQ_PRIORITY>;
351	status = "okay";
352	#address-cells = <1>;
353	#size-cells = <1>;
354
355	gpregret1: gpregret1@51c {
356		#address-cells = <1>;
357		#size-cells = <1>;
358		compatible = "nordic,nrf-gpregret";
359		reg = <0x51c 0x1>;
360		status = "okay";
361	};
362
363	gpregret2: gpregret2@520 {
364		#address-cells = <1>;
365		#size-cells = <1>;
366		compatible = "nordic,nrf-gpregret";
367		reg = <0x520 0x1>;
368		status = "okay";
369	};
370};
371
372wdt: wdt0: watchdog@18000 {
373	compatible = "nordic,nrf-wdt";
374	reg = <0x18000 0x1000>;
375	interrupts = <24 NRF_DEFAULT_IRQ_PRIORITY>;
376	status = "okay";
377};
378
379timer0: timer@f000 {
380	compatible = "nordic,nrf-timer";
381	status = "disabled";
382	reg = <0xf000 0x1000>;
383	cc-num = <6>;
384	max-bit-width = <32>;
385	interrupts = <15 NRF_DEFAULT_IRQ_PRIORITY>;
386	prescaler = <0>;
387};
388
389timer1: timer@10000 {
390	compatible = "nordic,nrf-timer";
391	status = "disabled";
392	reg = <0x10000 0x1000>;
393	cc-num = <6>;
394	max-bit-width = <32>;
395	interrupts = <16 NRF_DEFAULT_IRQ_PRIORITY>;
396	prescaler = <0>;
397};
398
399timer2: timer@11000 {
400	compatible = "nordic,nrf-timer";
401	status = "disabled";
402	reg = <0x11000 0x1000>;
403	cc-num = <6>;
404	max-bit-width = <32>;
405	interrupts = <17 NRF_DEFAULT_IRQ_PRIORITY>;
406	prescaler = <0>;
407};
408