1# Copyright (c) 2024-2025, Gerson Fernando Budke <nandojve@gmail.com>
2# SPDX-License-Identifier: Apache-2.0
3
4description: ATMEL SAM4L watchdog
5
6compatible: "atmel,sam4l-watchdog"
7
8include: base.yaml
9
10properties:
11  reg:
12    required: true
13
14  interrupts:
15    required: true
16
17  clocks:
18    required: true
19
20  clk-source:
21    type: string
22    default: "rcsys"
23    enum:
24      - "rcsys"
25      - "osc32k"
26    description: |
27      Watchdog counter clock source:
28        - rcsys:  115kHz internal System RC oscillator
29        - osc32k: 32kHz clock source
30      Defaults to "rcsys" (hardware reset value) and always enabled source
31
32  lock-mode:
33    type: boolean
34    description: |
35      Lock the watchdog when setup is executed. This provides a write protection
36      to the control register. This mechanism can only be released when a hardware
37      reset happens.
38