From patchwork Sat Mar 11 10:58:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nishanth Menon X-Patchwork-Id: 13170727 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 7280AC6FD1F for ; Sat, 11 Mar 2023 11:00:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=P0dY/o+Gz0qauhDNbNKd1iGXHpYmFCBRQjiToLQr4cM=; b=pDaLbzDJVVUrqH YS7trxOBzpmIyoE2lauT/jiM0d9NXkaETGYPRsnDZFntnCixLOtHsx/+wPezBqY2+jtF8UYDDIXXS /rb1KwGJymz0hsxW9A8gJPEzgrplxfyPTOc1Dbig8N9W4/FD0W/dRx61AgnlmQ1jsbrh9yvBrR0pw BFflqO3swocFqi/bHyQSqbhD0h2oXVUBFpmnV1rlU3EE2vurWtcgkOGqbWIzulUDxKBEfSl4tcGHD KYqOa68FnToUVczd0biKMvEo3pPD6bbtWBhA7sJgahjDgKAaRhgA4apQJRhDh33YY6sFGgqzQ7724 kbDkJuZ6EUMGwcPUu5MA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pawwU-000CO5-Va; Sat, 11 Mar 2023 10:59:15 +0000 Received: from lelv0142.ext.ti.com ([198.47.23.249]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pawwR-000CMc-3u for linux-arm-kernel@lists.infradead.org; Sat, 11 Mar 2023 10:59:13 +0000 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id 32BAwwlJ124397; Sat, 11 Mar 2023 04:58:58 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1678532338; bh=Q3OmIpHz8SOJdfFpUHaoWrQVCmkCMxF1H8FkBwgPJlY=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=QM6Df8XIJfS+TnaMPPzu3xTKGzIQfvEuFWiRImMjcxvGqG7aZtVgFf7OzEVlWTKkD NqpEamddWp2Rtvh/NMTYhplX1Qm10juN67OlDEwCZ4vwrvoZEUU0LEX9g3o9vliBpS kCUXscuyRQ7O6Hur1CwxFn3XkJbbw5VZ1uO45+mE= Received: from DLEE108.ent.ti.com (dlee108.ent.ti.com [157.170.170.38]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 32BAwwXc002959 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 11 Mar 2023 04:58:58 -0600 Received: from DLEE113.ent.ti.com (157.170.170.24) by DLEE108.ent.ti.com (157.170.170.38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16; Sat, 11 Mar 2023 04:58:57 -0600 Received: from lelv0327.itg.ti.com (10.180.67.183) by DLEE113.ent.ti.com (157.170.170.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2507.16 via Frontend Transport; Sat, 11 Mar 2023 04:58:58 -0600 Received: from localhost (ileaxei01-snat2.itg.ti.com [10.180.69.6]) by lelv0327.itg.ti.com (8.15.2/8.15.2) with ESMTP id 32BAwvlq045037; Sat, 11 Mar 2023 04:58:57 -0600 From: Nishanth Menon To: Krzysztof Kozlowski , Rob Herring CC: , , , Tero Kristo , Vignesh Raghavendra , Nishanth Menon , Julien Panis , Bryan Brattlof Subject: [PATCH 1/2] arm64: dts: ti: k3-am62-wakeup: Introduce RTC node Date: Sat, 11 Mar 2023 04:58:49 -0600 Message-ID: <20230311105850.21811-2-nm@ti.com> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20230311105850.21811-1-nm@ti.com> References: <20230311105850.21811-1-nm@ti.com> MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230311_025911_251258_F2AFB43F X-CRM114-Status: UNSURE ( 8.48 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Introduce digital RTC node in wakeup domain. Even though this has no specific battery backup supply, this on-chip RTC is used in cost-optimized board designs as a wakeup source. Signed-off-by: Nishanth Menon --- No previous version posted publicly. arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi index 38dced6b4fef..fec81546fbbd 100644 --- a/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi +++ b/arch/arm64/boot/dts/ti/k3-am62-wakeup.dtsi @@ -40,4 +40,14 @@ wkup_i2c0: i2c@2b200000 { clock-names = "fck"; status = "disabled"; }; + + wkup_rtc0: rtc@2b1f0000 { + compatible = "ti,am62-rtc"; + reg = <0x00 0x2b1f0000 0x00 0x100>; + interrupts = ; + clocks = <&k3_clks 117 6> , <&k3_clks 117 0>; + clock-names = "vbus", "osc32k"; + power-domains = <&k3_pds 117 TI_SCI_PD_EXCLUSIVE>; + wakeup-source; + }; };