Skip to content

Commit 23d7c58

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 8a3d3b1 commit 23d7c58

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
@@ -235,9 +235,10 @@ zephyr_udc0: &usbotg_hs1 {
235235
<&rcc STM32_CLOCK(AHB5, 13)>;
236236
status = "okay";
237237

238-
mx25um51245g: ospi-nor-flash@70000000 {
238+
mx25um51245g: ospi-nor-flash@0 {
239239
compatible = "st,stm32-xspi-nor";
240-
reg = <0x70000000 DT_SIZE_M(64)>; /* 512 Mbits */
240+
reg = <0>;
241+
size = <DT_SIZE_M(512)>; /* 512 Mbits */
241242
ospi-max-frequency = <DT_FREQ_M(200)>;
242243
spi-bus-width = <XSPI_OCTO_MODE>;
243244
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
@@ -272,9 +272,10 @@ zephyr_udc0: &usbotg_hs1 {
272272
<&rcc STM32_CLOCK(AHB5, 13)>;
273273
status = "okay";
274274

275-
mx66uw1g45g: ospi-nor-flash@70000000 {
275+
mx66uw1g45g: ospi-nor-flash@0 {
276276
compatible = "st,stm32-xspi-nor";
277-
reg = <0x70000000 DT_SIZE_M(128)>; /* 1 Gbits */
277+
reg = <0>;
278+
size = <DT_SIZE_M(1024)>; /* 1Gbits */
278279
ospi-max-frequency = <DT_FREQ_M(200)>;
279280
spi-bus-width = <XSPI_OCTO_MODE>;
280281
data-rate = <XSPI_DTR_TRANSFER>;

0 commit comments

Comments
 (0)