dts: bindings: watchdog: Add OpenTitan AON Timer binding
The OpenTitan AON Timer is a hardware device that has two features:
the wakeup timer and watchdog timer. This commit series implements the
watchdog feature.
The spec can be found here:
https://opentitan.org/book/hw/ip/aon_timer/index.html
Signed-off-by: Tyler Ng <tkng@rivosinc.com>
diff --git a/dts/bindings/watchdog/lowrisc,opentitan-aontimer.yaml b/dts/bindings/watchdog/lowrisc,opentitan-aontimer.yaml
new file mode 100644
index 0000000..558f598
--- /dev/null
+++ b/dts/bindings/watchdog/lowrisc,opentitan-aontimer.yaml
@@ -0,0 +1,26 @@
+# Copyright (c) 2023 Rivos Inc.
+# SPDX-License-Identifier: Apache-2.0
+
+description: OpenTitan Always-On Timer driver
+
+compatible: "lowrisc,opentitan-aontimer"
+
+include: base.yaml
+
+properties:
+ reg:
+ required: true
+
+ interrupts:
+ required: true
+
+ clock-frequency:
+ type: int
+ description: AON-Timer frequency
+ required: true
+
+ wdog-lock:
+ type: boolean
+ description: |
+ When set, lock watchdog configration after setup until the next
+ reset.