[PATCH 1/2] ARM: dts: stm32: add RTC support to stm32mp157c
Amelie Delaunay
amelie.delaunay at st.com
Thu Apr 19 07:35:24 PDT 2018
Add support for RTC (Real Time Clock) to STM32MP157C SoC.
Signed-off-by: Amelie Delaunay <amelie.delaunay at st.com>
---
arch/arm/boot/dts/stm32mp157c.dtsi | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi
index bc3eddc..3333954 100644
--- a/arch/arm/boot/dts/stm32mp157c.dtsi
+++ b/arch/arm/boot/dts/stm32mp157c.dtsi
@@ -174,5 +174,14 @@
clocks = <&rcc USART1_K>;
status = "disabled";
};
+
+ rtc: rtc at 5c004000 {
+ compatible = "st,stm32mp1-rtc";
+ reg = <0x5c004000 0x400>;
+ clocks = <&rcc RTCAPB>, <&rcc RTC>;
+ clock-names = "pclk", "rtc_ck";
+ interrupts = <GIC_SPI 3 IRQ_TYPE_HIGH_LEVEL>;
+ status = "disabled";
+ };
};
};
--
2.7.4
More information about the linux-arm-kernel
mailing list