Skip to content

Commit 075bacd

Browse files
magp-nordicmasz-nordic
authored andcommitted
snippets: sdp: mspi: add nRF54L15 DK external flash
Add nRF54L15 DK external flash as a MSPI device. Also, change VIO drive to standard, so that external flash could transmit data. Signed-off-by: Magdalena Pastula <[email protected]>
1 parent 0f7da9c commit 075bacd

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

snippets/sdp/mspi/soc/nrf54l15_cpuapp.overlay

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
<NRF_PSEL(SDP_MSPI_DQ2, 2, 3)>,
8181
<NRF_PSEL(SDP_MSPI_DQ3, 2, 0)>,
8282
<NRF_PSEL(SDP_MSPI_CS0, 2, 5)>;
83-
nordic,drive-mode = <NRF_DRIVE_E0E1>;
83+
nordic,drive-mode = <NRF_DRIVE_S0S1>;
8484
};
8585
};
8686
/omit-if-no-ref/ sdp_mspi_sleep: sdp_mspi_sleep {
@@ -96,10 +96,37 @@
9696
};
9797
};
9898

99+
/delete-node/ &mx25r64;
100+
99101
&sdp_mspi {
100102
clock-frequency = <DT_FREQ_M(48)>;
101103
pinctrl-0 = <&sdp_mspi_default>;
102104
pinctrl-1 = <&sdp_mspi_sleep>;
103105
pinctrl-names = "default", "sleep";
104106
status = "okay";
107+
mx25r64: mx25r6435f@0 {
108+
compatible = "jedec,mspi-nor", "zephyr,mspi-emul-device";
109+
status = "okay";
110+
reg = <0>;
111+
jedec-id = [c2 28 17];
112+
sfdp-bfp = [
113+
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
114+
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
115+
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 48 44
116+
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff
117+
];
118+
size = <67108864>;
119+
has-dpd;
120+
t-enter-dpd = <10000>;
121+
t-exit-dpd = <35000>;
122+
reset-gpios = <&gpio2 0 GPIO_ACTIVE_LOW>;
123+
124+
mspi-max-frequency = <DT_FREQ_M(1)>;
125+
mspi-io-mode = "MSPI_IO_MODE_SINGLE";
126+
mspi-data-rate = "MSPI_DATA_RATE_SINGLE";
127+
mspi-hardware-ce-num = <0>;
128+
mspi-cpp-mode = "MSPI_CPP_MODE_0";
129+
mspi-endian = "MSPI_BIG_ENDIAN";
130+
mspi-ce-polarity = "MSPI_CE_ACTIVE_LOW";
131+
};
105132
};

0 commit comments

Comments
 (0)