1 # SPDX-License-Identifier: GPL-2.0-only
4 $id: http://devicetree.org/schemas/watchdog/snps,dw-wdt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Synopsys Designware Watchdog Timer
10 - Jamie Iles <jamie@jamieiles.com>
13 - $ref: watchdog.yaml#
41 description: DW Watchdog pre-timeout interrupt
47 - description: Watchdog timer reference clock
48 - description: APB3 interface clock
57 description: Phandle to the DW Watchdog reset lane
61 $ref: /schemas/types.yaml#/definitions/uint32-array
63 DW APB Watchdog custom timer intervals - Timeout Period ranges (TOPs).
64 Each TOP is a number loaded into the watchdog counter at the moment of
65 the timer restart. The counter decrementing happens each tick of the
66 reference clock. Therefore the TOPs array is equivalent to an array of
67 the timer expiration intervals supported by the DW APB Watchdog. Note
68 DW APB Watchdog IP-core might be synthesized with fixed TOP values,
69 in which case this property is unnecessary with default TOPs utilized.
70 default: [0x0001000 0x0002000 0x0004000 0x0008000
71 0x0010000 0x0020000 0x0040000 0x0080000
72 0x0100000 0x0200000 0x0400000 0x0800000
73 0x1000000 0x2000000 0x4000000 0x8000000]
82 unevaluatedProperties: false
87 compatible = "snps,dw-wdt";
88 reg = <0xffd02000 0x1000>;
89 interrupts = <0 171 4>;
90 clocks = <&per_base_clk>;
96 compatible = "snps,dw-wdt";
97 reg = <0xffd02000 0x1000>;
98 interrupts = <0 171 4>;
99 clocks = <&per_base_clk>;
100 clock-names = "tclk";
101 snps,watchdog-tops = <0x000000FF 0x000001FF 0x000003FF
102 0x000007FF 0x0000FFFF 0x0001FFFF
103 0x0003FFFF 0x0007FFFF 0x000FFFFF
104 0x001FFFFF 0x003FFFFF 0x007FFFFF
105 0x00FFFFFF 0x01FFFFFF 0x03FFFFFF