Commit 24a610eb authored by Robert Jarzmik's avatar Robert Jarzmik

ARM: dts: pxa: fix the rtc controller

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>
parent 4adb6603
...@@ -80,6 +80,10 @@ pwm1: pwm@40b00010 { ...@@ -80,6 +80,10 @@ pwm1: pwm@40b00010 {
#pwm-cells = <1>; #pwm-cells = <1>;
clocks = <&clks CLK_PWM1>; clocks = <&clks CLK_PWM1>;
}; };
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
}; };
timer@40a00000 { timer@40a00000 {
......
...@@ -113,6 +113,10 @@ &pdma 69 0 /* U channel */ ...@@ -113,6 +113,10 @@ &pdma 69 0 /* U channel */
status = "disabled"; status = "disabled";
}; };
rtc@40900000 {
clocks = <&clks CLK_OSC32k768>;
};
}; };
clocks { 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