Commit 7e93df35 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski

ARM: dts: exynos: Fix infinite interrupt in soft mode on Exynos4210 and Exynos5440

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Reviewed-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent de44097b
...@@ -120,7 +120,7 @@ mct_map: mct-map { ...@@ -120,7 +120,7 @@ mct_map: mct-map {
}; };
watchdog: watchdog@10060000 { watchdog: watchdog@10060000 {
compatible = "samsung,s3c2410-wdt"; compatible = "samsung,s3c6410-wdt";
reg = <0x10060000 0x100>; reg = <0x10060000 0x100>;
interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_WDT>; clocks = <&clock CLK_WDT>;
......
...@@ -189,7 +189,7 @@ i2c@100000 { ...@@ -189,7 +189,7 @@ i2c@100000 {
}; };
watchdog@110000 { watchdog@110000 {
compatible = "samsung,s3c2410-wdt"; compatible = "samsung,s3c6410-wdt";
reg = <0x110000 0x1000>; reg = <0x110000 0x1000>;
interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clock CLK_B_125>; clocks = <&clock CLK_B_125>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment