On Mon, Jul 27, 2015 at 02:04:53AM -0300, Ariel D'Alessandro wrote: > Add the devicetree binding document for NXP LPC18xx Watchdog Timer. > > Signed-off-by: Ariel D'Alessandro <ariel@xxxxxxxxxxxxxxxxxxxx> Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx> > --- > .../devicetree/bindings/watchdog/lpc18xx-wdt.txt | 19 +++++++++++++++++++ > 1 file changed, 19 insertions(+) > create mode 100644 Documentation/devicetree/bindings/watchdog/lpc18xx-wdt.txt > > diff --git a/Documentation/devicetree/bindings/watchdog/lpc18xx-wdt.txt b/Documentation/devicetree/bindings/watchdog/lpc18xx-wdt.txt > new file mode 100644 > index 0000000..09f6b24 > --- /dev/null > +++ b/Documentation/devicetree/bindings/watchdog/lpc18xx-wdt.txt > @@ -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>; > +}; > -- > 1.9.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html