diff options
author | Frieder Schrempf <frieder.schrempf@kontron.de> | 2022-11-30 14:13:49 +0300 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2022-12-31 14:59:02 +0300 |
commit | ac9e22f446e4a01caebf6470e35b75191ae9f9b1 (patch) | |
tree | 91c114a95e73cb846b4aa8d45d256f15b36c5590 /arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi | |
parent | 1eea795b57a5be30037b212a08873a8057edc813 (diff) | |
download | linux-ac9e22f446e4a01caebf6470e35b75191ae9f9b1.tar.xz |
arm64: dts: imx8mm-kontron: Add RTC aliases
Add aliases for the RTCs on the board and on the SoC. This ensures that
the primary RTC is always the one on the board that has a buffered supply
and maximum accuracy.
Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi index 5172883717d1..6e75ab879bf5 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-kontron-osm-s.dtsi @@ -10,6 +10,11 @@ model = "Kontron OSM-S i.MX8MM (N802X SOM)"; compatible = "kontron,imx8mm-osm-s", "fsl,imx8mm"; + aliases { + rtc0 = &rv3028; + rtc1 = &snvs_rtc; + }; + memory@40000000 { device_type = "memory"; /* @@ -200,7 +205,7 @@ }; }; - rtc@52 { + rv3028: rtc@52 { compatible = "microcrystal,rv3028"; reg = <0x52>; pinctrl-names = "default"; |