Skip to content

Commit

Permalink
DT: watchdog: Add NXP LPC18xx Watchdog Timer binding documentation
Browse files Browse the repository at this point in the history
Add the devicetree binding document for NXP LPC18xx Watchdog Timer.

Signed-off-by: Ariel D'Alessandro <[email protected]>
Reviewed-by: Guenter Roeck <[email protected]>
Signed-off-by: Wim Van Sebroeck <[email protected]>
  • Loading branch information
Ariel D'Alessandro authored and Wim Van Sebroeck committed Sep 9, 2015
1 parent 7c25f8c commit cfde37e
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/watchdog/lpc18xx-wdt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
* NXP LPC18xx Watchdog Timer (WDT)

Required properties:
- compatible: Should be "nxp,lpc1850-wwdt"
- reg: Should contain WDT registers location and length
- clocks: Must contain an entry for each entry in clock-names.
- clock-names: Should contain "wdtclk" and "reg"; the watchdog counter
clock and register interface clock respectively.
- interrupts: Should contain WDT interrupt

Examples:

watchdog@40080000 {
compatible = "nxp,lpc1850-wwdt";
reg = <0x40080000 0x24>;
clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
clock-names = "wdtclk", "reg";
interrupts = <49>;
};

0 comments on commit cfde37e

Please sign in to comment.