Commit 72e13203 authored by Robert Jarzmik's avatar Robert Jarzmik Committed by Greg Kroah-Hartman

ARM: dts: pxa: fix the rtc controller

[ Upstream commit 24a610eb ]

The RTC controller is fed by an external fixed 32kHz clock. Yet the
driver wants to acquire this clock, even though it doesn't make any use
of it, ie. doesn't get the rate to make calculation.

Therefore, use the exported 32.768kHz clock in the PXA clock tree to
make the driver happy and working.
Signed-off-by: default avatarRobert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fe9048c7
......@@ -80,6 +80,10 @@ pwm1: pwm@40b00010 {
#pwm-cells = <1>;
clocks = <&clks CLK_PWM1>;
};
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
};
timer@40a00000 {
......
......@@ -113,6 +113,10 @@ &pdma 69 0 /* U channel */
status = "disabled";
};
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
};
clocks {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment