[PATCH v2 3/9] ARM: i.MX28: dts: add clocks for stmp3xxx RTC

Steffen Trumtrar s.trumtrar at pengutronix.de
Fri Mar 8 20:01:38 EST 2013


The stmp3xxx can handle multiple clocks. Add them to the DT.

Signed-off-by: Juergen Beisert <jbe at pengutronix.de>
Signed-off-by: Steffen Trumtrar <s.trumtrar at pengutronix.de>
---
 arch/arm/boot/dts/imx28.dtsi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/boot/dts/imx28.dtsi b/arch/arm/boot/dts/imx28.dtsi
index 0393d3f..469a23f 100644
--- a/arch/arm/boot/dts/imx28.dtsi
+++ b/arch/arm/boot/dts/imx28.dtsi
@@ -818,6 +818,8 @@
 				compatible = "fsl,imx28-rtc", "fsl,stmp3xxx-rtc";
 				reg = <0x80056000 0x2000>;
 				interrupts = <29>;
+				clocks = <&clks 65>, <&clks 40> ;
+				clock-names = "32k", "24m";
 			};
 
 			i2c0: i2c at 80058000 {
-- 
1.8.2.rc2



More information about the devicetree-discuss mailing list