ImgTec PowerDown Controller (PDC) Watchdog Timer (WDT)

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

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

Maintainers (maintainers): "Shresth Prasad <shresthprasad7@gmail.com>"

All of these rules must match (allOf) #

Rule 1 #

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

Properties and child nodes (properties) #

compatible — required here #

Allowed values (enum): "img,pdc-wdt"

reg — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

watchdog counter clock

Item 2

register interface clock

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "wdt"

Item 2

Exact value (const): "sys"

interrupts — required here #

Maximum number of items (maxItems): 1

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/interrupt-controller/irq.h>

watchdog@18102100 {
  compatible = "img,pdc-wdt";
  reg = <0x18102100 0x100>;
  clocks = <&pdc_wdt_clk>, <&sys_clk>;
  clock-names = "wdt", "sys";
  interrupts = <0 52 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)

Edit this page