File Index
Files and directories
Sign in
FILE

airoha,en7581-wdt.yaml

File preview with syntax highlighting.

linux-6.19.14/Documentation/devicetree/bindings/watchdog/airoha,en7581-wdt.yaml YAML
 1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
 2%YAML 1.2
 3---
 4$id: http://devicetree.org/schemas/watchdog/airoha,en7581-wdt.yaml#
 5$schema: http://devicetree.org/meta-schemas/core.yaml#
 6
 7title: Airoha EN7581 Watchdog Timer
 8
 9maintainers:
10  - Christian Marangi <ansuelsmth@gmail.com>
11
12allOf:
13  - $ref: watchdog.yaml#
14
15properties:
16  compatible:
17    oneOf:
18      - items:
19          - const: airoha,an7583-wdt
20          - const: airoha,en7581-wdt
21      - const: airoha,en7581-wdt
22
23  reg:
24    maxItems: 1
25
26  clocks:
27    description: BUS clock (timer ticks at half the BUS clock)
28    maxItems: 1
29
30  clock-names:
31    const: bus
32
33required:
34  - compatible
35  - reg
36  - clocks
37  - clock-names
38
39unevaluatedProperties: false
40
41examples:
42  - |
43    #include <dt-bindings/clock/en7523-clk.h>
44
45    watchdog@1fbf0100 {
46        compatible = "airoha,en7581-wdt";
47        reg = <0x1fbf0100 0x3c>;
48
49        clocks = <&scuclk EN7523_CLK_BUS>;
50        clock-names = "bus";
51    };
~/ Read-only file preview.