ARM: dts: fix the MSM8660 RTC base address
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 17 Jun 2016 20:28:10 +0000 (22:28 +0200)
committerAndy Gross <andy.gross@linaro.org>
Mon, 27 Jun 2016 22:36:57 +0000 (17:36 -0500)
The RTC was defined on 0x11d but on the MSM8660/APQ8060 it is
actually on 0x1e8. We were saved by the fact that the driver does
not use the reg parameter: instead it uses the compatible string
to figure out where the RTC is.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
arch/arm/boot/dts/qcom-msm8660.dtsi

index 8ee3045f4066cc24a5b0c85764f26ed6b05016a4..b7d7f0c27ba12240b1d3d26c458a32672982bb74 100644 (file)
                                        row-hold = <91500>;
                                };
 
-                               rtc@11d {
+                               rtc@1e8 {
                                        compatible = "qcom,pm8058-rtc";
+                                       reg = <0x1e8>;
                                        interrupt-parent = <&pmicintc>;
                                        interrupts = <39 1>;
-                                       reg = <0x11d>;
                                        allow-set-time;
                                };