]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: st: add RTC on stm32mp25x
authorValentin Caron <valentin.caron@foss.st.com>
Tue, 27 Aug 2024 14:04:53 +0000 (16:04 +0200)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Tue, 29 Oct 2024 15:41:43 +0000 (16:41 +0100)
Add compatible, clock, and interrupt properties of STM32 RTC on
stm32mp25x SOCs.

Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm64/boot/dts/st/stm32mp251.dtsi

index 1167cf63d7e87aaa15c5c1ed70a9f6511fd818d4..81f59a5b4f61a986a675c7ec322b602e08f80431 100644 (file)
                        };
                };
 
+               rtc: rtc@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@46200000 {
                        #address-cells = <1>;
                        #size-cells = <1>;