Re: [PATCH 3/3] ARM: dts: meson8b: odroid-c1: prepare support for the RTC
From: Kevin Hilman
Date: Tue Apr 16 2019 - 15:00:51 EST
Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx> writes:
> The Odroid-C1 has the 32.768 kHz oscillator (X3 in the schematics) which
> is required for the RTC. A battery can be connected separately (to the
> BT1 header) - then the "rtc" node can be enabled manually. By default
> the RTC is disabled because the boards typically come without the RTC
> battery.
>
> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>
> ---
> arch/arm/boot/dts/meson8b-odroidc1.dts | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
> index 0157646e3a89..f3ad9397f670 100644
> --- a/arch/arm/boot/dts/meson8b-odroidc1.dts
> +++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
> @@ -124,6 +124,14 @@
> io-channels = <&saradc 8>;
> };
>
> + rtc32k_xtal: rtc32k-xtal-clk {
> + /* X3 in the schematics */
Always nice to see the names from the schematics.
Thanks!
Kevin