From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51B77C2D0C6 for ; Wed, 11 Dec 2019 15:50:12 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18EE72073D for ; Wed, 11 Dec 2019 15:50:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576079412; bh=XlcuPom1v922VlL6KJOeBwrfX/62As98LqKkl/hH6o0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=Iiew+h5o3n9aOxKjqU0onHfTCAr/0fRv2wfGob8jXNyJLimfZ6llw7WvEiYpS7crj qIoA6mI3d78Jv1n88Ioovy8sN5bgn8qeivD82uv02LTO3nysAATmdFS1zIglN76UeD jltwRa55RHyGPH0IDLmE1X2mFyI8fB/Rm8WSjLGI= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732973AbfLKPuL (ORCPT ); Wed, 11 Dec 2019 10:50:11 -0500 Received: from mail.kernel.org ([198.145.29.99]:54932 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732762AbfLKPXs (ORCPT ); Wed, 11 Dec 2019 10:23:48 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A23692077B; Wed, 11 Dec 2019 15:23:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1576077828; bh=XlcuPom1v922VlL6KJOeBwrfX/62As98LqKkl/hH6o0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=urYEtcDQZbKLm3LwjzovLfWx4kPgBVRmV0FgW9UOA6UAAqUiO6RVHKLI+LRlD/8HP oUswRi1yXx9l8khhEWh9qfoquu4hO/x+u7Pbxa1sh52gRdu/+3E013ycq8uj2Hptyp t8JPfqZxB6ypdKg/SHlZD9p7Y5G3zYq56t0HnkV4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Maxime Ripard , Chen-Yu Tsai , Sasha Levin Subject: [PATCH 4.19 185/243] ARM: dts: sun8i: a23/a33: Fix up RTC device node Date: Wed, 11 Dec 2019 16:05:47 +0100 Message-Id: <20191211150351.658072828@linuxfoundation.org> X-Mailer: git-send-email 2.24.1 In-Reply-To: <20191211150339.185439726@linuxfoundation.org> References: <20191211150339.185439726@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chen-Yu Tsai [ Upstream commit f6f4422532ad9ec9380a9936ed16b30922066a50 ] The RTC module on the A23 was claimed to be the same as on the A31, when in fact it is not. The A31 does not have an RTC external clock output, and its internal RC oscillator's average clock rate is not in the same range. The A33's RTC is the same as the A23. This patch fixes the compatible string and clock properties to conform to the updated bindings. The register range is also fixed. Acked-by: Maxime Ripard Signed-off-by: Chen-Yu Tsai Signed-off-by: Sasha Levin --- arch/arm/boot/dts/sun8i-a23-a33.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/sun8i-a23-a33.dtsi b/arch/arm/boot/dts/sun8i-a23-a33.dtsi index c16ffcc4db7da..5616333c0e0e3 100644 --- a/arch/arm/boot/dts/sun8i-a23-a33.dtsi +++ b/arch/arm/boot/dts/sun8i-a23-a33.dtsi @@ -565,11 +565,11 @@ }; rtc: rtc@1f00000 { - compatible = "allwinner,sun6i-a31-rtc"; - reg = <0x01f00000 0x54>; + compatible = "allwinner,sun8i-a23-rtc"; + reg = <0x01f00000 0x400>; interrupts = , ; - clock-output-names = "osc32k"; + clock-output-names = "osc32k", "osc32k-out"; clocks = <&ext_osc32k>; #clock-cells = <1>; }; -- 2.20.1