Skip to contentSkip to conversation

ARM: stm32: dts: Missing clocks for stm32f429's syscfg.

PATCH In review Yanjun Yang 2 participants 2 messages Jun 14, 2024 – Jun 27, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: stm32: dts: Missing clocks for stm32f429's syscfg.

Without clock definition, SYSCFG will not work, EXTI interrupt for port other than GPIOA will fail to operate.

---
 arch/arm/boot/dts/st/stm32f429.dtsi | 1 +
 1 file changed, 1 insertion(+)
arch/arm/boot/dts/st/stm32f429.dtsi +1 -0
index 8efcda9ef8ae..ad91b74ddd0d 100644
@@ -579,6 +579,7 @@ spi4: spi@40013400 {
 		syscfg: syscon@40013800 {
 			compatible = "st,stm32-syscfg", "syscon";
 			reg = <0x40013800 0x400>;
+			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SYSCFG)>;
 		};
 
 		exti: interrupt-controller@40013c00 {
Signature · 1 line
2.45.2
maintainer
#1 lore raw

hi

Quoted 13 lines · Yanjun Yang

Without clock definition, SYSCFG will not work, EXTI interrupt for port other than GPIOA will fail to operate.

---
  arch/arm/boot/dts/st/stm32f429.dtsi | 1 +
  1 file changed, 1 insertion(+)
arch/arm/boot/dts/st/stm32f429.dtsi +0 -0
index 8efcda9ef8ae..ad91b74ddd0d 100644

arch/arm/boot/dts/st/stm32f429.dtsi spi4: spi@40013400 { · line 585

Quoted 7 lines
arch/arm/boot/dts/st/stm32f429.dtsi +1 -0
@@ -579,6 +579,7 @@ spi4: spi@40013400 {
  		syscfg: syscon@40013800 {
  			compatible = "st,stm32-syscfg", "syscon";
  			reg = <0x40013800 0x400>;
+			clocks = <&rcc 0 STM32F4_APB2_CLOCK(SYSCFG)>;
  		};
 
  		exti: interrupt-controller@40013c00 {

Applied on stm32-next.

Thanks
Alex