| 1 |
|
| 2 |
%YAML 1.2 |
| 3 |
--- |
| 4 |
$id: http://devicetree.org/schemas/watchdog/nxp,lpc1850-wwdt.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: NXP LPC18xx Watchdog Timer (WDT) |
| 8 |
|
| 9 |
maintainers: |
| 10 |
- Animesh Agarwal <[email protected]> |
| 11 |
|
| 12 |
properties: |
| 13 |
compatible: |
| 14 |
const: nxp,lpc1850-wwdt |
| 15 |
|
| 16 |
reg: |
| 17 |
maxItems: 1 |
| 18 |
|
| 19 |
clocks: |
| 20 |
items: |
| 21 |
- description: Watchdog counter clock |
| 22 |
- description: Register interface clock |
| 23 |
|
| 24 |
clock-names: |
| 25 |
items: |
| 26 |
- const: wdtclk |
| 27 |
- const: reg |
| 28 |
|
| 29 |
interrupts: |
| 30 |
maxItems: 1 |
| 31 |
|
| 32 |
required: |
| 33 |
- compatible |
| 34 |
- reg |
| 35 |
- clocks |
| 36 |
- clock-names |
| 37 |
- interrupts |
| 38 |
|
| 39 |
additionalProperties: false |
| 40 |
|
| 41 |
examples: |
| 42 |
- | |
| 43 |
#include <dt-bindings/clock/lpc18xx-cgu.h> |
| 44 |
#include <dt-bindings/clock/lpc18xx-ccu.h> |
| 45 |
|
| 46 |
watchdog@40080000 { |
| 47 |
compatible = "nxp,lpc1850-wwdt"; |
| 48 |
reg = <0x40080000 0x24>; |
| 49 |
clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>; |
| 50 |
clock-names = "wdtclk", "reg"; |
| 51 |
interrupts = <49>; |
| 52 |
}; |