]> Gentwo Git Trees - linux/.git/commit
arm64: dts: allwinner: t527: avaota-a1: hook up external 32k crystal
authorChen-Yu Tsai <wens@csie.org>
Sat, 13 Sep 2025 10:24:49 +0000 (18:24 +0800)
committerChen-Yu Tsai <wens@csie.org>
Sun, 14 Sep 2025 16:04:10 +0000 (00:04 +0800)
commit3d5e1ba00af8dd34ae1e573c2c07e00b5ec65267
tree88bd6ff43811346ebb6236f0460b4cbdf22c7c4f
parent9f01e1e14e71defefcb4d6823b8476a15f3cf04a
arm64: dts: allwinner: t527: avaota-a1: hook up external 32k crystal

When the board was added, its external 32.768 KHz crystal was described
but not hooked up correctly. This meant the device had to fall back to
the SoC's internal oscillator or divide a 32 KHz clock from the main
oscillator, neither of which are accurate for the RTC. As a result the
RTC clock will drift badly.

Hook the crystal up to the RTC block and request the correct clock rate.

Fixes: dbe54efa32af ("arm64: dts: allwinner: a523: add Avaota-A1 router support")
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://patch.msgid.link/20250913102450.3935943-2-wens@kernel.org
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
arch/arm64/boot/dts/allwinner/sun55i-t527-avaota-a1.dts