Skip to content

Commit 826c988

Browse files
ArekBalysNordicjukkar
authored andcommitted
samples: matter: Switch to legacy exmif driver
The flash_companion image needed to perform SUIT update from external memory currently requires to use the legacy SPI instead of the new MSPI driver in Matter samples. Signed-off-by: Arkadiusz Balys <[email protected]>
1 parent e391c46 commit 826c988

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

samples/matter/common/dts/nrf54h20/nrf54h20_cpuapp_peripherals.dtsi

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,54 @@
3232
&cpusec_bellboard {
3333
status = "okay";
3434
};
35+
36+
/* Legacy exmif driver overlay - currently needed for DFU from extmem */
37+
38+
&exmif_default {
39+
group1 {
40+
psels = <NRF_PSEL(EXMIF_CK, 6, 0)>,
41+
<NRF_PSEL(EXMIF_DQ0, 6, 7)>,
42+
<NRF_PSEL(EXMIF_DQ1, 6, 5)>;
43+
nordic,drive-mode = <NRF_DRIVE_H0H1>;
44+
};
45+
};
46+
47+
/delete-node/ &exmif;
48+
49+
&global_peripherals {
50+
exmif: spi@95000 {
51+
compatible = "nordic,nrf-exmif-spi", "snps,designware-spi";
52+
pinctrl-0 = <&exmif_default>;
53+
pinctrl-names = "default";
54+
#address-cells = <1>;
55+
#size-cells = <0>;
56+
reg = <0x95000 0x500 0x95500 0xb00>;
57+
reg-names = "wrapper", "core";
58+
interrupts = <149 NRF_DEFAULT_IRQ_PRIORITY>;
59+
power-domains = <&gpd NRF_GPD_FAST_ACTIVE0>;
60+
clock-frequency = <DT_FREQ_M(400)>;
61+
fifo-depth = <32>;
62+
max-xfer-size = <16>;
63+
cs-gpios = <&gpio6 3 GPIO_ACTIVE_LOW>;
64+
};
65+
};
66+
67+
&exmif {
68+
mx25uw63: mx25uw6345g@0 {
69+
compatible = "jedec,spi-nor";
70+
reg = <0>;
71+
spi-max-frequency = <DT_FREQ_M(48)>;
72+
jedec-id = [c2 84 37];
73+
sfdp-bfp = [
74+
e5 20 8a ff ff ff ff 03 00 ff 00 ff 00 ff 00 ff
75+
ee ff ff ff ff ff 00 ff ff ff 00 ff 0c 20 10 d8
76+
00 ff 00 ff 87 79 01 00 84 12 00 c4 cc 04 67 46
77+
30 b0 30 b0 f4 bd d5 5c 00 00 00 ff 10 10 00 20
78+
00 00 00 00 00 00 7c 23 48 00 00 00 00 00 88 88
79+
];
80+
size = <67108864>;
81+
has-dpd;
82+
t-enter-dpd = <10000>;
83+
t-exit-dpd = <30000>;
84+
};
85+
};

0 commit comments

Comments
 (0)