Skip to content

Commit

Permalink
arm/dts: add wdt node for omap3 and omap4
Browse files Browse the repository at this point in the history
Add wdt node to support dt.

Signed-off-by: Xiao Jiang <jgq516@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Xiao Jiang authored and Tony Lindgren committed Jul 9, 2012
1 parent 3319f69 commit 94c3073
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Documentation/devicetree/bindings/watchdog/omap-wdt.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
TI Watchdog Timer (WDT) Controller for OMAP

Required properties:
compatible:
- "ti,omap3-wdt" for OMAP3
- "ti,omap4-wdt" for OMAP4
- ti,hwmods: Name of the hwmod associated to the WDT

Examples:

wdt2: wdt@4a314000 {
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/omap3.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -215,5 +215,10 @@
compatible = "ti,omap3-hsmmc";
ti,hwmods = "mmc3";
};

wdt2: wdt@48314000 {
compatible = "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
};
};
};
5 changes: 5 additions & 0 deletions arch/arm/boot/dts/omap4.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,5 +272,10 @@
ti,hwmods = "mmc5";
ti,needs-special-reset;
};

wdt2: wdt@4a314000 {
compatible = "ti,omap4-wdt", "ti,omap3-wdt";
ti,hwmods = "wd_timer2";
};
};
};

0 comments on commit 94c3073

Please sign in to comment.