Skip to content

Commit c196eae

Browse files
committed
boards: st: stm32N6 boards xspi-nor-flash DTS configuration
This PR defines the "st,stm32-xspi-nor" compatible Node in conformance to the DTS specifications Includes the size property (in Bits) of the external NOR device Signed-off-by: Francois Ramu <[email protected]>
1 parent 839b66e commit c196eae

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

boards/st/nucleo_n657x0_q/nucleo_n657x0_q_common.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,10 @@
210210
pinctrl-names = "default";
211211
status = "okay";
212212

213-
mx25um51245g: ospi-nor-flash@70000000 {
213+
mx25um51245g: ospi-nor-flash@0 {
214214
compatible = "st,stm32-xspi-nor";
215-
reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits */
215+
reg = <0>;
216+
size = <DT_SIZE_M(512)>; /* 512 Mbits */
216217
ospi-max-frequency = <DT_FREQ_M(200)>;
217218
spi-bus-width = <XSPI_OCTO_MODE>;
218219
data-rate = <XSPI_DTR_TRANSFER>;

boards/st/stm32n6570_dk/stm32n6570_dk_common.dtsi

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,10 @@
226226
pinctrl-names = "default";
227227
status = "okay";
228228

229-
mx66uw1g45g: ospi-nor-flash@70000000 {
229+
mx66uw1g45g: ospi-nor-flash@0 {
230230
compatible = "st,stm32-xspi-nor";
231-
reg = <0x70000000 DT_SIZE_M(128)>; /* 1 Gbits */
231+
reg = <0>;
232+
size = <DT_SIZE_M(1024)>; /* 1Gbits */
232233
ospi-max-frequency = <DT_FREQ_M(200)>;
233234
spi-bus-width = <XSPI_OCTO_MODE>;
234235
data-rate = <XSPI_DTR_TRANSFER>;

0 commit comments

Comments
 (0)