Received: by 2002:a05:7412:8d08:b0:f9:2d0a:d759 with SMTP id bj8csp79348rdb; Sun, 17 Dec 2023 03:10:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IFKfI0JtFOtOcHeh1/XmvzCzV9PTCTBckqO15U81ORMTR7a/uEWZ3YJiln8t/76bUPOYE6P X-Received: by 2002:ac8:5cc8:0:b0:425:9957:5fd3 with SMTP id s8-20020ac85cc8000000b0042599575fd3mr21671189qta.0.1702811447528; Sun, 17 Dec 2023 03:10:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702811447; cv=none; d=google.com; s=arc-20160816; b=K3WmQQ52l687ow1KMshU1zreJPnRr+Yw3DTgzZz/XN/D1CnJJyGy1vZs3m9CJMb8eo ktzf2H02nWy8LSBs7FpmeQdzKBHegJDP6NNltUGK61tHBlG47TOXfH8BjSmcSaxH1HDL 0nEzPgfD7GrHs4XwmCfh+O6R6HsKVvykBVCyb9Bbed//P412FdQHrD4f5+JpEUqYiJuo qvEYIRpRIiswxEceXbfGXAv3nC5JQj5H5hA5VKIdgHa3ssBnTiixjjAoeCipXsn4As0k 0YC2qEPUEBZecXHw2e2/XUx0B04sMQKk5IDEjvEd4fv7a8+ujCC1NCtPrhj3TKn+SgjQ vwlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=mpLgj+Aq6CVLom9PNEYmZqsQRdUdLCvYGUYGYFlcfB0=; fh=pr08NEUUdO00bMp1kE4yAWfccsn+YkGzy57Ky3kPE0A=; b=iGiufMVVXC5xOIFPz4WWf0JWxZVd9DOagnfW79Nd3JfFNMU8RAs7Gkg+AQPw2Stmvb jsxauwgriM+PPNPF1e/f6A5kj1TyaNCYTRTb0iPgfvYzz182KimGjokvJZOtM1xlpZmd 53uCMWt5og0LPEfIBwti6COyIbXkBqGMx35JAugMYl8yQqPu3z0lShQh7/gK918k1cbM /xPrWTFedzVeYXmM15VvZBf1uiVllvFWaiOqsgFFGY7JEDGcTAYD1jFqROZXlUKovYba QJbeMm7M8xDn5WB7IELL3ffRl05QtffijJoULrpk3fXnlvlliOvtlEWP8qaewVZ++h4b EzkQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OGDjNVoT; spf=pass (google.com: domain of linux-kernel+bounces-2540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jr5-20020a05622a800500b004255a09d9c0si11105217qtb.454.2023.12.17.03.10.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 03:10:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-2540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=OGDjNVoT; spf=pass (google.com: domain of linux-kernel+bounces-2540-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-2540-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 49AD11C2107D for ; Sun, 17 Dec 2023 11:10:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DB7B515E85; Sun, 17 Dec 2023 11:10:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="OGDjNVoT" X-Original-To: linux-kernel@vger.kernel.org Received: from mail-pj1-f41.google.com (mail-pj1-f41.google.com [209.85.216.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DDF5814F7D; Sun, 17 Dec 2023 11:10:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f41.google.com with SMTP id 98e67ed59e1d1-28a5d0ebf1fso2368188a91.0; Sun, 17 Dec 2023 03:10:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702811406; x=1703416206; darn=vger.kernel.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=mpLgj+Aq6CVLom9PNEYmZqsQRdUdLCvYGUYGYFlcfB0=; b=OGDjNVoTFvLe3LjjSbfIY5uyYUiRws1Tvo3G4pkG3/UX6wFE8yiBNJsXdhBxtX38H5 Bb7vpr1m1X3RpbenMToWjZkYCmmoDVeFy2KpSU4OKXD/DWWzxuDNvg09lLY/RYyaI0uw rc+JWyUQOoRylN3SonYEmOpL7sOjBaj1I7ZH7VXJ5XvW+volUByRRtJCJyHnrrnjkyf+ ATHLARrtwj9k9tzuFUwxgMwTfJdeje3sbj0TqC9MLwaCPqOBjJbjbq2obgZzUz4CKqqG bbJNg4gviIoU8Vn4MB6fdsfhIkOH3/UxhjdzFBwWMyd2it7LHkhNIK8nRZlQ4OQTdxWc VKng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702811406; x=1703416206; 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=mpLgj+Aq6CVLom9PNEYmZqsQRdUdLCvYGUYGYFlcfB0=; b=kzm3aAh+jU4h+4QFfliOrTXkcoEVLYMiK7nFX3WgkWMDpg66NcxRwp3MIpXhfDJspy JXC/QFqcRH+WiZzrqy++LExPMx9YVzG8GYw00CjYeUycHEva29agYMvpIncX+swjdQ94 0Y8BIXHjJOH+zsMvD6hqE9cb32FWtcASq4F10xB9LUkMFVpPYTd/Apc/FZPAHxgMem3K sicFrLWO0w8sgyWOaTUOmV3tL7TxCsygoIZ6gK8toIchct4jrKSuaWJqV32pAXFrb9Z8 u3os9iFQvcRR0GmqlQYrguf7EEJs6eb9nTPUZ6TnDI8C1fdPPNy3e996bnv73tjKvZyl XdcA== X-Gm-Message-State: AOJu0YzBXqsRv1ePbJy29w3EQL6pc6t2cdemoK8XELvZbH1x0baB9dS6 0UL7i5H+YEGk7jW7GDAPikE= X-Received: by 2002:a17:90a:77cc:b0:28b:5fc3:36c9 with SMTP id e12-20020a17090a77cc00b0028b5fc336c9mr1613224pjs.29.1702811406171; Sun, 17 Dec 2023 03:10:06 -0800 (PST) Received: from localhost ([2404:7ac0:40d7:b2b2:a626:6b41:27ff:87a3]) by smtp.gmail.com with ESMTPSA id ms16-20020a17090b235000b0028b06464b62sm1165747pjb.15.2023.12.17.03.10.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Dec 2023 03:10:05 -0800 (PST) From: Jingbao Qiu To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor@kernel.org, conor+dt@kernel.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu Cc: linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, dlan@gentoo.org, Jingbao Qiu Subject: [PATCH v2 3/3] riscv: dts: sophgo: add rtc dt node for CV1800 Date: Sun, 17 Dec 2023 19:09:52 +0800 Message-Id: <20231217110952.78784-4-qiujingbao.dlmu@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231217110952.78784-1-qiujingbao.dlmu@gmail.com> References: <20231217110952.78784-1-qiujingbao.dlmu@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add the rtc device tree node to cv1800 SoC. Signed-off-by: Jingbao Qiu --- arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index df40e87ee063..429bee76f677 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -119,5 +119,12 @@ clint: timer@74000000 { reg = <0x74000000 0x10000>; interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; }; + + rtc@5025000 { + compatible = "sophgo,cv1800-rtc"; + reg = <0x5025000 0x1000>, <0x5026000 0x1000>; + clocks = <&osc>; + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; + }; }; }; -- 2.25.1