Skip to content

Commit 7f060b6

Browse files
mstasiaknordicnordic-piks
authored andcommitted
boards: nordic: nrf54lm20apdk: add flash memory node
Added mx26r64 flash memory node under spi00 peripheral. Signed-off-by: Michał Stasiak <[email protected]>
1 parent 39aedca commit 7f060b6

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

boards/nordic/nrf54lm20apdk/nrf54lm20a_cpuapp_common.dtsi

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,29 @@
133133
zephyr_udc0: &usbhs {
134134
status = "okay";
135135
};
136+
137+
&spi00 {
138+
status = "okay";
139+
cs-gpios = <&gpio2 5 GPIO_ACTIVE_LOW>;
140+
pinctrl-0 = <&spi00_default>;
141+
pinctrl-1 = <&spi00_sleep>;
142+
pinctrl-names = "default", "sleep";
143+
144+
mx25r64: mx25r6435f@0 {
145+
compatible = "jedec,spi-nor";
146+
status = "okay";
147+
reg = <0>;
148+
spi-max-frequency = <8000000>;
149+
jedec-id = [c2 28 17];
150+
sfdp-bfp = [
151+
e5 20 f1 ff ff ff ff 03 44 eb 08 6b 08 3b 04 bb
152+
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 0f 52
153+
10 d8 00 ff 23 72 f5 00 82 ed 04 cc 44 83 48 44
154+
30 b0 30 b0 f7 c4 d5 5c 00 be 29 ff f0 d0 ff ff
155+
];
156+
size = <67108864>;
157+
has-dpd;
158+
t-enter-dpd = <10000>;
159+
t-exit-dpd = <35000>;
160+
};
161+
};

boards/nordic/nrf54lm20apdk/nrf54lm20apdk_nrf54lm20a-pinctrl.dtsi

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,21 @@
5858
low-power-enable;
5959
};
6060
};
61+
62+
/omit-if-no-ref/ spi00_default: spi00_default {
63+
group1 {
64+
psels = <NRF_PSEL(SPIM_SCK, 2, 1)>,
65+
<NRF_PSEL(SPIM_MOSI, 2, 2)>,
66+
<NRF_PSEL(SPIM_MISO, 2, 4)>;
67+
};
68+
};
69+
70+
/omit-if-no-ref/ spi00_sleep: spi00_sleep {
71+
group1 {
72+
psels = <NRF_PSEL(SPIM_SCK, 2, 1)>,
73+
<NRF_PSEL(SPIM_MOSI, 2, 2)>,
74+
<NRF_PSEL(SPIM_MISO, 2, 4)>;
75+
low-power-enable;
76+
};
77+
};
6178
};

0 commit comments

Comments
 (0)