ARM AMBA Primecell SP805 Watchdog
Schema identifier ($id): "http://devicetree.org/schemas/watchdog/arm,sp805.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Viresh Kumar <vireshk@kernel.org>"
The Arm SP805 IP implements a watchdog device, which triggers an interrupt after a configurable time period. If that interrupt has not been serviced when the next interrupt would be triggered, the reset signal is asserted.
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/watchdog/watchdog.yaml#
Automatic schema selection (select) #
Properties and child nodes (
properties) #
compatible— required here #Rule for matching array elements (
contains)Exact value (
const):"arm,sp805"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Exact value (
const):"arm,sp805"
Item 2
Exact value (
const):"arm,primecell"
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Clocks driving the watchdog timer hardware. The first clock is used for the actual watchdog counter. The second clock drives the register interface.
Maximum number of items (maxItems): 2
clock-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"wdog_clk"
Item 2
Exact value (
const):"apb_pclk"
resets — not listed as required here #
Maximum number of items (maxItems): 1
WDOGRESn input reset signal for sp805 module.
Required in this object (required): "compatible", "reg", "clocks", "clock-names"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
watchdog@66090000 {
compatible = "arm,sp805", "arm,primecell";
reg = <0x66090000 0x1000>;
interrupts = <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&wdt_clk>, <&apb_pclk>;
clock-names = "wdog_clk", "apb_pclk";
resets = <&wdt_rst>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0
Line 20: Need a custom select here or 'arm,primecell' will match on lots of nodes