Skip to content

Commit fb01afe

Browse files
butokkartben
authored andcommitted
dts: nxp: mcxw71: Fix flash build errors
- Fixes mcxw71 CI errors caused by wrong place of the 'flash' node in DTS. - Fixes mcxw71 build errors for storage, flash and mcuboot examples. Signed-off-by: Andrej Butok <[email protected]>
1 parent 3feb137 commit fb01afe

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

dts/arm/nxp/nxp_mcxw71.dtsi

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,21 @@
3939
};
4040

4141
soc {
42-
flash: flash@10000000 {
43-
reg = <0x10000000 DT_SIZE_M(1)>;
44-
compatible = "soc-nv-flash";
45-
write-block-size = <16>;
46-
erase-block-size = <8192>;
42+
fmu: memory-controller@50020000 {
43+
ranges = <0x0 0x10000000 DT_SIZE_M(1)>;
44+
#address-cells = <1>;
45+
#size-cells = <1>;
46+
compatible = "nxp,msf1";
47+
reg = <0x50020000 0x1000>;
48+
interrupts = <27 0>;
49+
status = "disabled";
50+
51+
flash: flash@0 {
52+
reg = <0x0 DT_SIZE_M(1)>;
53+
compatible = "soc-nv-flash";
54+
write-block-size = <16>;
55+
erase-block-size = <8192>;
56+
};
4757
};
4858

4959
ctcm: sram@14000000 {
@@ -89,16 +99,6 @@
8999
reg = <0x0 0x4b000>;
90100
#address-cells = <1>;
91101
#size-cells = <1>;
92-
93-
fmu: memory-controller@20000 {
94-
ranges = <0x0 0x10000000 DT_SIZE_M(1)>;
95-
#address-cells = <1>;
96-
#size-cells = <1>;
97-
compatible = "nxp,msf1";
98-
reg = <0x20000 0x1000>;
99-
interrupts = <27 0>;
100-
status = "disabled";
101-
};
102102
};
103103

104104
fast_peripheral0: fast_peripherals0@8000000 {

0 commit comments

Comments
 (0)