From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id C42EAC7EE22 for ; Mon, 15 May 2023 07:36:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbjEOHgE (ORCPT ); Mon, 15 May 2023 03:36:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49164 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229701AbjEOHgD (ORCPT ); Mon, 15 May 2023 03:36:03 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C638910DC; Mon, 15 May 2023 00:36:00 -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 43A1124E1B5; Mon, 15 May 2023 15:35:38 +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; Mon, 15 May 2023 15:35:38 +0800 Received: from [192.168.125.124] (113.72.146.187) by EXMBX168.cuchost.com (172.16.6.78) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Mon, 15 May 2023 15:35:37 +0800 Message-ID: <00e8d677-052c-68a1-3ba6-71aa2315feca@starfivetech.com> Date: Mon, 15 May 2023 15:35:36 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Subject: Re: [PATCH v1 2/2] riscv: dts: starfive: jh7110: Add watchdog node Content-Language: en-US To: Xingyu Wu , , , Rob Herring , "Krzysztof Kozlowski" , Emil Renner Berthing , Conor Dooley CC: Paul Walmsley , Palmer Dabbelt , Albert Ou , References: <20230509151723.84989-1-xingyu.wu@starfivetech.com> <20230509151723.84989-3-xingyu.wu@starfivetech.com> From: Walker Chen In-Reply-To: <20230509151723.84989-3-xingyu.wu@starfivetech.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [113.72.146.187] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX168.cuchost.com (172.16.6.78) X-YovoleRuleAgent: yovoleflag Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On 2023/5/9 23:17, Xingyu Wu wrote: > Add the watchdog node for the Starfive JH7110 SoC. > > Signed-off-by: Xingyu Wu > --- > arch/riscv/boot/dts/starfive/jh7110.dtsi | 10 ++++++++++ > 1 file changed, 10 insertions(+) > > diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi > index 4c5fdb905da8..47c163ec0bf1 100644 > --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi > +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi > @@ -469,6 +469,16 @@ sysgpio: pinctrl@13040000 { > #gpio-cells = <2>; > }; > > + watchdog@13070000 { > + compatible = "starfive,jh7110-wdt"; > + reg = <0x0 0x13070000 0x0 0x10000>; > + clocks = <&syscrg JH7110_SYSCLK_WDT_APB>, > + <&syscrg JH7110_SYSCLK_WDT_CORE>; > + clock-names = "apb", "core"; > + resets = <&syscrg JH7110_SYSRST_WDT_APB>, > + <&syscrg JH7110_SYSRST_WDT_CORE>; > + }; > + > aoncrg: clock-controller@17000000 { > compatible = "starfive,jh7110-aoncrg"; > reg = <0x0 0x17000000 0x0 0x10000>; Reviewed-by: Walker Chen Thanks!