From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from naesa05.arrow.com (naesa05.arrow.com [216.150.161.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5ED9334B66F; Mon, 6 Jul 2026 08:11:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.150.161.26 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783325485; cv=none; b=t55MOeUSvu6BX00z4QvpXbCpBZ+tiRACS9rPKuvcv9GpnLQsC6fzOanXG/JvsxrlgbO0vq9LYrrRlu/azRcmjwPXYHhpG92NAzS//fpEFHh2UR0ZteEw+nzRbAtQFxDHSYzGj8HroKQTz+j6wWP3MSnNWVBfL7oQ+toBt38Ogko= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783325485; c=relaxed/simple; bh=aU1XeTjJHibisFJtQpu4bte7fpmGO39LMPggiASSWdc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=IxH4NtdUfUpz/EJ7sNSnXUc4v5gjnR50v967QqSwVhUsOTn1/a9GPfgoMWlXbbyqOhwazEszAszKKpf71k8QdIGhi0JMV8pgs++mLwrGWMolKOuyd96jz58wbHMT8PdaH4xgMrHHA1RD35ld8Hi9mzUwRUrlvXjMMfa+ski9Djo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=einfochips.com; spf=pass smtp.mailfrom=einfochips.com; dkim=pass (2048-bit key) header.d=einfochips.com header.i=@einfochips.com header.b=ZGFIwVoa; arc=none smtp.client-ip=216.150.161.26 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=einfochips.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=einfochips.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=einfochips.com header.i=@einfochips.com header.b="ZGFIwVoa" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=einfochips.com; i=@einfochips.com; l=2449; q=dns/txt; s=NAESA-Selector1; t=1783325482; x=1814861482; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=YKTvongmLvnHSqT7sT4p7hzN6oWaKfhKRdyQkInxBPU=; b=ZGFIwVoaLO0H2apXNH/KvelsJIahgKtV4MAYR4hVIx8o6fSphWwvFzTF Whra20FL0llX5efKnPS4zOHhUuri/mpg3hxBopnpx9FxouF/YcfKz7HCk tLJrpFlfPT0aAXov6ENRjyUS2YiuDHNyTPZyEYgvMbFk/GUKl858zk5ja fWchtKj+c81Ia3eHakcJdCeWVAjc/AsIij59eVwUKOxEF9J0Ncvaf25Jc jA201+uDrxEbjLxVvCKIxJJhCAPPSEiaKBWfStPUkmMj1FbiTO2yFxBbm 7BixUmq9zFAE0xre2FE7vQCTZTPkPS7/ehtKsY+Yt2/vcDWDSj92P3KDl Q==; X-CSE-ConnectionGUID: VoMPyqvmQ8KaAdjVC6XSpA== X-CSE-MsgGUID: 2mFTkfRiQNmvKv2o8dUfRQ== X-IronPort-AV: E=Sophos;i="6.25,149,1779170400"; d="scan'208";a="57540321" Received: from unknown (HELO eicahmirelay01.einfochips.com) ([10.100.49.50]) by naesa05out.arrow.com with ESMTP; 06 Jul 2026 02:11:10 -0600 Received: from AHMCPU1888.localdomain ([172.25.5.100]) by eicahmirelay01.einfochips.com with Microsoft SMTPSVC(10.0.20348.1); Mon, 6 Jul 2026 13:40:56 +0530 From: Pinkesh Vaghela To: Lee Jones , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Andi Shyti , Mika Westerberg , linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Min Lin Cc: Yulin Lu , Samuel Holland , Darshan Prajapati , Pinkesh Vaghela , Pritesh Patel Subject: [PATCH v2 8/8] riscv: dts: eswin: add watchdog support Date: Mon, 6 Jul 2026 13:40:55 +0530 Message-Id: <20260706081055.1126275-9-pinkesh.vaghela@einfochips.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20260706081055.1126275-1-pinkesh.vaghela@einfochips.com> References: <20260706081055.1126275-1-pinkesh.vaghela@einfochips.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 06 Jul 2026 08:10:56.0240 (UTC) FILETIME=[F8A00700:01DD0D1E] From: Pritesh Patel Add watchdog node for ESWIN EIC7700 SoC and enable them for HiFive Premier P550 board Signed-off-by: Pritesh Patel Signed-off-by: Pinkesh Vaghela --- .../dts/eswin/eic7700-hifive-premier-p550.dts | 16 ++++++++ arch/riscv/boot/dts/eswin/eic7700.dtsi | 40 +++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts index 1e8c5a0da0b3..882c0e91733a 100644 --- a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts +++ b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts @@ -193,3 +193,19 @@ &uart0 { &uart2 { status = "okay"; }; + +&wdt0 { + status = "okay"; +}; + +&wdt1 { + status = "okay"; +}; + +&wdt2 { + status = "okay"; +}; + +&wdt3 { + status = "okay"; +}; diff --git a/arch/riscv/boot/dts/eswin/eic7700.dtsi b/arch/riscv/boot/dts/eswin/eic7700.dtsi index 6d328befc623..d079bb337ecb 100644 --- a/arch/riscv/boot/dts/eswin/eic7700.dtsi +++ b/arch/riscv/boot/dts/eswin/eic7700.dtsi @@ -265,6 +265,46 @@ hsp_sp_csr: hsp-sp-top-csr@50440000 { }; }; + wdt0: watchdog@50800000 { + compatible = "snps,dw-wdt"; + reg = <0x0 0x50800000 0x0 0x4000>; + interrupts = <87>; + clocks =<&clk EIC7700_CLK_GATE_LSP_WDT0_PCLK>; + clock-names = "tclk"; + resets = <&reset EIC7700_RESET_WDT0>; + status = "disabled"; + }; + + wdt1: watchdog@50804000 { + compatible = "snps,dw-wdt"; + reg = <0x0 0x50804000 0x0 0x4000>; + interrupts = <88>; + clocks =<&clk EIC7700_CLK_GATE_LSP_WDT1_PCLK>; + clock-names = "tclk"; + resets = <&reset EIC7700_RESET_WDT1>; + status = "disabled"; + }; + + wdt2: watchdog@50808000 { + compatible = "snps,dw-wdt"; + reg = <0x0 0x50808000 0x0 0x4000>; + interrupts = <89>; + clocks =<&clk EIC7700_CLK_GATE_LSP_WDT2_PCLK>; + clock-names = "tclk"; + resets = <&reset EIC7700_RESET_WDT2>; + status = "disabled"; + }; + + wdt3: watchdog@5080c000 { + compatible = "snps,dw-wdt"; + reg = <0x0 0x5080c000 0x0 0x4000>; + interrupts = <90>; + clocks =<&clk EIC7700_CLK_GATE_LSP_WDT3_PCLK>; + clock-names = "tclk"; + resets = <&reset EIC7700_RESET_WDT3>; + status = "disabled"; + }; + uart0: serial@50900000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x50900000 0x0 0x10000>; -- 2.34.1