Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp2474438rdg; Mon, 14 Aug 2023 03:58:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGE6UGFXrtX3uJxlPeibh8Oqxx67vOusj95yF3ueAZbAt42cPM7jUifIPT6E0qm/wlRDppJ X-Received: by 2002:a05:6358:784:b0:134:f070:d6b8 with SMTP id n4-20020a056358078400b00134f070d6b8mr7549959rwj.4.1692010727637; Mon, 14 Aug 2023 03:58:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692010727; cv=none; d=google.com; s=arc-20160816; b=p1OmJo9exT4VFfrXIx47cfDmNQq1IyHYwaSF7K38CECyTPbHHEgpQ2j6NCgl8nIm9t ZC2x/tFERfpm/QTpZrRr8gdmt6WQ1wDDaXgSXo4rkDuPu6tsMfPVS0jw7VE9bK/YYBcU C/xjRj+S5Q4zjtC3ztCCDJE6psJq9UG5mMuNmKsTUiGsD4BwSZXl9Ra8fJQTtI/izNsc JDm8QG9eCIf/5x5gZcxGmLZKE8DFkSwXgDATft/brl5FSGclM86zNJvew2HN5uzy8yqd CZu94Q1I8hHcZIA9nhDlJlaR9yrzxNRSZKWxVDNp2qroKn8rB8W5fxF0VhBBcqrru20p p78g== 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; bh=xnGdlt2SD0SdEHSnMI8LRpOcumdLs+LAUUuTJzhKPJg=; fh=7Xnm9Z0nUSA40NYdx1QmwG6X9BDZo4g7q932jkK4sso=; b=Exq04I+9jPp4yn5t711HVUPJK1i19ki7GGdjWJZNkDk2qhhkxIKSVJuwg8x+LK8jQ2 kWsQ3qMq+xdb7BAEzLHIVnVqiwgONSWvd3DjmElqsiBkeiljMyWVAvBX0Pa0WMdU6FKi vviCz59behQQ7Gr4S8+ynu0hl2JKqVdmFKaPNwfNMK9tCL7LXaiDGvppwtFI0t/tONhc lNf+FHcqCFnZFliKZZjGMwcPJr5cmKn2KzM5HQygnj8W2ajsLJb17gu/ehc5kniiXXMM 5PhJYPkLJi9Bj78FtAgC1fWopfkmsEQ9zk1w9h5hGDSKFG9WRn3JqvQIyfMlaEdVq1JC gYfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z20-20020a17090ad79400b0026824d6cb0fsi4893781pju.164.2023.08.14.03.58.35; Mon, 14 Aug 2023 03:58:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236775AbjHNKQy convert rfc822-to-8bit (ORCPT + 99 others); Mon, 14 Aug 2023 06:16:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236819AbjHNKQV (ORCPT ); Mon, 14 Aug 2023 06:16:21 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 33126172E; Mon, 14 Aug 2023 03:16:13 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id BCD7E24E1ED; Mon, 14 Aug 2023 18:16:06 +0800 (CST) Received: from EXMBX061.cuchost.com (172.16.6.61) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 14 Aug 2023 18:16:06 +0800 Received: from localhost.localdomain (183.27.98.20) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 14 Aug 2023 18:16:05 +0800 From: Xingyu Wu To: Daniel Lezcano , Thomas Gleixner , Emil Renner Berthing CC: , , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Xingyu Wu , Samin Guo , , Conor Dooley Subject: [PATCH v4 3/3] riscv: dts: jh7110: starfive: Add timer node Date: Mon, 14 Aug 2023 18:16:03 +0800 Message-ID: <20230814101603.166951-4-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230814101603.166951-1-xingyu.wu@starfivetech.com> References: <20230814101603.166951-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.98.20] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX061.cuchost.com (172.16.6.61) X-YovoleRuleAgent: yovoleflag Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the timer node for the Starfive JH7110 SoC. Signed-off-by: Xingyu Wu --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index ec2e70011a73..84bb9717be13 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -502,6 +502,26 @@ sysgpio: pinctrl@13040000 { #gpio-cells = <2>; }; + timer@13050000 { + compatible = "starfive,jh7110-timer"; + reg = <0x0 0x13050000 0x0 0x10000>; + interrupts = <69>, <70>, <71> ,<72>; + clocks = <&syscrg JH7110_SYSCLK_TIMER_APB>, + <&syscrg JH7110_SYSCLK_TIMER0>, + <&syscrg JH7110_SYSCLK_TIMER1>, + <&syscrg JH7110_SYSCLK_TIMER2>, + <&syscrg JH7110_SYSCLK_TIMER3>; + clock-names = "apb", "ch0", "ch1", + "ch2", "ch3"; + resets = <&syscrg JH7110_SYSRST_TIMER_APB>, + <&syscrg JH7110_SYSRST_TIMER0>, + <&syscrg JH7110_SYSRST_TIMER1>, + <&syscrg JH7110_SYSRST_TIMER2>, + <&syscrg JH7110_SYSRST_TIMER3>; + reset-names = "apb", "ch0", "ch1", + "ch2", "ch3"; + }; + watchdog@13070000 { compatible = "starfive,jh7110-wdt"; reg = <0x0 0x13070000 0x0 0x10000>; -- 2.25.1