dts: nxp_mcxw71: Flash node is not peripheral

Flash node should not be under the peripheral bus, it is not a
peripheral. The base address of the flash was getting set correctly by
accident due to the fmu node mapping it out of the range of the
peripheral node by coincidence.

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
This commit is contained in:
Declan Snyder 2024-11-22 09:18:19 -06:00 committed by Fabio Baltieri
commit 826c7445f2

View file

@ -39,6 +39,13 @@
}; };
soc { soc {
flash: flash@10000000 {
reg = <0x10000000 DT_SIZE_M(1)>;
compatible = "soc-nv-flash";
write-block-size = <16>;
erase-block-size = <8192>;
};
ctcm: sram@14000000 { ctcm: sram@14000000 {
ranges = <0x0 0x14000000 DT_SIZE_K(16)>; ranges = <0x0 0x14000000 DT_SIZE_K(16)>;
#address-cells = <1>; #address-cells = <1>;
@ -91,13 +98,6 @@
reg = <0x20000 0x1000>; reg = <0x20000 0x1000>;
interrupts = <27 0>; interrupts = <27 0>;
status = "disabled"; status = "disabled";
flash: flash@0 {
reg = <0x0 DT_SIZE_M(1)>;
compatible = "soc-nv-flash";
write-block-size = <16>;
erase-block-size = <8192>;
};
}; };
}; };