diff mbox

ARM: mvebu: armada-xp-linksys-mamba: Disable internal RTC

Message ID 1432156924-1030-1-git-send-email-kaloz@openwrt.org (mailing list archive)
State New, archived
Headers show

Commit Message

Imre Kaloz May 20, 2015, 9:22 p.m. UTC
The Mamba (like the OpenBlocks AX3) doesn't have a crystal
connected to the internal RTC - let's prevent the kernel from
probing it.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
Cc: <stable@vger.kernel.org> # v4.0 +
---
 arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Gregory CLEMENT May 25, 2015, 1:18 p.m. UTC | #1
Hi Imre,

On 20/05/2015 23:22, Imre Kaloz wrote:
> The Mamba (like the OpenBlocks AX3) doesn't have a crystal
> connected to the internal RTC - let's prevent the kernel from
> probing it.
> 

applied on mvebu/fixes

Thanks,

Gregory


> Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
> Cc: <stable@vger.kernel.org> # v4.0 +
> ---
>  arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
> index a2cf215..fdd187c 100644
> --- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
> +++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
> @@ -95,6 +95,11 @@
>  
>  		internal-regs {
>  
> +			rtc@10300 {
> +				/* No crystal connected to the internal RTC */
> +				status = "disabled";
> +			};
> +
>  			/* J10: VCC, NC, RX, NC, TX, GND  */
>  			serial@12000 {
>  				status = "okay";
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
index a2cf215..fdd187c 100644
--- a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
+++ b/arch/arm/boot/dts/armada-xp-linksys-mamba.dts
@@ -95,6 +95,11 @@ 
 
 		internal-regs {
 
+			rtc@10300 {
+				/* No crystal connected to the internal RTC */
+				status = "disabled";
+			};
+
 			/* J10: VCC, NC, RX, NC, TX, GND  */
 			serial@12000 {
 				status = "okay";