From f5e2943b8b189f2889d925317c30bf4ecb8e9cf9 Mon Sep 17 00:00:00 2001 From: Michal Simek Date: Wed, 21 Feb 2018 17:03:55 +0100 Subject: [PATCH] arm: zynq: Enable cadence driver on zc706 Enable watchdog with reset-on-timeout feature. Signed-off-by: Michal Simek --- arch/arm/dts/zynq-zc706.dts | 4 ++++ configs/zynq_zc706_defconfig | 2 ++ 2 files changed, 6 insertions(+) diff --git a/arch/arm/dts/zynq-zc706.dts b/arch/arm/dts/zynq-zc706.dts index d342306293..a88a83c166 100644 --- a/arch/arm/dts/zynq-zc706.dts +++ b/arch/arm/dts/zynq-zc706.dts @@ -333,3 +333,7 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usb0_default>; }; + +&watchdog0 { + reset-on-timeout; +}; diff --git a/configs/zynq_zc706_defconfig b/configs/zynq_zc706_defconfig index 0d0c8bde0f..825a7263d2 100644 --- a/configs/zynq_zc706_defconfig +++ b/configs/zynq_zc706_defconfig @@ -73,3 +73,5 @@ CONFIG_USB_GADGET_PRODUCT_NUM=0x0300 CONFIG_CI_UDC=y CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_USB_FUNCTION_THOR=y +CONFIG_WDT=y +CONFIG_WDT_CDNS=y -- 2.39.5