Skip to content

Commit a6d652e

Browse files
FRASTMkartben
authored andcommitted
dts: arm: stm32N6 reg definition for the st,stm32-xspi compatible
The st,stm32-xspi compatible is defining the reg property with the register address and size at first index followed by the external memory base address and max allocated size. For the stm32N6 serie, xspi1 is addressing max 256 MBytes from 0x90000000 xspi2 is addressing max 256 MBytes from 0x70000000 Signed-off-by: Francois Ramu <francois.ramu@st.com>
1 parent ef2268f commit a6d652e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dts/arm/st/n6/stm32n6.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -687,27 +687,27 @@
687687

688688
xspi1: xspi@58025000 {
689689
compatible = "st,stm32-xspi";
690-
reg = <0x58025000 0x1000>;
690+
reg = <0x58025000 0x1000>, <0x90000000 DT_SIZE_M(256)>;
691691
interrupts = <170 0>;
692692
clock-names = "xspix", "xspi-ker", "xspi-mgr";
693693
clocks = <&rcc STM32_CLOCK(AHB5, 5)>,
694694
<&rcc STM32_SRC_HCLK5 XSPI1_SEL(0)>,
695695
<&rcc STM32_CLOCK(AHB5, 13)>;
696696
#address-cells = <1>;
697-
#size-cells = <1>;
697+
#size-cells = <0>;
698698
status = "disabled";
699699
};
700700

701701
xspi2: spi@5802a000 {
702702
compatible = "st,stm32-xspi";
703-
reg = <0x5802A000 0x1000>;
703+
reg = <0x5802A000 0x1000>, <0x70000000 DT_SIZE_M(256)>;
704704
interrupts = <171 0>;
705705
clock-names = "xspix", "xspi-ker", "xspi-mgr";
706706
clocks = <&rcc STM32_CLOCK(AHB5, 12)>,
707707
<&rcc STM32_SRC_HCLK5 XSPI2_SEL(0)>,
708708
<&rcc STM32_CLOCK(AHB5, 13)>;
709709
#address-cells = <1>;
710-
#size-cells = <1>;
710+
#size-cells = <0>;
711711
status = "disabled";
712712
};
713713

0 commit comments

Comments
 (0)