Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml

Source file repositories/reference/linux-study-clean/Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml

File Facts

System
Linux kernel
Corpus path
Documentation/devicetree/bindings/watchdog/lantiq,wdt.yaml
Extension
.yaml
Size
1110 bytes
Lines
58
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/watchdog/lantiq,wdt.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Lantiq WTD watchdog

maintainers:
  - Hauke Mehrtens <hauke@hauke-m.de>

properties:
  compatible:
    oneOf:
      - enum:
          - lantiq,falcon-wdt
          - lantiq,wdt
          - lantiq,xrx100-wdt
      - items:
          - enum:
              - lantiq,xrx200-wdt
          - const: lantiq,xrx100-wdt

  reg:
    maxItems: 1

  lantiq,rcu:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: Phandle to the RCU syscon node

required:
  - compatible
  - reg

allOf:
  - $ref: watchdog.yaml#
  - if:
      properties:
        compatible:
          contains:
            enum:
              - lantiq,xrx100-wdt
              - lantiq,falcon-wdt
    then:
      required:
        - lantiq,rcu

unevaluatedProperties: false

examples:
  - |
    watchdog@803f0 {
        compatible = "lantiq,xrx200-wdt", "lantiq,xrx100-wdt";
        reg = <0x803f0 0x10>;

        lantiq,rcu = <&rcu0>;
    };

Annotation

Implementation Notes