diff mbox

ARM: dts: armada-385-linksys: Disable internal RTC

Message ID 20180317154750.32560-1-hauke@hauke-m.de (mailing list archive)
State New, archived
Headers show

Commit Message

Hauke Mehrtens March 17, 2018, 3:47 p.m. UTC
The internal RTC does not work correctly on these Linksys boards based
on Marvell SoCs. For me it only shows Wed Dec 31 23:59:59 1969 and for
others it is off by 3 minutes in 10 minutes running, this was reported
by multiple users. On the Linksys Mamba device the device tree comment
says that no crystal is connected to the internal RTC, this is probably
also true for the other devices.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 arch/arm/boot/dts/armada-385-linksys.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Gregory CLEMENT March 19, 2018, 4:44 p.m. UTC | #1
Hi Hauke,
 
 On sam., mars 17 2018, Hauke Mehrtens <hauke@hauke-m.de> wrote:

> The internal RTC does not work correctly on these Linksys boards based
> on Marvell SoCs. For me it only shows Wed Dec 31 23:59:59 1969 and for
> others it is off by 3 minutes in 10 minutes running, this was reported
> by multiple users. On the Linksys Mamba device the device tree comment
> says that no crystal is connected to the internal RTC, this is probably
> also true for the other devices.
>
> Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-385-linksys.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
> index 434dc9aaa5e4..b7bbf15571c5 100644
> --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
> +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
> @@ -282,3 +282,8 @@
>  	status = "okay";
>  	usb-phy = <&usb3_1_phy>;
>  };
> +
> +&rtc {
> +	/* No crystal connected to the internal RTC */
> +	status = "disabled";
> +};
> -- 
> 2.11.0
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
index 434dc9aaa5e4..b7bbf15571c5 100644
--- a/arch/arm/boot/dts/armada-385-linksys.dtsi
+++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
@@ -282,3 +282,8 @@ 
 	status = "okay";
 	usb-phy = <&usb3_1_phy>;
 };
+
+&rtc {
+	/* No crystal connected to the internal RTC */
+	status = "disabled";
+};