Skip to content

Commit aac2c5c

Browse files
FRASTMkartben
authored andcommitted
dts: arm: stm32 reg definition for the st,stm32-qspi compatible
The st,stm32-qspi compatible is defining the reg property with the register address and size at first index followed by the external mem base address and max allocated size. For the stm32F412, stm32F7, stm32L4, stm32H7, stm32WB series. qspi is addressing max 256 MBytes from 0x90000000. Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent ec9f74f commit aac2c5c

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed

dts/arm/st/f4/stm32f412.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@
214214

215215
quadspi: spi@a0001000 {
216216
compatible = "st,stm32-qspi";
217-
#address-cells = <0x1>;
218-
#size-cells = <0x1>;
219-
reg = <0xa0001000 0x400>;
217+
#address-cells = <1>;
218+
#size-cells = <0>;
219+
reg = <0xa0001000 0x400>, <0x90000000 DT_SIZE_M(256)>;
220220
interrupts = <92 0>;
221221
clocks = <&rcc STM32_CLOCK(AHB3, 1U)>;
222222
status = "disabled";

dts/arm/st/f7/stm32f7.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -856,9 +856,9 @@
856856

857857
quadspi: spi@a0001000 {
858858
compatible = "st,stm32-qspi";
859-
#address-cells = <0x1>;
860-
#size-cells = <0x1>;
861-
reg = <0xa0001000 0x34>;
859+
#address-cells = <1>;
860+
#size-cells = <0>;
861+
reg = <0xa0001000 0x1000>, <0x90000000 DT_SIZE_M(256)>;
862862
interrupts = <92 0>;
863863
clocks = <&rcc STM32_CLOCK(AHB3, 1U)>;
864864
status = "disabled";

dts/arm/st/h7/stm32h7.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,9 +1072,9 @@
10721072

10731073
quadspi: spi@52005000 {
10741074
compatible = "st,stm32-qspi";
1075-
#address-cells = <0x1>;
1076-
#size-cells = <0x1>;
1077-
reg = <0x52005000 0x34>;
1075+
#address-cells = <1>;
1076+
#size-cells = <0>;
1077+
reg = <0x52005000 0x1000>, <0x90000000 DT_SIZE_M(256)>;
10781078
interrupts = <92 0>;
10791079
clocks = <&rcc STM32_CLOCK(AHB3, 14U)>;
10801080
status = "disabled";

dts/arm/st/l4/stm32l4.dtsi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@
266266
quadspi: spi@a0001000 {
267267
compatible = "st,stm32-qspi";
268268
#address-cells = <1>;
269-
#size-cells = <1>;
270-
reg = <0xa0001000 0x400>;
269+
#size-cells = <0>;
270+
reg = <0xa0001000 0x400>, <0x90000000 DT_SIZE_M(256)>;
271271
interrupts = <71 0>;
272272
clocks = <&rcc STM32_CLOCK(AHB3, 8U)>;
273273
status = "disabled";

dts/arm/st/wb/stm32wb.dtsi

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -496,9 +496,9 @@
496496

497497
quadspi: spi@a0001000 {
498498
compatible = "st,stm32-qspi";
499-
#address-cells = <0x1>;
500-
#size-cells = <0x1>;
501-
reg = <0xa0001000 0x400>;
499+
#address-cells = <1>;
500+
#size-cells = <0>;
501+
reg = <0xa0001000 0x400>, <0x90000000 DT_SIZE_M(256)>;
502502
interrupts = <0x32 0x0>;
503503
clocks = <&rcc STM32_CLOCK(AHB3, 8U)>;
504504
status = "disabled";

0 commit comments

Comments
 (0)