ARM: dts: pxa: fix the rtc controller

[ Upstream commit 24a610eba3 ]

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: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Robert Jarzmik
2018-06-25 18:44:01 +02:00
committed by Greg Kroah-Hartman
parent fe9048c7bb
commit 72e13203c5
2 changed files with 8 additions and 0 deletions

View File

@@ -80,6 +80,10 @@
#pwm-cells = <1>;
clocks = <&clks CLK_PWM1>;
};
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
};
timer@40a00000 {

View File

@@ -113,6 +113,10 @@
status = "disabled";
};
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
};
clocks {