Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp922868imu; Wed, 28 Nov 2018 01:34:41 -0800 (PST) X-Google-Smtp-Source: AFSGD/WVlE8VpFjF2TnW+SjrDuxP4UTccS0J6Hvfz8+8EoKvgr8Luroq0ik/oi/vTSLyk0iMm1+y X-Received: by 2002:a65:4b82:: with SMTP id t2mr32721508pgq.189.1543397681637; Wed, 28 Nov 2018 01:34:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543397681; cv=none; d=google.com; s=arc-20160816; b=YrCFEFX8Ikyl9IhGm71ki/j/B6UTVV2d6HrPVOv1L6KzAwKGBI7npYLQWcpzkFY9Y+ bvkMnSIJDyidH3DCa3JcA8fu+wCJjm6xMBJmp0rsgaF4a9YTQcdfw0rR/Y0f8XbSudyo tZZOEdpB36LTh0+fC+oRBAK1ZA9b5w8/eWx1jhJj+RpbAynj8bWJeGtHgXdPYmzqolOB 80LRxZNiGUGuEgqb6L3wngevSo5Oe7/CFDrUSj/IJ9VE3Mm/IIbhBtvJyIlUR1BLz6qU 7d0+VNYaacz2n8gGYTJTOjQt8+SY2U95QGfE0W+O56VqXHeDesCoF0s3VdS1mMMIxOyh oapg== 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 :references:in-reply-to:message-id:date:subject:cc:to:from; bh=LSu9FUPrwLGauqXZFb8oi6nzvIDziy0WunV2cK5mjUI=; b=ChR2JqI8mpLkqI4kRlao6n8LShd1b/6ViYk3rp34rM+7UuUuqgyD13KVZPPi5PU4ut RpuHAuKJ4Q1X00F/SJBIqHt2xsJ0jkvlilUWSGl5/84qwCm4o9RzWEXB5wis3w/oCeZn pXwRkb++DRs6z4CjgCoDzFksp0q2D02puJuezezLwxXnC88KJGGvdPibGmxTcc+KFF8l 6+YYZDq4+yiPim+K4czjN65/7ncpoqV5bXAw9lDzpnouZeyFaV1hk3idXD9QVocTQ5be DvuxPEzfoHpbnOHP6M7EpApMAotaMiEHbkzvJi2CKjKaOMjH6CAfxlSN0YoBJHnhs/cL Vapw== ARC-Authentication-Results: i=1; mx.google.com; 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 1si7627989plb.103.2018.11.28.01.34.26; Wed, 28 Nov 2018 01:34:41 -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; 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 S1728405AbeK1Uch (ORCPT + 99 others); Wed, 28 Nov 2018 15:32:37 -0500 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76]:49302 "EHLO wens.csie.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727585AbeK1Ubf (ORCPT ); Wed, 28 Nov 2018 15:31:35 -0500 Received: by wens.csie.org (Postfix, from userid 1000) id 83140604AE; Wed, 28 Nov 2018 17:30:28 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Alexandre Belloni , Alessandro Zummo , Michael Turquette , Stephen Boyd , Rob Herring , Mark Rutland Cc: Chen-Yu Tsai , linux-arm-kernel@lists.infradead.org, linux-rtc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 10/15] ARM: dts: sun8i: a23/a33: Fix up RTC device node Date: Wed, 28 Nov 2018 17:30:08 +0800 Message-Id: <20181128093013.24442-12-wens@csie.org> X-Mailer: git-send-email 2.20.0.rc1 In-Reply-To: <20181128093013.24442-1-wens@csie.org> References: <20181128093013.24442-1-wens@csie.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Signed-off-by: Chen-Yu Tsai --- 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 c16ffcc4db7d..5616333c0e0e 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.0.rc1