Skip to content

Commit 74baa9c

Browse files
maquefelWim Van Sebroeck
authored andcommitted
dt-bindings: watchdog: Add Cirrus EP93x
Add device tree bindings for the Cirrus Logic EP93xx watchdog block used in these SoCs. Signed-off-by: Nikita Shubin <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Wim Van Sebroeck <[email protected]>
1 parent 6c8def1 commit 74baa9c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2+
%YAML 1.2
3+
---
4+
$id: http://devicetree.org/schemas/watchdog/cirrus,ep9301-wdt.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Cirrus Logic EP93xx Watchdog Timer
8+
9+
maintainers:
10+
- Nikita Shubin <[email protected]>
11+
- Alexander Sverdlin <[email protected]>
12+
13+
allOf:
14+
- $ref: watchdog.yaml#
15+
16+
properties:
17+
compatible:
18+
oneOf:
19+
- const: cirrus,ep9301-wdt
20+
- items:
21+
- enum:
22+
- cirrus,ep9302-wdt
23+
- cirrus,ep9307-wdt
24+
- cirrus,ep9312-wdt
25+
- cirrus,ep9315-wdt
26+
- const: cirrus,ep9301-wdt
27+
28+
reg:
29+
maxItems: 1
30+
31+
required:
32+
- compatible
33+
- reg
34+
35+
unevaluatedProperties: false
36+
37+
examples:
38+
- |
39+
watchdog@80940000 {
40+
compatible = "cirrus,ep9301-wdt";
41+
reg = <0x80940000 0x08>;
42+
};

0 commit comments

Comments
 (0)