Commit f1ad5ef9a5e7f71bdc4110f86c9521bfe7a9489f

Authored by Eric Lee
1 parent 539fdd2c7c

Add support for external watchdog driver on module

Showing 2 changed files with 9 additions and 1 deletions Side-by-side Diff

arch/arm/boot/dts/imx6qdl-smarcfimx6.dtsi
... ... @@ -111,6 +111,14 @@
111 111 hdmi-controller = <&hdmi_audio>;
112 112 };
113 113  
  114 + watchdog: watchdog {
  115 + compatible = "linux,wdt-gpio";
  116 + gpios = <&gpio3 16 GPIO_ACTIVE_LOW>;
  117 + hw_algo = "toggle";
  118 + hw_margin_ms = <3000>;
  119 + always-running;
  120 + };
  121 +
114 122 mxcfb1: fb@0 {
115 123 compatible = "fsl,mxc_sdc_fb";
116 124 disp_dev = "ldb";
arch/arm/configs/smarcfimx6_defconfig
... ... @@ -2301,7 +2301,7 @@
2301 2301 #
2302 2302 # CONFIG_SOFT_WATCHDOG is not set
2303 2303 # CONFIG_DA9052_WATCHDOG is not set
2304   -# CONFIG_GPIO_WATCHDOG is not set
  2304 +CONFIG_GPIO_WATCHDOG=y
2305 2305 # CONFIG_XILINX_WATCHDOG is not set
2306 2306 # CONFIG_CADENCE_WATCHDOG is not set
2307 2307 # CONFIG_DW_WATCHDOG is not set