Skip to content

Commit

Permalink
bindings/watchdog: apple,t8103-wdt.txt: bindings for Apple M1 WDT
Browse files Browse the repository at this point in the history
Signed-off-by: Pip Cet <pipcet@gmail.com>
  • Loading branch information
pipcet committed Aug 8, 2021
1 parent 156c134 commit ceb0d1d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions Documentation/devicetree/bindings/watchdog/apple,t8103-wdt.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# SPDX-License-Identifier: GPL-2.0-only
%YAML 1.2
--
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Apple M1 Watchdog Timer Device Tree Bindings

maintainers:
- Pip Cet <pipcet@gmail.com>

allOf:
- $ref: watchdog.yaml#

properties:
compatible:
enum:
- apple,t8103-wdt

reg:
maxItems: 1

clocks
maxItems: 1

required:
- compatible
- clocks
- reg

unevaluatedProperties: false

examples:
- |
watchdog@23bd20000 {
compatible = "apple,t8103-wdt";
reg = <0x2 0x3bd20000 0x0 0x4000>;
clocks = <&clk24>;
};

0 comments on commit ceb0d1d

Please sign in to comment.