Skip to content

Commit 9e67466

Browse files
committed
arm64: dts: s32g: add RTC node
JIRA: https://issues.redhat.com/browse/RHEL-116642 commit d57d72f Author: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Date: Mon May 26 19:21:40 2025 +0300 arm64: dts: s32g: add RTC node The RTC module on S32G2/S32G3 based SoCs is used as a wakeup source from system suspend. Signed-off-by: Ciprian Marian Costea <ciprianmarian.costea@oss.nxp.com> Reviewed-by: Matthias Brugger <mbrugger@suse.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org> Signed-off-by: Jared Kangas <jkangas@redhat.com>
1 parent 6306fb3 commit 9e67466

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

arch/arm64/boot/dts/freescale/s32g2.dtsi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,14 @@
114114
#size-cells = <1>;
115115
ranges = <0 0 0 0x80000000>;
116116

117+
rtc0: rtc@40060000 {
118+
compatible = "nxp,s32g2-rtc";
119+
reg = <0x40060000 0x1000>;
120+
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
121+
clocks = <&clks 54>, <&clks 55>;
122+
clock-names = "ipg", "source0";
123+
};
124+
117125
pinctrl: pinctrl@4009c240 {
118126
compatible = "nxp,s32g2-siul2-pinctrl";
119127
/* MSCR0-MSCR101 registers on siul2_0 */

arch/arm64/boot/dts/freescale/s32g3.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,15 @@
171171
#size-cells = <1>;
172172
ranges = <0 0 0 0x80000000>;
173173

174+
rtc0: rtc@40060000 {
175+
compatible = "nxp,s32g3-rtc",
176+
"nxp,s32g2-rtc";
177+
reg = <0x40060000 0x1000>;
178+
interrupts = <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>;
179+
clocks = <&clks 54>, <&clks 55>;
180+
clock-names = "ipg", "source0";
181+
};
182+
174183
pinctrl: pinctrl@4009c240 {
175184
compatible = "nxp,s32g2-siul2-pinctrl";
176185
/* MSCR0-MSCR101 registers on siul2_0 */

0 commit comments

Comments
 (0)