Skip to content

Commit 949969d

Browse files
ananglnordic-piks
authored andcommitted
tests: drivers: mspi_with_spis: Fix ranges property in sqspi overlay
This is a follow-up to commit c960096 ("samples: update according to new nrf54h20 RAM memory map"). After the changes applied by the above commit, the `softperiph_ram` node can no longer use empty `ranges` property, since its base address is not 0 now. Add proper address translation, so that the `sqspi` node base address is correct (not 0x3e00, what results in a bus fault when the sQSPI is initialized). Also correct the sQSPI MSPI shim driver documentation accordingly (apart from correcting the `ranges` property for nRF54H20, restore properties that were incorrectly removed from the `reserved-memory` node for nRF54L15). Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 54d396e commit 949969d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

doc/nrf/drivers/mspi_sqspi.rst

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ See the following configuration example for the nRF54L15 SoC:
6969
7070
/ {
7171
reserved-memory {
72+
#address-cells = <1>;
73+
#size-cells = <1>;
74+
ranges;
75+
7276
softperiph_ram: memory@2003c000 {
7377
reg = <0x2003c000 0x4000>;
7478
ranges = <0 0x2003c000 0x4000>;
@@ -149,11 +153,11 @@ The following example configuration for the nRF54H20 SoC sets up the necessary p
149153
150154
softperiph_ram: memory@2f890000 {
151155
reg = <0x2f890000 0x4000>;
152-
ranges;
156+
ranges = <0 0x2f890000 0x4000>;
153157
#address-cells = <1>;
154158
#size-cells = <1>;
155159
156-
dut: sqspi: sqspi@3e00 {
160+
sqspi: sqspi@3e00 {
157161
compatible = "nordic,nrf-sqspi";
158162
#address-cells = <1>;
159163
#size-cells = <0>;

tests/drivers/mspi/mspi_with_spis/boards/nrf54h20dk_nrf54h20_cpuapp_sqspi.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@
132132
reserved-memory {
133133
softperiph_ram: memory@2f890000 {
134134
reg = <0x2f890000 0x4000>;
135-
ranges;
135+
ranges = <0 0x2f890000 0x4000>;
136136
#address-cells = <1>;
137137
#size-cells = <1>;
138138

0 commit comments

Comments
 (0)