arm64: dts: imx8mm-venice-*: add RTC aliases

Add aliases for the RTCs on the Gateworks Venice boards and on the imx8m
SoC. This ensures that the primary RTC is always the one on-board
provided by the Gateworks System Controller (GSC) which is battery
backed as opposed to the one in the IMX8M.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Tim Harvey 2024-09-09 15:15:01 -07:00 committed by Shawn Guo
parent dc7ffff7e2
commit 668278ee0d
8 changed files with 30 additions and 8 deletions

View file

@ -9,6 +9,11 @@
#include <dt-bindings/net/ti-dp83867.h>
/ {
aliases {
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
};
memory@40000000 {
device_type = "memory";
reg = <0x0 0x40000000 0 0x80000000>;
@ -292,7 +297,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -22,6 +22,8 @@
ethernet2 = &lan2;
ethernet3 = &lan3;
ethernet4 = &lan4;
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
usb0 = &usbotg1;
usb1 = &usbotg2;
};
@ -497,7 +499,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -19,6 +19,8 @@
aliases {
ethernet1 = &eth1;
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
usb0 = &usbotg1;
usb1 = &usbotg2;
};
@ -564,7 +566,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -18,6 +18,8 @@
aliases {
ethernet0 = &fec1;
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
usb0 = &usbotg1;
};
@ -394,7 +396,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -16,6 +16,11 @@
model = "Gateworks Venice GW7904 i.MX8MM board";
compatible = "gateworks,imx8mm-gw7904", "fsl,imx8mm";
aliases {
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
};
chosen {
stdout-path = &uart2;
};
@ -438,7 +443,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -17,6 +17,8 @@
compatible = "gw,imx8mn-gw7902", "fsl,imx8mn";
aliases {
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
usb0 = &usbotg1;
};
@ -562,7 +564,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -11,6 +11,8 @@
/ {
aliases {
ethernet0 = &eqos;
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
};
memory@40000000 {
@ -280,7 +282,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};

View file

@ -25,6 +25,8 @@
ethernet4 = &lan3;
ethernet5 = &lan4;
ethernet6 = &lan5;
rtc0 = &gsc_rtc;
rtc1 = &snvs_rtc;
};
chosen {
@ -481,7 +483,7 @@
pagesize = <16>;
};
rtc@68 {
gsc_rtc: rtc@68 {
compatible = "dallas,ds1672";
reg = <0x68>;
};