Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5993691rwr; Tue, 9 May 2023 08:51:38 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5kT2PJsZwD1eaemDfYgy1a16KxuOtOCyKdjh+Jbs/klmxbFgM0Y/F+g8bGl8Xqc/BEcaiA X-Received: by 2002:a05:6a00:88f:b0:644:ad29:fd37 with SMTP id q15-20020a056a00088f00b00644ad29fd37mr12418109pfj.28.1683647498502; Tue, 09 May 2023 08:51:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683647498; cv=none; d=google.com; s=arc-20160816; b=umMzdyRMIb9v0EL5il3mJmwGoQfxUrRKJEyYR+c1i0CjjhCug01PS6qnu2MhpPvBog QVgw3lVqETn24U5tKhZOBVxL895mHdfw5x6Mw0wI5Ms7agCl5d3MkYbZ0PkkBFtZmCY1 8aMg2gyXDiuxnvYCsEH4TLeN98Uv3U2hVYNS3hEC9rm1e6hj4vGkRAKaWkFaIukR80xe DKNYpfDqjvdwBD6qt4ebMitYP40hZ37LvLhEQu+uGBb0UuLp4p4uZlWh2/9PIa/aBwKW AYPx6RzSVcqM4bPw+1Y1DwVv5Z1fx0vQOAorBWK4SEYCaF09X8TV4pWteeikYRbqdlsv YN7w== 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=VWoRj/PgAIZQdO12odupjwHAOBI1Tbl2Ya+XEqK8hbA=; b=1BY8jHhwTSsPzbxZKmbRecDo4xYEOVY8IlDuaRLspTzCBsWvsD6toqNldNOI/vI2pR gbCVhczLv+XFzgBmb6XVfDRT60kX0DYT5buE10QoCVQg9ea2BasXfntWht3Prw2+/HXK zu+q3T2nISQ834ZdpYVtiR+GEA8ZX9XBiqeJ1lvd0WreHbPgQzoU55Z5ikH8etR1WX6e NbMXVUERxx7hpY9eztSpMew9xnXFJunisKuHg+AJxaiSFWdLnSmud+TzGP1ySnr7G0s/ UYLcih7YxN4+zOe6M/A4mG+VSmDqBhDGEA0H9LN1dShZ0DSRgRzAV2oIm1T0oMFejxC1 084A== 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 p30-20020a63951e000000b005289d0633e0si1785883pgd.229.2023.05.09.08.51.23; Tue, 09 May 2023 08:51: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 S235788AbjEIPRe convert rfc822-to-8bit (ORCPT + 99 others); Tue, 9 May 2023 11:17:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235465AbjEIPRd (ORCPT ); Tue, 9 May 2023 11:17:33 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E724468B; Tue, 9 May 2023 08:17:28 -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 fd01.gateway.ufhost.com (Postfix) with ESMTP id BBA0D24E1B6; Tue, 9 May 2023 23:17:25 +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; Tue, 9 May 2023 23:17:25 +0800 Received: from localhost.localdomain (183.27.98.219) by EXMBX061.cuchost.com (172.16.6.61) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 9 May 2023 23:17:24 +0800 From: Xingyu Wu To: , , "Rob Herring" , Krzysztof Kozlowski , Emil Renner Berthing , Conor Dooley CC: Paul Walmsley , Palmer Dabbelt , Albert Ou , Xingyu Wu , Subject: [PATCH v1 2/2] riscv: dts: starfive: jh7110: Add watchdog node Date: Tue, 9 May 2023 23:17:23 +0800 Message-ID: <20230509151723.84989-3-xingyu.wu@starfivetech.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20230509151723.84989-1-xingyu.wu@starfivetech.com> References: <20230509151723.84989-1-xingyu.wu@starfivetech.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [183.27.98.219] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) 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,SPF_HELO_PASS, SPF_PASS,T_SCC_BODY_TEXT_LINE 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 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>; -- 2.25.1