mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 23:09:29 +02:00
dt-bindings: watchdog: npcm: add GCR syscon property
NPCM750 and NPCM845 latch watchdog reset indications in the SoC GCR block rather than in the watchdog block itself. Add the optional nuvoton,sysgcr phandle so watchdog nodes can reference the shared GCR reset-status registers that hold those latched watchdog reset indications. This is needed by the following reset-status support, which reads those latches and reports watchdog-caused resets through bootstatus. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20260706144828.3517631-2-tmaimon77@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
committed by
Guenter Roeck
parent
47a159d948
commit
686a639c02
@@ -16,6 +16,14 @@ description:
|
||||
|
||||
allOf:
|
||||
- $ref: watchdog.yaml#
|
||||
- if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: nuvoton,wpcm450-wdt
|
||||
then:
|
||||
properties:
|
||||
nuvoton,sysgcr: false
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
@@ -40,6 +48,12 @@ properties:
|
||||
clock-frequency:
|
||||
description: Frequency in Hz of the clock that drives the NPCM timer.
|
||||
|
||||
nuvoton,sysgcr:
|
||||
$ref: /schemas/types.yaml#/definitions/phandle
|
||||
description:
|
||||
a phandle to access the GCR reset-status registers that latch
|
||||
watchdog reset indications on NPCM750 and NPCM845.
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
|
||||
Reference in New Issue
Block a user