]> Git Repo - J-linux.git/commitdiff
arm64: dts: renesas: rzg3s-smarc-som: Enable VBATTB
authorClaudiu Beznea <[email protected]>
Fri, 1 Nov 2024 09:57:18 +0000 (11:57 +0200)
committerGeert Uytterhoeven <[email protected]>
Sun, 3 Nov 2024 11:29:51 +0000 (12:29 +0100)
Enable the VBATTB controller. It provides the clock for RTC.

Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Claudiu Beznea <[email protected]>
Link: https://lore.kernel.org/[email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
arch/arm64/boot/dts/renesas/rzg3s-smarc-som.dtsi

index 71424e69939ee56b71c19fd236fd94e446e3d781..30bb4f5a7dfdd725a349df6c3bbf71cda357e80c 100644 (file)
@@ -5,6 +5,7 @@
  * Copyright (C) 2023 Renesas Electronics Corp.
  */
 
+#include <dt-bindings/clock/renesas,r9a08g045-vbattb.h>
 #include <dt-bindings/gpio/gpio.h>
 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
 
        };
 };
 
+&vbattb {
+       assigned-clocks = <&vbattb VBATTB_MUX>;
+       assigned-clock-parents = <&vbattb VBATTB_XC>;
+       quartz-load-femtofarads = <12500>;
+       status = "okay";
+};
+
+&vbattb_xtal {
+       clock-frequency = <32768>;
+};
+
 &wdt0 {
        timeout-sec = <60>;
        status = "okay";
This page took 0.059478 seconds and 4 git commands to generate.