Apple SoC Watchdog

Schema identifier ($id): "http://devicetree.org/schemas/watchdog/apple,wdt.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Sven Peter <sven@svenpeter.dev>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): watchdog.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "apple,t6020-wdt"

Item 2

Exact value (const): "apple,t8103-wdt"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "apple,s5l8960x-wdt", "apple,t7000-wdt", "apple,s8000-wdt", "apple,t8010-wdt", "apple,t8015-wdt", "apple,t8103-wdt", "apple,t8112-wdt", "apple,t6000-wdt"

Item 2

Exact value (const): "apple,wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

Required in this object (required): "compatible", "reg", "clocks", "interrupts"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/apple-aic.h>
#include <dt-bindings/interrupt-controller/irq.h>

wdt: watchdog@50000000 {
    compatible = "apple,t8103-wdt", "apple,wdt";
    reg = <0x50000000 0x4000>;
    clocks = <&clk>;
    interrupts = <AIC_IRQ 123 IRQ_TYPE_LEVEL_HIGH>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Line 23: Do not add additional SoC to this list.

Edit this page