[PATCH 7/9] arm64: dts: st: add RTC on stm32mp25x

Valentin Caron valentin.caron at foss.st.com
Tue Aug 27 07:04:53 PDT 2024


Add compatible, clock, and interrupt properties of STM32 RTC on
stm32mp25x SOCs.

Signed-off-by: Valentin Caron <valentin.caron at foss.st.com>
---
 arch/arm64/boot/dts/st/stm32mp251.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
index 1167cf63d7e87..81f59a5b4f61a 100644
--- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
+++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
@@ -916,6 +916,16 @@ gpiok: gpio at 442e0000 {
 			};
 		};
 
+		rtc: rtc at 46000000 {
+			compatible = "st,stm32mp25-rtc";
+			reg = <0x46000000 0x400>;
+			clocks = <&scmi_clk CK_SCMI_RTC>,
+				 <&scmi_clk CK_SCMI_RTCCK>;
+			clock-names = "pclk", "rtc_ck";
+			interrupts-extended = <&exti2 17 IRQ_TYPE_LEVEL_HIGH>;
+			status = "disabled";
+		};
+
 		pinctrl_z: pinctrl at 46200000 {
 			#address-cells = <1>;
 			#size-cells = <1>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list