]> www.infradead.org Git - linux.git/commitdiff
ARM: dts: microchip: sama7g5: Fix RTT clock
authorClaudiu Beznea <claudiu.beznea@tuxon.dev>
Mon, 26 Aug 2024 16:53:20 +0000 (19:53 +0300)
committerClaudiu Beznea <claudiu.beznea@tuxon.dev>
Sat, 31 Aug 2024 12:17:04 +0000 (15:17 +0300)
According to datasheet, Chapter 34. Clock Generator, section 34.2,
Embedded characteristics, source clock for RTT is the TD_SLCK, registered
with ID 1 by the slow clock controller driver. Fix RTT clock.

Fixes: 7540629e2fc7 ("ARM: dts: at91: add sama7g5 SoC DT and sama7g5-ek")
Link: https://lore.kernel.org/r/20240826165320.3068359-1-claudiu.beznea@tuxon.dev
Signed-off-by: Claudiu Beznea <claudiu.beznea@tuxon.dev>
arch/arm/boot/dts/microchip/sama7g5.dtsi

index 75778be126a3d9e88d3160eee7c8514bf2e9f1f0..17bcdcf0cf4a05fee9ba9334a1521d8a27055ac5 100644 (file)
                        compatible = "microchip,sama7g5-rtt", "microchip,sam9x60-rtt", "atmel,at91sam9260-rtt";
                        reg = <0xe001d020 0x30>;
                        interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
-                       clocks = <&clk32k 0>;
+                       clocks = <&clk32k 1>;
                };
 
                clk32k: clock-controller@e001d050 {