Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp809691ybl; Wed, 11 Dec 2019 07:51:26 -0800 (PST) X-Google-Smtp-Source: APXvYqwpiHhQ+GLOTYyA8ol6qSXmsd0oNBcBvxa8wl08lOfkT3qc/3f23J7yC0QlEcP4SZPSSBps X-Received: by 2002:aca:ed81:: with SMTP id l123mr3364299oih.129.1576079486369; Wed, 11 Dec 2019 07:51:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576079486; cv=none; d=google.com; s=arc-20160816; b=JbA+xhiLz8eTmhsx1uk8JVcDVUvYIRhdAim5e+llKh/rXhBrp+7Vbcwa1FlkWJPY8C vFlCBwzBa6ZG1UA8++5Bc0/emkilKXwTZnjHvPTOQ9V/j7Jv2YpAgHeFWBNIXN1eD0CH LrDHj4tx0wMRRYJQhuFKpZT5Zu9RNUKE8Q08VvryP/RlgXQlIK8yPjWmtgcJTl+vFhL7 pUHz2mllX2jqioaTc2XlRjWXsbEzCrXEKBsxZnhNy9zYQPmso/w7pw/V9ABhbqipzRG2 c/mf8t7QgONY1jqzEJn/dJki+PziIvUQiVzS6CvIehHurVzOERzb3rG/L87qJ/xIAHjZ R3yA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=zpRA0in2kMYLnTGOWFlpZvR/clfq6kww8wqHip1tJzs=; b=BGtMUv2Nn/6+Q+0Oc3GM/PKm+vXh+Mn2GbsMuOZa1pfBkdjbnUI/DsiW5Y0UpwJfVF rQltV2YBHmsmwuotCI2qPyk0JWghs7m9AvWzVEQqnDVOQHTAVodQpoHCB7ARADMHTRZZ TyK+w+9C1VUvp9DtP7NuOpzudI+8GBGkIzGB2WERo5SmTTft2kt43JkEt4QtvhTNj38U WIl00Tdo1MW25uDtXnlh6F6gzJ4EKYViKDUtMKoi2ZKdvQvl5auXvDflpd25rMDFYrtS KIqrrzaJP9dpDt/hoecwL5dNHwyZhgI2nwbbMty5YddPbeBn+D25BdNkiHQ/a6AyA+Oj Frzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=urYEtcDQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p7si1311098otk.81.2019.12.11.07.51.14; Wed, 11 Dec 2019 07:51:26 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=urYEtcDQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732826AbfLKPuK (ORCPT + 99 others); Wed, 11 Dec 2019 10:50:10 -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