-
Notifications
You must be signed in to change notification settings - Fork 4
/
nrf9160dk_with_ext_flash.overlay
39 lines (36 loc) · 1.06 KB
/
nrf9160dk_with_ext_flash.overlay
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Copyright (c) 2023 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
*/
/* The mx25r64 definition would normally be included when specifying a nrf9160dk_nrf9160_ns
* board revision >= 0.14.0, but unfortunately twister has a bug that prevents the revision
* overlay to get loaded when testing the sample. */
&spi3 {
cs-gpios = <&arduino_header 16 GPIO_ACTIVE_LOW>, /* D10 */
<&gpio0 25 GPIO_ACTIVE_LOW>;
mx25r64: mx25r6435f@1 {
compatible = "jedec,spi-nor";
reg = <1>;
status = "okay";
spi-max-frequency = <8000000>;
jedec-id = [c2 28 17];
sfdp-bfp = [
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 68 44
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff
];
size = <67108864>;
mxicy,mx25r-power-mode = "high-performance";
};
};
/ {
aliases {
ext-flash = &mx25r64;
};
/* Configure partition manager to use mx25r64 as the external flash */
chosen {
nordic,pm-ext-flash = &mx25r64;
};
};