71 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/watchdog/alphascale,asm9260-wdt.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Alphascale asm9260 Watchdog timer8 9maintainers:10 - Oleksij Rempel <linux@rempel-privat.de>11 12allOf:13 - $ref: watchdog.yaml#14 15properties:16 compatible:17 const: alphascale,asm9260-wdt18 19 reg:20 maxItems: 121 22 clocks:23 items:24 - description: source clock, used for tick counter25 - description: ahb gate26 27 clock-names:28 items:29 - const: mod30 - const: ahb31 32 interrupts:33 maxItems: 134 35 resets:36 maxItems: 137 38 reset-names:39 items:40 - const: wdt_rst41 42 alphascale,mode:43 description: |44 Specifies the reset mode of operation. If set to sw, then reset is handled45 via interrupt request, if set to debug, then it does nothing and logs.46 $ref: /schemas/types.yaml#/definitions/string47 enum: [hw, sw, debug]48 default: hw49 50required:51 - compatible52 - reg53 - clocks54 - clock-names55 - interrupts56 57unevaluatedProperties: false58 59examples:60 - |61 #include <dt-bindings/clock/alphascale,asm9260.h>62 watchdog0: watchdog@80048000 {63 compatible = "alphascale,asm9260-wdt";64 reg = <0x80048000 0x10>;65 clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;66 clock-names = "mod", "ahb";67 interrupts = <55>;68 timeout-sec = <30>;69 alphascale,mode = "hw";70 };71