]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ARM: dts: stm32: add STM32F746 syscfg clock
authorBen Wolsieffer <ben.wolsieffer@hefring.com>
Wed, 1 Nov 2023 15:51:54 +0000 (11:51 -0400)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 21 Nov 2023 13:20:57 +0000 (14:20 +0100)
The syscfg syscon was missing its clock, therefore any attempt to
read/write it after clk_disable_unused() silently failed. This was
preventing external pin interrupts from working if they were initialized
after this point.

Signed-off-by: Ben Wolsieffer <ben.wolsieffer@hefring.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32f746.dtsi

index 53a8e2dec9a4a1c3488e812b3be176fece6a9581..d6f09dd16efc5b43552e848088d5461f36626ca0 100644 (file)
                syscfg: syscon@40013800 {
                        compatible = "st,stm32-syscfg", "syscon";
                        reg = <0x40013800 0x400>;
+                       clocks = <&rcc 0 STM32F7_APB2_CLOCK(SYSCFG)>;
                };
 
                exti: interrupt-controller@40013c00 {