arm64: dts: imx8mm-beacon-som: Configure RTC aliases
authorAdam Ford <aford173@gmail.com>
Thu, 26 Nov 2020 10:45:34 +0000 (04:45 -0600)
committerShawn Guo <shawnguo@kernel.org>
Tue, 1 Dec 2020 01:49:39 +0000 (09:49 +0800)
commit6b5cd77371e5e34769284bfb058ff332ae278cc5
tree05178952706d430b5e3b04cddbf73aa4e5a2c746
parentb9cf7d3b6592561e2a9f123a989f7dd5708a61d3
arm64: dts: imx8mm-beacon-som: Configure RTC aliases

On the i.MX8MM 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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-beacon-som.dtsi