ARM: dts: r7s72100: Add watchdog timer
authorChris Brandt <chris.brandt@renesas.com>
Sat, 4 Mar 2017 22:37:37 +0000 (17:37 -0500)
committerSimon Horman <horms+renesas@verge.net.au>
Fri, 10 Mar 2017 09:17:48 +0000 (10:17 +0100)
Add watchdog timer support for RZ/A1.
For the RZ/A1, the only way to do a reset is to overflow the WDT, so this
is useful even if you don't need the watchdog functionality.

Signed-off-by: Chris Brandt <chris.brandt@renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r7s72100.dtsi

index 614ba79..9b12d73 100644 (file)
                        <0xe8202000 0x1000>;
        };
 
+       wdt: watchdog@fcfe0000 {
+               compatible = "renesas,r7s72100-wdt", "renesas,rza-wdt";
+               reg = <0xfcfe0000 0x6>;
+               interrupts = <GIC_SPI 106 IRQ_TYPE_EDGE_RISING>;
+               clocks = <&p0_clk>;
+       };
+
        i2c0: i2c@fcfee000 {
                #address-cells = <1>;
                #size-cells = <0>;