From: "William A. Kennington III" <william@wkennington.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Tomer Maimon <tmaimon77@gmail.com>, Arnd Bergmann <arnd@arndb.de>
Cc: Andrew Jeffery <andrew@codeconstruct.com.au>,
Iwona Winiarska <iwona.winiarska@intel.com>,
devicetree@vger.kernel.org, openbmc@lists.ozlabs.org,
linux-arm-kernel@lists.infradead.org,
"William A. Kennington III" <william@wkennington.com>
Subject: [PATCH 2/2] ARM: dts: nuvoton: npcm7xx: Add nuvoton,sysgcr to watchdog nodes
Date: Sat, 28 Nov 2026 02:52:19 +0000 [thread overview]
Message-ID: <20261128025219.2679805-3-william@wkennington.com> (raw)
In-Reply-To: <20261128025219.2679805-1-william@wkennington.com>
Since commit 7762911c0d8c ("watchdog: npcm: add bootstatus support"),
npcm_wdt looks up the GCR syscon via the optional nuvoton,sysgcr
phandle (defined in nuvoton,npcm750-wdt.yaml) to read reset status and
logs a warning when it is absent:
Failed to find nuvoton,sysgcr, WD reset status not supported
Wire <&gcr> to watchdog0..2 in nuvoton-common-npcm7xx.dtsi. Tested on
an NPCM730 BMC, clearing the warning and enabling bootstatus.
Signed-off-by: William A. Kennington III <william@wkennington.com>
---
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
index 3862adf85b68..e9765fd6ef8e 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
@@ -375,6 +375,7 @@ watchdog0: watchdog@801C {
reg = <0x801C 0x4>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_TIMER>;
+ nuvoton,sysgcr = <&gcr>;
};
watchdog1: watchdog@901C {
@@ -383,6 +384,7 @@ watchdog1: watchdog@901C {
reg = <0x901C 0x4>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_TIMER>;
+ nuvoton,sysgcr = <&gcr>;
};
watchdog2: watchdog@a01C {
@@ -391,6 +393,7 @@ watchdog2: watchdog@a01C {
reg = <0xa01C 0x4>;
status = "disabled";
clocks = <&clk NPCM7XX_CLK_TIMER>;
+ nuvoton,sysgcr = <&gcr>;
};
serial0: serial@1000 {
prev parent reply other threads:[~2026-11-28 2:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-28 2:52 [PATCH 0/2] ARM: dts: nuvoton: npcm7xx: Fix PECI reg offset and wire watchdog sysgcr William A. Kennington III
2026-11-28 2:52 ` [PATCH 1/2] ARM: dts: nuvoton: npcm7xx: Fix PECI controller reg offset in APB William A. Kennington III
2026-11-28 2:52 ` William A. Kennington III [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261128025219.2679805-3-william@wkennington.com \
--to=william@wkennington.com \
--cc=andrew@codeconstruct.com.au \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=iwona.winiarska@intel.com \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=openbmc@lists.ozlabs.org \
--cc=robh@kernel.org \
--cc=tmaimon77@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox