arm64: dts: imx8mn-beacon-som: Configure RTC aliases
authorAdam Ford <aford173@gmail.com>
Sun, 10 Jan 2021 11:53:53 +0000 (05:53 -0600)
committerShawn Guo <shawnguo@kernel.org>
Mon, 18 Jan 2021 00:18:21 +0000 (08:18 +0800)
commit18b9de73f06e474456699bd743a054de9b905706
treedd7932cd07b4db616a2799f2e0b5e822ab9bde89
parente8d08d80f4508e0601ea2beb0848b5a60d6a2c31
arm64: dts: imx8mn-beacon-som: Configure RTC aliases

On the i.MX8MN Beacon SOM, there is an RTC chip which is fed power
from the baseboard during power off.  The SNVS RTC integrated into
the SoC is not fed power.  Depending on the order the modules are
loaded, this can be a problem if the external RTC isn't rtc0.

Make the alias for rtc0 point to the external RTC all the time and
rtc1 point to the SVNS in order to correctly hold date/time over
a power-cycle.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzk@kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mn-beacon-som.dtsi