From nobody Wed Oct 8 07:08:33 2025 Received: from mailout4.samsung.com (mailout4.samsung.com [203.254.224.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7E34927A11E for ; Mon, 7 Jul 2025 06:52:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.34 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871170; cv=none; b=lmB5ZoNQEpy9ptwmIwOSDVDyZSnLgJNhtOxpZmEjrPUcjP2RpcFX/UTCHjxDGiK+/i7Ras40RXEFp7xg7za91goP9NxMlIOfYjwveeV84sGPxu9TDFv8YUMpp5s4iqIp4MY8WPwYDYi4iqGZpssK4GHDs/eGgY9g72W6VvfbDlg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871170; c=relaxed/simple; bh=9cUGLw8eoDTkSdnHpo7uzjDyDXxI3QX782KtYf+IfVo=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=SL0zqHgB6D9Gw2bVRT4GmWrGDNvimzvBUPgAMlECSf2jqO1k+UESx/ISdDuMjEcC8gPEJ18OSD8hYf/tBmIRa1j68NUhn1Qr5hsmP/3ZpesxEtbXEhHC4dt4XF0cswBNASiiBQXh4KDhyRFw6N8vdVVfhMH0KxB/zzj7Gsal3As= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=ikdJAefZ; arc=none smtp.client-ip=203.254.224.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="ikdJAefZ" Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout4.samsung.com (KnoxPortal) with ESMTP id 20250707065240epoutp040b67334f3f7ccf55e59ac4a70774231c~P5YnweKJo2101121011epoutp046 for ; Mon, 7 Jul 2025 06:52:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout4.samsung.com 20250707065240epoutp040b67334f3f7ccf55e59ac4a70774231c~P5YnweKJo2101121011epoutp046 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1751871160; bh=z4l+MDSTZ2r2HMz/v67DtIs5pH+NnoP/SjYH2EZLuoY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ikdJAefZsKa3QyGO8HQCLGclGxly3gLXqwztFIkWbiKEGGzSnYTENXx19ETzN/xdI CfXiAsDw7FsqI8c9sNOG0Yr0yegw0GGjSrFWgOFpmcLzYZmXNezQZWd/N6FvA9wf0p sKt75oBi9qPewysyTtGAtxt/bO0FKC/s7UBgk6wk= Received: from epsnrtp02.localdomain (unknown [182.195.42.154]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPS id 20250707065239epcas5p3f56ff7abf50100cb9274d1826fc04d91~P5YnEshzF0246902469epcas5p3u; Mon, 7 Jul 2025 06:52:39 +0000 (GMT) Received: from epcas5p1.samsung.com (unknown [182.195.38.174]) by epsnrtp02.localdomain (Postfix) with ESMTP id 4bbFKx35GFz2SSKd; Mon, 7 Jul 2025 06:52:37 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p1.samsung.com (KnoxPortal) with ESMTPA id 20250702051530epcas5p12b8c62aba9cc11dc8d13c65fb12b6c3c~OV1WZ6tqS2173121731epcas5p1M; Wed, 2 Jul 2025 05:15:30 +0000 (GMT) Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250702051528epsmtip236e2b6643211a3bea9388ae1b86b4aed~OV1U7A0Sv2974829748epsmtip2Z; Wed, 2 Jul 2025 05:15:28 +0000 (GMT) From: Devang Tailor To: alexandre.belloni@bootlin.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, inux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, faraz.ata@samsung.com Cc: Devang Tailor Subject: [PATCH 1/3] dt-bindings: rtc: s3c-rtc: add compatible for exynosautov9 Date: Wed, 2 Jul 2025 10:54:24 +0530 Message-Id: <20250702052426.2404256-2-dev.tailor@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250702052426.2404256-1-dev.tailor@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250702051530epcas5p12b8c62aba9cc11dc8d13c65fb12b6c3c X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P cpgsPolicy: CPGSC10-542,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250702051530epcas5p12b8c62aba9cc11dc8d13c65fb12b6c3c References: <20250702052426.2404256-1-dev.tailor@samsung.com> Add "samsung,exynosautov9-rtc" dedicated compatible for on-chip RTC found in ExynosAutov9 SoC. Signed-off-by: Devang Tailor Reviewed-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/rtc/s3c-rtc.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml b/Documenta= tion/devicetree/bindings/rtc/s3c-rtc.yaml index bf4e11d6dffb..5daee2a5f866 100644 --- a/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml +++ b/Documentation/devicetree/bindings/rtc/s3c-rtc.yaml @@ -13,6 +13,7 @@ properties: compatible: oneOf: - enum: + - samsung,exynosautov9-rtc - samsung,s3c2410-rtc - samsung,s3c2416-rtc - samsung,s3c2443-rtc --=20 2.34.1 From nobody Wed Oct 8 07:08:33 2025 Received: from mailout3.samsung.com (mailout3.samsung.com [203.254.224.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEA56EEAB for ; Mon, 7 Jul 2025 06:52:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.33 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871167; cv=none; b=P2taCG6YSwmJaYxxWT7dqgFEssVMdt9j5f1Fh0q0budlw7fRdZsB0D3Z4aeUTnBDgoJHHcsfJ9CJx1/9eXhugMSNtb3h7RsxppTwl9BEzzu+OUaBhkzuwaGUj4LOPPnNxUzMYZZUoOa3mFby26pK0Q7TlovxDVhsRi0ZEMAnNc0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871167; c=relaxed/simple; bh=hDhD2ZHTEXjSGhALf8bUwgYDspDhjlceSvYZvUo0BS0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=mXyhLXu+gO3+leoL5fHWHA/lcTxNwk3hOcn6DgBxmOUEIRdH75SdNf9q2VmCDb0rLABd2dksmjrV//kw1HVQkSCr9+Dvvd3jNfUoT1pdVdr9JDcWszjG+1nWIkeuPtuypro1ihsScaB4NJ7Pi+DfJvw8v58NAD0BlHDpkZuye74= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=a1YBiqDo; arc=none smtp.client-ip=203.254.224.33 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="a1YBiqDo" Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20250707065244epoutp036979129bccad1835778007ea49736f89~P5Yq-MahD1105511055epoutp03G for ; Mon, 7 Jul 2025 06:52:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20250707065244epoutp036979129bccad1835778007ea49736f89~P5Yq-MahD1105511055epoutp03G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1751871164; bh=JbWlxwedOoTXP5zKVUcK44eCeNGHeMuK1L5j3H8XD0E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=a1YBiqDoj+ZSkcFSwwoQOWKmQ2Sbx6yzOr/aLknjjo1PW4N32bVJxbWtzxFl+vDrB lTRB0Cchqj+hv4RlX3mPi4ClZTMrm32NzidufpLgh0Y0Dkdwxji2kZVWKp7bU7O+AX lM3B72Jd0LtkbxS9RblgyECnals9J6uazWrKp4hQ= Received: from epsnrtp01.localdomain (unknown [182.195.42.153]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPS id 20250707065243epcas5p48904fa6ee07313b361e98517b84a2687~P5YqhllHw3004430044epcas5p4E; Mon, 7 Jul 2025 06:52:43 +0000 (GMT) Received: from epcas5p3.samsung.com (unknown [182.195.38.175]) by epsnrtp01.localdomain (Postfix) with ESMTP id 4bbFL22tZFz6B9mD; Mon, 7 Jul 2025 06:52:42 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p3.samsung.com (KnoxPortal) with ESMTPA id 20250702051532epcas5p381e97531e4df64f556e8aba86c5532d9~OV1YM_7H01293312933epcas5p37; Wed, 2 Jul 2025 05:15:32 +0000 (GMT) Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250702051530epsmtip2c3c09bb7f89294a84dee07ebb1dbfabe~OV1WoMXzv0283602836epsmtip21; Wed, 2 Jul 2025 05:15:30 +0000 (GMT) From: Devang Tailor To: alexandre.belloni@bootlin.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, inux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, faraz.ata@samsung.com Cc: Devang Tailor Subject: [PATCH 2/3] rtc: s3c: support for exynosautov9 on-chip RTC Date: Wed, 2 Jul 2025 10:54:25 +0530 Message-Id: <20250702052426.2404256-3-dev.tailor@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250702052426.2404256-1-dev.tailor@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250702051532epcas5p381e97531e4df64f556e8aba86c5532d9 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P cpgsPolicy: CPGSC10-542,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250702051532epcas5p381e97531e4df64f556e8aba86c5532d9 References: <20250702052426.2404256-1-dev.tailor@samsung.com> The on-chip RTC of this SoC is almost similar to the previous versions of SoC. Hence re-use the existing driver with platform specific change to enable RTC. This has been tested with 'hwclock' & 'date' utilities Signed-off-by: Devang Tailor --- drivers/rtc/rtc-s3c.c | 26 ++++++++++++++++++++++++++ drivers/rtc/rtc-s3c.h | 4 ++++ 2 files changed, 30 insertions(+) diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 5dd575865adf..00686aa805f2 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c @@ -384,6 +384,23 @@ static void s3c6410_rtc_disable(struct s3c_rtc *info) writew(con, info->base + S3C2410_RTCCON); } =20 +static void exynosautov9_rtc_disable(struct s3c_rtc *info) +{ + unsigned int con; + + con =3D readb(info->base + S3C2410_RTCCON); + con &=3D ~S3C2410_RTCCON_RTCEN; + writeb(con, info->base + S3C2410_RTCCON); + + con =3D readb(info->base + EXYNOSAUTOV9_TICCON0); + con &=3D ~EXYNOSAUTOV9_TICCON_TICEN; + writeb(con, info->base + EXYNOSAUTOV9_TICCON0); + + con =3D readb(info->base + EXYNOSAUTOV9_TICCON1); + con &=3D ~EXYNOSAUTOV9_TICCON_TICEN; + writeb(con, info->base + EXYNOSAUTOV9_TICCON1); +} + static void s3c_rtc_remove(struct platform_device *pdev) { struct s3c_rtc *info =3D platform_get_drvdata(pdev); @@ -574,6 +591,12 @@ static struct s3c_rtc_data const s3c6410_rtc_data =3D { .disable =3D s3c6410_rtc_disable, }; =20 +static struct s3c_rtc_data const exynosautov9_rtc_data =3D { + .irq_handler =3D s3c6410_rtc_irq, + .enable =3D s3c24xx_rtc_enable, + .disable =3D exynosautov9_rtc_disable, +}; + static const __maybe_unused struct of_device_id s3c_rtc_dt_match[] =3D { { .compatible =3D "samsung,s3c2410-rtc", @@ -590,6 +613,9 @@ static const __maybe_unused struct of_device_id s3c_rtc= _dt_match[] =3D { }, { .compatible =3D "samsung,exynos3250-rtc", .data =3D &s3c6410_rtc_data, + }, { + .compatible =3D "samsung,exynosautov9-rtc", + .data =3D &exynosautov9_rtc_data, }, { /* sentinel */ }, }; diff --git a/drivers/rtc/rtc-s3c.h b/drivers/rtc/rtc-s3c.h index 3552914aa611..ed57ebe06b41 100644 --- a/drivers/rtc/rtc-s3c.h +++ b/drivers/rtc/rtc-s3c.h @@ -14,6 +14,10 @@ #define S3C2410_INTP_ALM (1 << 1) #define S3C2410_INTP_TIC (1 << 0) =20 +#define EXYNOSAUTOV9_TICCON0 S3C2410_RTCREG(0x38) +#define EXYNOSAUTOV9_TICCON1 S3C2410_RTCREG(0x3C) +#define EXYNOSAUTOV9_TICCON_TICEN (1 << 0) + #define S3C2410_RTCCON S3C2410_RTCREG(0x40) #define S3C2410_RTCCON_RTCEN (1 << 0) #define S3C2410_RTCCON_CNTSEL (1 << 2) --=20 2.34.1 From nobody Wed Oct 8 07:08:33 2025 Received: from mailout2.samsung.com (mailout2.samsung.com [203.254.224.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 39701286411 for ; Mon, 7 Jul 2025 06:52:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=203.254.224.25 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871173; cv=none; b=r9mIqs/WjkYpf0cXkkQzii+ZbVzMD2fXX9ONXREeV+PXeTaGNShjIaBmweqOxYhaPlkfJ6VklJLXl65bIg2Y1IbgU/80rGAFyEt4AtlwZpChtmlcfMPYpoH9cS3GennHL3snS0hoF0yu5krT2xNGjhydJEsVclhqs3FmqpPU/B8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751871173; c=relaxed/simple; bh=R0zErDQAlhKqB1ch3yaRWGC7BSKkNxzBuYYWrRg7fR0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:MIME-Version: Content-Type:References; b=oO2zGkQmk3/mV51w4kRNvXfH5QRD4SzJrqJJFqb4KEntMb5wxBv+kUjBaT3s63iCGMvZalYdU7xrrYTcBxn7jwYpQGZJGoxy/ua7uMmeS0egSdp42JW8u/qIw20GaboKHWL0UHD4L+2bEeSXSULU67RIbf6/2jB1QIp+X9sDHq0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=PJkngwkn; arc=none smtp.client-ip=203.254.224.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="PJkngwkn" Received: from epcas5p2.samsung.com (unknown [182.195.41.40]) by mailout2.samsung.com (KnoxPortal) with ESMTP id 20250707065250epoutp02d16bd2216cc00a913f1792ab307f25ef~P5Ywu-eHG0290802908epoutp029 for ; Mon, 7 Jul 2025 06:52:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.samsung.com 20250707065250epoutp02d16bd2216cc00a913f1792ab307f25ef~P5Ywu-eHG0290802908epoutp029 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1751871170; bh=YYdrXQSMiKMp947pWITrggtPzRMvT6aT+Gp3RFiLw6Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=PJkngwknFIXoYEMF98Rebai63RBEoEGdm7QltTOfnCFBZ08vmGLTZtZv4GzGjmHVj iALYGwbSfFLnMH3Fud+m+Lx7imRkmImwbw4c2jrsfphFO3AROWkZUgbqAYtd3UzRzP pBrHZ/R1NVJUPHOjtp7wf7su6Ui6G2Pc7YTnSWu8= Received: from epsnrtp01.localdomain (unknown [182.195.42.153]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPS id 20250707065249epcas5p25c1941a17f3d64590a2ca263f5a7adb5~P5YwKt85c2809428094epcas5p2C; Mon, 7 Jul 2025 06:52:49 +0000 (GMT) Received: from epcas5p4.samsung.com (unknown [182.195.38.177]) by epsnrtp01.localdomain (Postfix) with ESMTP id 4bbFL56QLhz6B9m4; Mon, 7 Jul 2025 06:52:45 +0000 (GMT) Received: from epsmtip2.samsung.com (unknown [182.195.34.31]) by epcas5p2.samsung.com (KnoxPortal) with ESMTPA id 20250702051533epcas5p28698c81b7ec141938f8808393c498cb7~OV1Z1a_zp0155001550epcas5p2y; Wed, 2 Jul 2025 05:15:33 +0000 (GMT) Received: from bose.samsungds.net (unknown [107.108.83.9]) by epsmtip2.samsung.com (KnoxPortal) with ESMTPA id 20250702051532epsmtip285aeb5d817009e53559900ec540e5e52~OV1YVtQig0268202682epsmtip2o; Wed, 2 Jul 2025 05:15:32 +0000 (GMT) From: Devang Tailor To: alexandre.belloni@bootlin.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alim.akhtar@samsung.com, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, inux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, faraz.ata@samsung.com Cc: Devang Tailor Subject: [PATCH 3/3] arm64: dts: exynosautov9: add RTC DT node Date: Wed, 2 Jul 2025 10:54:26 +0530 Message-Id: <20250702052426.2404256-4-dev.tailor@samsung.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250702052426.2404256-1-dev.tailor@samsung.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-CMS-MailID: 20250702051533epcas5p28698c81b7ec141938f8808393c498cb7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: REQ_APPROVE CMS-TYPE: 105P cpgsPolicy: CPGSC10-542,Y X-CFilter-Loop: Reflected X-CMS-RootMailID: 20250702051533epcas5p28698c81b7ec141938f8808393c498cb7 References: <20250702052426.2404256-1-dev.tailor@samsung.com> Add DT node for on-chip RTC for ExynosAutov9 Signed-off-by: Devang Tailor --- arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts | 4 ++++ arch/arm64/boot/dts/exynos/exynosautov9.dtsi | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts b/arch/arm64/= boot/dts/exynos/exynosautov9-sadk.dts index de2c1de51a76..5f5167571f7a 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts +++ b/arch/arm64/boot/dts/exynos/exynosautov9-sadk.dts @@ -106,6 +106,10 @@ &pwm { status =3D "okay"; }; =20 +&rtc { + status =3D "okay"; +}; + &serial_0 { pinctrl-0 =3D <&uart0_bus_dual>; status =3D "okay"; diff --git a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi b/arch/arm64/boot= /dts/exynos/exynosautov9.dtsi index 66628cb32776..e655212f6a6b 100644 --- a/arch/arm64/boot/dts/exynos/exynosautov9.dtsi +++ b/arch/arm64/boot/dts/exynos/exynosautov9.dtsi @@ -1633,6 +1633,16 @@ pwm: pwm@103f0000 { clock-names =3D "timers"; status =3D "disabled"; }; + + rtc: rtc@10540000 { + compatible =3D "samsung,exynosautov9-rtc"; + reg =3D <0x10540000 0x100>; + interrupts =3D , + ; + clocks =3D <&xtcxo>; + clock-names =3D "rtc"; + status =3D "disabled"; + }; }; }; =20 --=20 2.34.1