Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp261651rdf; Tue, 21 Nov 2023 01:47:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IElIPPPx3zhrwxbDn840Y58hnhlbtzVe6G7mCWgVpUcC0vBhw1nBy/myFci93fuQIRYTgCj X-Received: by 2002:a17:90a:e7ca:b0:283:2612:7141 with SMTP id kb10-20020a17090ae7ca00b0028326127141mr3338446pjb.13.1700560052542; Tue, 21 Nov 2023 01:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700560052; cv=none; d=google.com; s=arc-20160816; b=hjtBG2HYzh6EYvK4+tSK73xo0JObnH7QPG9KEftEsKD+L0jJJ6utmX0hT5u0v+jKZE U3ZZHqR1rjdLnKLwfKgzQreAm0BY72hsVQBPD/znhLesT7hLhyk3xjRi0AZ538ocsv03 WA+9AzE9/UVjPrvWsymXB7x9I8JrIGomZN8g96bovcAfvwcFBzV7GarvDGnG9Jf+Vo9g DRqZNZf5Yh0lUvdgMYZG2BX4AoKsv+NbHXO0Mzmtw2nxSFHP0DIJnS0sUx9cw9U9Xpvp 1NiX/QngyZ9TfOSwvMs34yMOMO7ScWtk1t02VEFi4Te3sIZSZJ6yoY0fUIpjJc+KPOyW f17Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BCAV9pEXZft0HS/dcoIHi8BP6UZFgoqvZCUuzN8un3k=; fh=jPIQ3QCzMHY3w84iSpjxErRSsd+KHfYvqfWsgpjZi94=; b=PdhA/5buIjlHkY0YNctGLZ+ItL+7dw37PhGGTZdP3I8AuO4IQH22IbOipWfe/R6hNq feeXCPK/P8vd9NbNfqu/Mh2jF3ultZ5pkFz9ikT/dVZ3vj53d+qyc7GQoTjpvC+nZHyM ta56i8V2PH9nPsv2LdiCTMtWzo+Hvc/3KPGHtALpHbrS5o+2bijxUeRRSPJGr8BUcul1 5oBF3juXw8Y8Cu/BpysMBJUwD39u5AkXs9q1DcFzqzPykYUWKzG5HufIA4pIL76J7XCJ vh3NJ9oBIzXUZljfgf9fMeF0dQ6DnDNEk79wLktlSpokCZCIa8qEaTYRe/fBx6YOjhTK Kcuw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ilDL3Noe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e3-20020a17090a9a8300b002850da514f1si7117882pjp.181.2023.11.21.01.47.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:47:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=ilDL3Noe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2810080CBF09; Tue, 21 Nov 2023 01:47:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234142AbjKUJrK (ORCPT + 99 others); Tue, 21 Nov 2023 04:47:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41812 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234108AbjKUJrD (ORCPT ); Tue, 21 Nov 2023 04:47:03 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3CAC4123; Tue, 21 Nov 2023 01:46:58 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-1ce5e65ba37so27680095ad.1; Tue, 21 Nov 2023 01:46:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700560017; x=1701164817; 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=BCAV9pEXZft0HS/dcoIHi8BP6UZFgoqvZCUuzN8un3k=; b=ilDL3NoeQeHCe7CgIdO+3mjd+SoQY+G2vpGtLKcZ0lRIvj5TTWFmvgOOgDgq/0y+B+ 7bs75TJAb9AUeER5kMmhsSrKiNgD0hIjVK9l+y1SXdF0tQT/Esg7I6+CILJAicBIVi/o oP1eh9l60/fLwRnTqjguMCU7frEBlSBOLBQ0RabK8R3Ts3iUQCwK3080JlaNLSeUFNBX oWMI6bvuONxqNvyI5duRAaYWDu6oz6JFZKUnzLGAkaxbjxgzpOcH2pwyCl2xkkM9E/Lm I9/Mtfq7miDHzSZK1ihhYUmie31xeorTsGCbULJfHoCl+rvEyDbaogRxsLf5WHCzSRm7 kxfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700560017; x=1701164817; 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=BCAV9pEXZft0HS/dcoIHi8BP6UZFgoqvZCUuzN8un3k=; b=EGIpB2jeiI4TjLqqIAENXFbfWO0NkGactE1ye68ckVQqkC8GMKnv8sKm35deapP9y4 e9UJ4+ARij8aWMZ3TSeh74HckBajFw4U1JTzO6PgshMiXJn5lZPrjQ/cYgF4v1kl6eJ3 TZG+MF4ZDtAv9lz/fWLCKUENOsWW3A0H79QhCLVRR/Wk0pmx7an9jWiJ0NuLD7S2I1q9 awRkoFNHUvhBVcrBBVWgRwDp8340FHax2OlJO20uWmvknElumCYRVKs+Bxu/cfruSM1e yb06mx3T6ZgREHIwaYy/3DE7njsnSoC6XSVu0Iacxat5ibDjCdscTgjQX0A5EqydMG+A WH/A== X-Gm-Message-State: AOJu0YznzSSdwVoxlFDvcaQRR5dRKQpEKzeccovhkPmeloneUGeJDp1M /IkZG1OTkIuMXZPIBFaxzws= X-Received: by 2002:a17:903:246:b0:1cc:6078:52ff with SMTP id j6-20020a170903024600b001cc607852ffmr2689886plh.26.1700560017496; Tue, 21 Nov 2023 01:46:57 -0800 (PST) Received: from localhost ([2404:7ac0:4d26:224f:5ec1:6805:f429:17ba]) by smtp.gmail.com with ESMTPSA id u1-20020a170902b28100b001cf567252besm4903538plr.237.2023.11.21.01.46.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 01:46:57 -0800 (PST) From: Jingbao Qiu To: a.zummo@towertech.it, alexandre.belloni@bootlin.com, krzysztof.kozlowski+dt@linaro.org, chao.wei@sophgo.com, unicorn_wang@outlook.com, conor+dt@kernel.org, robh+dt@kernel.org, conor@kernel.org, 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, Jingbao Qiu Subject: [PATCH 3/3] riscv: dts: sophgo: add rtc dt node for CV1800B Date: Tue, 21 Nov 2023 17:46:42 +0800 Message-Id: <20231121094642.2973795-4-qiujingbao.dlmu@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231121094642.2973795-1-qiujingbao.dlmu@gmail.com> References: <20231121094642.2973795-1-qiujingbao.dlmu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 01:47:30 -0800 (PST) Add the rtc device tree node to CV1800B SoC. Signed-off-by: Jingbao Qiu --- arch/riscv/boot/dts/sophgo/cv1800b.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi index df40e87ee063..89411c75b89a 100644 --- a/arch/riscv/boot/dts/sophgo/cv1800b.dtsi +++ b/arch/riscv/boot/dts/sophgo/cv1800b.dtsi @@ -119,5 +119,13 @@ clint: timer@74000000 { reg = <0x74000000 0x10000>; interrupts-extended = <&cpu0_intc 3>, <&cpu0_intc 7>; }; + + rtc: rtc-controller@05026000 { + compatible = "sophgo,cv800b-rtc"; + reg = <0x05026000 0x1000>; + interrupts = <17 IRQ_TYPE_LEVEL_HIGH>; + interrupt-parent = <&plic>; + clocks = <&osc>; + }; }; }; -- 2.25.1