* [PATCH 1/2] ARM: dts: nuvoton: npcm7xx: Fix PECI controller reg offset in APB
[not found] <20261128025219.2679805-1-william@wkennington.com>
@ 2026-11-28 2:52 ` William A. Kennington III
2026-11-28 2:52 ` [PATCH 2/2] ARM: dts: nuvoton: npcm7xx: Add nuvoton,sysgcr to watchdog nodes William A. Kennington III
1 sibling, 0 replies; 2+ messages in thread
From: William A. Kennington III @ 2026-11-28 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Tomer Maimon,
Arnd Bergmann
Cc: Andrew Jeffery, Iwona Winiarska, devicetree, openbmc,
linux-arm-kernel, William A. Kennington III
The peci node lives under /ahb/apb, whose ranges property maps
0x0..0x00300000 to 0xf0000000..0xf0300000. Using the absolute address
0xf0100000 fails address translation and causes peci-npcm to fail probe
with -EINVAL (invalid resource).
Use the APB-relative offset 0x100000 like sibling APB nodes and
nuvoton-common-npcm8xx.dtsi. Tested on an NPCM730 BMC where peci-npcm
and all six CPU/DIMM PECI hwmon devices now probe cleanly.
Fixes: 9949f98ca5a8 ("ARM: dts: nuvoton: Add PECI controller node")
Signed-off-by: William A. Kennington III <william@wkennington.com>
---
arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
index 83cd10b47273..3862adf85b68 100644
--- a/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
+++ b/arch/arm/boot/dts/nuvoton/nuvoton-common-npcm7xx.dtsi
@@ -325,9 +325,9 @@ kcs3: kcs3@0 {
};
};
- peci: peci-controller@f0100000 {
+ peci: peci-controller@100000 {
compatible = "nuvoton,npcm750-peci";
- reg = <0xf0100000 0x200>;
+ reg = <0x100000 0x200>;
interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_APB3>;
cmd-timeout-ms = <1000>;
^ permalink raw reply related [flat|nested] 2+ messages in thread* [PATCH 2/2] ARM: dts: nuvoton: npcm7xx: Add nuvoton,sysgcr to watchdog nodes
[not found] <20261128025219.2679805-1-william@wkennington.com>
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
1 sibling, 0 replies; 2+ messages in thread
From: William A. Kennington III @ 2026-11-28 2:52 UTC (permalink / raw)
To: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Tomer Maimon,
Arnd Bergmann
Cc: Andrew Jeffery, Iwona Winiarska, devicetree, openbmc,
linux-arm-kernel, William A. Kennington III
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 {
^ permalink raw reply related [flat|nested] 2+ messages in thread