File tree Expand file tree Collapse file tree 7 files changed +12
-19
lines changed Expand file tree Collapse file tree 7 files changed +12
-19
lines changed Original file line number Diff line number Diff line change @@ -261,11 +261,10 @@ zephyr_udc0: &usbotg_fs {
261261
262262 status = "okay";
263263
264- mx25r6435f: ospi-nor-flash@0 {
264+ mx25r6435f: ospi-nor-flash@90000000 {
265265 compatible = "st,stm32-ospi-nor";
266- reg = <0>;
266+ reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Megabits */
267267 ospi-max-frequency = <DT_FREQ_M(26)>; /* for Voltage Range 2 */
268- size = <DT_SIZE_M(64)>; /* 64 Megabits */
269268 spi-bus-width = <OSPI_QUAD_MODE>;
270269 data-rate = <OSPI_STR_TRANSFER>;
271270 writeoc="PP_1_4_4";
Original file line number Diff line number Diff line change @@ -251,11 +251,10 @@ zephyr_udc0: &usbotg_fs {
251251
252252 status = "okay";
253253
254- mx25r6435f: ospi-nor-flash@0 {
254+ mx25r6435f: ospi-nor-flash@90000000 {
255255 compatible = "st,stm32-ospi-nor";
256- reg = <0>;
256+ reg = <0x90000000 DT_SIZE_M(8)>; /* 64 Megabits */
257257 ospi-max-frequency = <DT_FREQ_M(26)>; /* for Voltage Range 2 */
258- size = <DT_SIZE_M(64)>; /* 64 Megabits */
259258 spi-bus-width = <OSPI_QUAD_MODE>;
260259 data-rate = <OSPI_STR_TRANSFER>;
261260 writeoc="PP_1_4_4";
Original file line number Diff line number Diff line change 239239
240240 status = "okay";
241241
242- mx25lm51245: ospi-nor-flash@0 {
242+ mx25lm51245: ospi-nor-flash@90000000 {
243243 compatible = "st,stm32-ospi-nor";
244- reg = <0>;
244+ reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
245245 ospi-max-frequency = <DT_FREQ_M(50)>;
246- size = <DT_SIZE_M(512)>; /* 64 MBytes */
247246 spi-bus-width = <OSPI_OPI_MODE>;
248247 data-rate = <OSPI_DTR_TRANSFER>;
249248 four-byte-opcodes;
Original file line number Diff line number Diff line change 165165
166166 status = "okay";
167167
168- mx25lm51245: ospi-nor-flash@0 {
168+ mx25lm51245: ospi-nor-flash@90000000 {
169169 compatible = "st,stm32-ospi-nor";
170- reg = <0>;
170+ reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
171171 ospi-max-frequency = <DT_FREQ_M(50)>;
172- size = <DT_SIZE_M(512)>; /* 64 MBytes */
173172 spi-bus-width = <OSPI_OPI_MODE>;
174173 data-rate = <OSPI_DTR_TRANSFER>;
175174 status = "okay";
Original file line number Diff line number Diff line change 124124 compatible = "st,stm32-qspi-nor";
125125 reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
126126 qspi-max-frequency = <72000000>;
127- size = <DT_SIZE_M(512)>; /* 64 MBytes */
128127 status = "okay";
129128 };
130129};
Original file line number Diff line number Diff line change 253253
254254 status = "okay";
255255
256- mx25lm51245: ospi-nor-flash@0 {
256+ mx25lm51245: ospi-nor-flash@90000000 {
257257 compatible = "st,stm32-ospi-nor";
258- reg = <0>;
258+ reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
259259 ospi-max-frequency = <DT_FREQ_M(50)>;
260- size = <DT_SIZE_M(512)>; /* 512 Megabits */
261260 spi-bus-width = <OSPI_OPI_MODE>;
262261 data-rate = <OSPI_DTR_TRANSFER>;
263262 status = "okay";
Original file line number Diff line number Diff line change @@ -224,12 +224,11 @@ zephyr_udc0: &usbotg_fs {
224224 &octospim_p2_dqs_pg15>;
225225 pinctrl-names = "default";
226226
227- mx25lm51245: ospi-nor-flash@0 {
227+ mx25lm51245: ospi-nor-flash@90000000 {
228228 status = "okay";
229229 compatible = "st,stm32-ospi-nor";
230- reg = <0>;
230+ reg = <0x90000000 DT_SIZE_M(64)>; /* 512 Mbits */
231231 ospi-max-frequency = <DT_FREQ_M(25)>;
232- size = <DT_SIZE_M(512)>; /* 512 Mbits = 64 MBytes */
233232 spi-bus-width = <OSPI_OPI_MODE>;
234233 data-rate = <OSPI_STR_TRANSFER>;
235234 four-byte-opcodes;
You can’t perform that action at this time.
0 commit comments