| 1 |
|
| 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 |
|
| 7 |
title: Airoha EN7581 Watchdog Timer |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Christian Marangi <[email protected]> |
| 11 |
|
| 12 |
allOf: |
| 13 |
- $ref: watchdog.yaml# |
| 14 |
|
| 15 |
properties: |
| 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 |
|
| 33 |
required: |
| 34 |
- compatible |
| 35 |
- reg |
| 36 |
- clocks |
| 37 |
- clock-names |
| 38 |
|
| 39 |
unevaluatedProperties: false |
| 40 |
|
| 41 |
examples: |
| 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 |
}; |