From patchwork Tue Jul 16 10:30:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Claudiu Beznea X-Patchwork-Id: 13734280 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 F222EC3DA59 for ; Tue, 16 Jul 2024 10:33:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Reply-To:Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=havjViSFqkpX2ZEw/deHEcNpYtCxaTiY0eUvmPFnuY4=; b=Ao36a4Z3T5XnUFOLZicNRCxO/F xO8YjRlJmD1LSxNVXmFrgWYpODkHzt+5I9bLc9qTGWZX0Uu3XklP8g/j5MD2UR12BX4xfe0NWpcOQ 30+8nnJPHkV62mknjBfM8eqMtwTO/2XpC0DngzdNCTFXbQzLfYoTD2vCKNSBZAPhMi/Kz6yiotBLO nbm9rayAjLxsyUiIdeh2p0YJpZoE2G3i5orrE1eSFBxNH/IcOcuCzDlToau2ud8uL8hxiexQcEukI t5NEJPtCBbuZ1Mzw7B8LtWM4AKopLIPVyZDBtJQqfTY6y50YXSbW5DD4Nby1qZdGjnpBMvys+AZhv bPTCn2Gg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTfUa-0000000A3Tl-2bFF; Tue, 16 Jul 2024 10:33:08 +0000 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sTfSK-0000000A2U9-4BcV for linux-arm-kernel@lists.infradead.org; Tue, 16 Jul 2024 10:30:52 +0000 Received: by mail-wr1-x434.google.com with SMTP id ffacd0b85a97d-3678aa359b7so3844258f8f.1 for ; Tue, 16 Jul 2024 03:30:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tuxon.dev; s=google; t=1721125847; x=1721730647; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=havjViSFqkpX2ZEw/deHEcNpYtCxaTiY0eUvmPFnuY4=; b=JEuBI+rBMm9GA16lwCA9h9rvUjfobRNB9bMSTwIopZXBXBCOBIHDDQYjJZYQR1zr50 /x0F0+6eN7k1Cm+9Kq1R952vVFMkf2OBYSwkE7ppdhMEIc1sSE8g8sz4Hg56xM+x9Jrx UAD6QBWqVkT0NmCPiGgHGjq6s9hBGlZSyN8CTFZJtJW1Co5gcV95O27MWFMrX7B+9LsI x9enmu5L6acbp3tcBXDFjW2r44z4OJLKFnfx2jmSv0d0p0kZp9VUG/GSB4xYgUjn5XjO fjtkX4rxCj3P9boIb6m/VRds/mByEIxMHpqHcrJgaOIFuBJGyapNrIMkt0/qGb+Oay5y 428g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721125847; x=1721730647; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=havjViSFqkpX2ZEw/deHEcNpYtCxaTiY0eUvmPFnuY4=; b=YKPR5OF1eG9eQoYXwpy4fpSbo4ljNKXuuD1i43GlAoyZYlXElnxoAWPnZrkBoL5aCX 7BVHhChesQqQ9I9ZFdTLRHhqmNqX+h6yjvtjrZmb9H4gtqNBKCCyxyc5SLeyMNZ8CDmm 8I7d5THKsqKdaT/QQ+tDj9nWitm2jNpW4f75DzSt4CmwPlFC5l8HPVNNqfB2mAhAwlyS Kq6RqrktQ79Q5dr3AdqJOS5o5oxQqdswC4+RNZp05ppYhx+s+ENx5ESl5WbonNMDWtIr V7+VI3gp217AA6beraTdlAVH3JL1Mzm6Zuq+J1ycme/tgjh5WSxnJ1ZM2vaYuu/gexMX uCrQ== X-Forwarded-Encrypted: i=1; AJvYcCWMylMMAmkdxryRztQVaqre/dt3wXxPZzjwjO3R6RYJSClFLpusw0y/BMNw2bs2Qcta7z5Qve1S5xEoHfrHpMkLUfz8CL93HIOBayva5BvIj1xuy/I= X-Gm-Message-State: AOJu0Yxr1S4L6uVBNezJwbFWOd48uO+rrfvAy5CCw9g7s7WiMDK8OIJy 88HsICAcSsFR8oEuf5XU1H5kOXofFhVJ+A4DxpKVbhIma2GKSFbVAZEhMQZhU7k= X-Google-Smtp-Source: AGHT+IG5nj05P3SaIbAeAjYYqU7ltlxGNASeUqz3/IbArKcpEVPxuAGunWSshG97PaegXbchwypLPA== X-Received: by 2002:a5d:6d0f:0:b0:362:ff95:5697 with SMTP id ffacd0b85a97d-36827591cafmr1044592f8f.28.1721125847401; Tue, 16 Jul 2024 03:30:47 -0700 (PDT) Received: from claudiu-X670E-Pro-RS.. ([82.78.167.171]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-427a5e77488sm121546145e9.9.2024.07.16.03.30.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jul 2024 03:30:47 -0700 (PDT) From: Claudiu X-Google-Original-From: Claudiu To: lee@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, alexandre.belloni@bootlin.com, geert+renesas@glider.be, magnus.damm@gmail.com, mturquette@baylibre.com, sboyd@kernel.org, p.zabel@pengutronix.de Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rtc@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, claudiu.beznea@tuxon.dev, Claudiu Beznea Subject: [PATCH v2 07/11] arm64: dts: renesas: r9a08g045: Add RTC node Date: Tue, 16 Jul 2024 13:30:21 +0300 Message-Id: <20240716103025.1198495-8-claudiu.beznea.uj@bp.renesas.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240716103025.1198495-1-claudiu.beznea.uj@bp.renesas.com> References: <20240716103025.1198495-1-claudiu.beznea.uj@bp.renesas.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240716_033049_534791_B63B8DD3 X-CRM114-Status: UNSURE ( 9.81 ) 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 From: Claudiu Beznea Add the DT node for the RTC IP available on the Renesas RZ/G3S SoC. Signed-off-by: Claudiu Beznea --- Changes in v2: - updated compatibles arch/arm64/boot/dts/renesas/r9a08g045.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi index 78b4e088a3a5..22008407848c 100644 --- a/arch/arm64/boot/dts/renesas/r9a08g045.dtsi +++ b/arch/arm64/boot/dts/renesas/r9a08g045.dtsi @@ -72,6 +72,18 @@ scif0: serial@1004b800 { status = "disabled"; }; + rtc: rtc@1004ec00 { + compatible = "renesas,r9a08g045-rtca3", "renesas,rz-rtca3"; + reg = <0 0x1004ec00 0 0x400>; + interrupts = , + , + ; + interrupt-names = "alarm", "period", "carry"; + clocks = <&vbattclk>; + clock-names = "counter"; + status = "disabled"; + }; + vbattb: vbattb@1005c000 { compatible = "renesas,r9a08g045-vbattb"; reg = <0 0x1005c000 0 0x1000>;