Alphascale asm9260 Watchdog timer
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/alphascale,asm9260-wdt.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Oleksij Rempel <linux@rempel-privat.de>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):watchdog.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "alphascale,asm9260-wdt"
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
source clock, used for tick counter
Item 2
ahb gate
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"mod"
Item 2
Exact value (
const):"ahb"
interrupts — required here #
Maximum number of items (maxItems): 1
resets — not listed as required here #
Maximum number of items (maxItems): 1
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"wdt_rst"
alphascale,mode — not listed as required here #
Specifies the reset mode of operation. If set to sw, then reset is handled via interrupt request, if set to debug, then it does nothing and logs.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/string
Allowed values (enum): "hw", "sw", "debug"
Default value (default): "hw"
Required in this object (required): "compatible", "reg", "clocks", "clock-names", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/alphascale,asm9260.h>
watchdog0: watchdog@80048000 {
compatible = "alphascale,asm9260-wdt";
reg = <0x80048000 0x10>;
clocks = <&acc CLKID_SYS_WDT>, <&acc CLKID_AHB_WDT>;
clock-names = "mod", "ahb";
interrupts = <55>;
timeout-sec = <30>;
alphascale,mode = "hw";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause