From 462d4b16c2192a8b6d708668a206a303e3763927 Mon Sep 17 00:00:00 2001 From: Eric Miao Date: Fri, 30 Dec 2011 21:32:44 +0800 Subject: imx6q: add support for watchdog using imx2_wdt.c Signed-off-by: Eric Miao --- arch/arm/boot/dts/imx6q-sabrelite.dts | 6 ++++++ drivers/watchdog/Kconfig | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6q-sabrelite.dts b/arch/arm/boot/dts/imx6q-sabrelite.dts index 08d920de728..fbe43d6cf37 100644 --- a/arch/arm/boot/dts/imx6q-sabrelite.dts +++ b/arch/arm/boot/dts/imx6q-sabrelite.dts @@ -22,6 +22,12 @@ }; soc { + aips-bus@02000000 { /* AIPS1 */ + wdog@020bc000 { /* WDOG1 */ + status = "okay"; + }; + }; + aips-bus@02100000 { /* AIPS2 */ enet@02188000 { phy-mode = "rgmii"; diff --git a/drivers/watchdog/Kconfig b/drivers/watchdog/Kconfig index 79fd606b7cd..7c3064552ef 100644 --- a/drivers/watchdog/Kconfig +++ b/drivers/watchdog/Kconfig @@ -333,7 +333,7 @@ config MAX63XX_WATCHDOG config IMX2_WDT tristate "IMX2+ Watchdog" - depends on IMX_HAVE_PLATFORM_IMX2_WDT + depends on IMX_HAVE_PLATFORM_IMX2_WDT || SOC_IMX6Q help This is the driver for the hardware watchdog on the Freescale IMX2 and later processors. -- cgit v1.2.3