1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7&interface_to_nrf52840 {
8	gpio-map = <0 0 &gpio0 17 0>,
9		   <1 0 &gpio0 18 0>,
10		   <2 0 &gpio0 19 0>,
11		   <3 0 &gpio0 21 0>,
12		   <4 0 &gpio0 22 0>,
13		   <5 0 &gpio0 23 0>,
14		   /* 6: COEX0 */
15		   /* 7: COEX1 */
16		   /* 8: COEX2 */
17		   <9 0 &gpio0 24 0>;
18};
19
20&nrf52840_reset {
21	gpios = <&interface_to_nrf52840 9 GPIO_ACTIVE_LOW>;
22};
23
24&i2c2 {
25	status = "okay";
26	clock-frequency = <I2C_BITRATE_FAST>;
27
28	pcal6408a: pcal6408a@20 {
29		compatible = "nxp,pcal6408a";
30		status = "disabled";
31		reg = <0x20>;
32		gpio-controller;
33		#gpio-cells = <2>;
34		ngpios = <8>;
35		int-gpios = <&gpio0 6 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>;
36	};
37};
38
39&arduino_spi {
40	cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>, /* D10 */
41		   <&gpio0 25 GPIO_ACTIVE_LOW>;
42	mx25r64: mx25r6435f@1 {
43		compatible = "jedec,spi-nor";
44		status = "disabled";
45		reg = <1>;
46		spi-max-frequency = <8000000>;
47		jedec-id = [c2 28 17];
48		sfdp-bfp = [
49			e5 20 f1 ff  ff ff ff 03  44 eb 08 6b  08 3b 04 bb
50			ee ff ff ff  ff ff 00 ff  ff ff 00 ff  0c 20 0f 52
51			10 d8 00 ff  23 72 f5 00  82 ed 04 cc  44 83 48 44
52			30 b0 30 b0  f7 c4 d5 5c  00 be 29 ff  f0 d0 ff ff
53		];
54		size = <67108864>;
55		has-dpd;
56		t-enter-dpd = <10000>;
57		t-exit-dpd = <35000>;
58	};
59};
60