Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2535413rdb; Fri, 18 Aug 2023 03:28:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IF19lOOow3mFilvey+9fdqUojOu0yz6IUXaUtTRMYn4/EFvsQrtgbpybUiZk5Ie53kc5nMk X-Received: by 2002:a17:906:8a72:b0:99c:6692:7f76 with SMTP id hy18-20020a1709068a7200b0099c66927f76mr1682767ejc.16.1692354518050; Fri, 18 Aug 2023 03:28:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692354518; cv=none; d=google.com; s=arc-20160816; b=Br/g40QdFegIRVN8G+A/SwrC2Wzo/PY4tyvelQYSKSjH9fjyM0K4AY4tEwyaMBfDfM yk41UUF12BJd1D+B5TpSFur35U4l+/5tiHqnkXeNxCpB6HXtt+OVh20xFnNj+sXuqnHe No/1t7aWwQLS3vMhfHknQyFz10+CH3MiTPppQ2yjELIC5Dbv4r4sdrZEXTSP2/ytSxaO vl37Uxt0qoEon2lbGw8OBX2KFMQKjag7spJVx3qDwNiQuX9lYdqWuxYPkbSOwj98pEL/ +3P68fCGssbS5x0XK4fuj/xyDdZD/3dQIzOn1ZMPRWJaQYPfsNMth6UQwCHcnA8jh5bL /Krw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=RMkZ6GoNyePHI5D1E+oZnZCjQ91iAfCz01QhV6A+t1c=; fh=oFEwEPSvAC9GIR6EOvww9pi8311xdKm4ovcs+hTWH3I=; b=q+jOIbcqul/EDs8tzb2YaWgFwxD5VeGiMekPxV7iFOaEFhWnIcNg2EXT9AUSDunffw 6k/XVLt5SDLrCZCjY0IjZXEQy/Jg0EIQQZZ3VGe81rga7aklyKQaF/AmD/hfj+4uITTJ s06eglUGQLfSMay2Uuekhk0XwZMUFEBXqUw1enfkJotgUmeNK1OuYHA2FCCchWHBetMa kl73gXzRNqSwEr9ZoA3EbXIfC7VPYnO6FNfLS1vVjtS11UuFTlhiE2RrXRKtwDj5ocZC uwlV0IsXAxQerXz114sYD85Lt2VYtWA0WY9gXHg9ptH7iZ2VeDp6SUZLkwePe14cJQ6V yVGw== 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 ha19-20020a170906a89300b00993320628absi1085855ejb.675.2023.08.18.03.28.13; Fri, 18 Aug 2023 03:28:38 -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 S1348904AbjHQI2H (ORCPT + 99 others); Thu, 17 Aug 2023 04:28:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40876 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348937AbjHQI1j (ORCPT ); Thu, 17 Aug 2023 04:27:39 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB24E30EA; Thu, 17 Aug 2023 01:27:35 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id AE14B24E2B1; Thu, 17 Aug 2023 16:27:34 +0800 (CST) Received: from EXMBX168.cuchost.com (172.16.6.78) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 17 Aug 2023 16:27:34 +0800 Received: from [192.168.125.113] (183.27.97.249) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 17 Aug 2023 16:27:33 +0800 Message-ID: Date: Thu, 17 Aug 2023 16:27:32 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [PATCH v4 3/3] riscv: dts: jh7110: starfive: Add timer node Content-Language: en-US To: Xingyu Wu , Daniel Lezcano , Thomas Gleixner , "Emil Renner Berthing" CC: , , "Rob Herring" , Krzysztof Kozlowski , Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Samin Guo , , Conor Dooley References: <20230814101603.166951-1-xingyu.wu@starfivetech.com> <20230814101603.166951-4-xingyu.wu@starfivetech.com> From: Walker Chen In-Reply-To: <20230814101603.166951-4-xingyu.wu@starfivetech.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.97.249] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-5.9 required=5.0 tests=BAYES_00,NICE_REPLY_A, 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 On 2023/8/14 18:16, Xingyu Wu wrote: > 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>; Reviewed-by: Walker Chen Thanks!