ARM: dts: s3c64xx: Fix infinite interrupt in soft mode
authorKrzysztof Kozlowski <krzk@kernel.org>
Sat, 11 Mar 2017 17:25:26 +0000 (19:25 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Tue, 21 Mar 2017 17:56:59 +0000 (19:56 +0200)
In soft (no-reboot) mode, the driver self-pings watchdog upon expiration
of an interrupt.  The interrupt has to be cleared, because otherwise
system enters infinite interrupt handling loop.

Use a samsung,s3c6410-wdt compatible to select appropriate quirk for
clearing the watchdog interrupt.

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
arch/arm/boot/dts/s3c64xx.dtsi

index 6caec5f..c55cbb3 100644 (file)
@@ -94,7 +94,7 @@
                };
 
                watchdog: watchdog@7e004000 {
-                       compatible = "samsung,s3c2410-wdt";
+                       compatible = "samsung,s3c6410-wdt";
                        reg = <0x7e004000 0x1000>;
                        interrupt-parent = <&vic0>;
                        interrupts = <26>;