17ef62cebSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 27ef62cebSEmmanuel Vadot%YAML 1.2 37ef62cebSEmmanuel Vadot--- 47ef62cebSEmmanuel Vadot$id: http://devicetree.org/schemas/watchdog/xlnx,xps-timebase-wdt.yaml# 57ef62cebSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 67ef62cebSEmmanuel Vadot 77ef62cebSEmmanuel Vadottitle: Xilinx AXI/PLB softcore and window Watchdog Timer 87ef62cebSEmmanuel Vadot 97ef62cebSEmmanuel Vadotmaintainers: 10*f126890aSEmmanuel Vadot - Shubhrajyoti Datta <shubhrajyoti.datta@amd.com> 11*f126890aSEmmanuel Vadot - Srinivas Neeli <srinivas.neeli@amd.com> 127ef62cebSEmmanuel Vadot 137ef62cebSEmmanuel Vadotdescription: 147ef62cebSEmmanuel Vadot The Timebase watchdog timer(WDT) is a free-running 32 bit counter. 157ef62cebSEmmanuel Vadot WDT uses a dual-expiration architecture. After one expiration of 167ef62cebSEmmanuel Vadot the timeout interval, an interrupt is generated and the WDT state 177ef62cebSEmmanuel Vadot bit is set to one in the status register. If the state bit is not 187ef62cebSEmmanuel Vadot cleared (by writing a one to the state bit) before the next 197ef62cebSEmmanuel Vadot expiration of the timeout interval, a WDT reset is generated. 207ef62cebSEmmanuel Vadot 217ef62cebSEmmanuel VadotallOf: 227ef62cebSEmmanuel Vadot - $ref: watchdog.yaml# 237ef62cebSEmmanuel Vadot 247ef62cebSEmmanuel Vadotproperties: 257ef62cebSEmmanuel Vadot compatible: 267ef62cebSEmmanuel Vadot enum: 277ef62cebSEmmanuel Vadot - xlnx,xps-timebase-wdt-1.01.a 287ef62cebSEmmanuel Vadot - xlnx,xps-timebase-wdt-1.00.a 297ef62cebSEmmanuel Vadot 307ef62cebSEmmanuel Vadot reg: 317ef62cebSEmmanuel Vadot maxItems: 1 327ef62cebSEmmanuel Vadot 337ef62cebSEmmanuel Vadot clocks: 347ef62cebSEmmanuel Vadot maxItems: 1 357ef62cebSEmmanuel Vadot 367ef62cebSEmmanuel Vadot clock-frequency: 377ef62cebSEmmanuel Vadot description: Frequency of clock in Hz 387ef62cebSEmmanuel Vadot 397ef62cebSEmmanuel Vadot xlnx,wdt-interval: 407ef62cebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 417ef62cebSEmmanuel Vadot description: Watchdog timeout interval 427ef62cebSEmmanuel Vadot minimum: 8 437ef62cebSEmmanuel Vadot maximum: 32 447ef62cebSEmmanuel Vadot 457ef62cebSEmmanuel Vadot xlnx,wdt-enable-once: 467ef62cebSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 477ef62cebSEmmanuel Vadot enum: [0, 1] 487ef62cebSEmmanuel Vadot description: If watchdog is configured as enable once, 497ef62cebSEmmanuel Vadot then the watchdog cannot be disabled after 507ef62cebSEmmanuel Vadot it has been enabled. 517ef62cebSEmmanuel Vadot 527ef62cebSEmmanuel Vadotrequired: 537ef62cebSEmmanuel Vadot - compatible 547ef62cebSEmmanuel Vadot - reg 557ef62cebSEmmanuel Vadot 567ef62cebSEmmanuel VadotunevaluatedProperties: false 577ef62cebSEmmanuel Vadot 587ef62cebSEmmanuel Vadotexamples: 597ef62cebSEmmanuel Vadot - | 607ef62cebSEmmanuel Vadot watchdog@40100000 { 617ef62cebSEmmanuel Vadot compatible = "xlnx,xps-timebase-wdt-1.00.a"; 627ef62cebSEmmanuel Vadot reg = <0x40100000 0x1000>; 637ef62cebSEmmanuel Vadot clock-frequency = <50000000>; 647ef62cebSEmmanuel Vadot clocks = <&clkc 15>; 657ef62cebSEmmanuel Vadot xlnx,wdt-enable-once = <0x0>; 667ef62cebSEmmanuel Vadot xlnx,wdt-interval = <0x1b>; 677ef62cebSEmmanuel Vadot }; 687ef62cebSEmmanuel Vadot... 69