Commit 97810a91d1ed43d1c314873e8ae3a3daf0abbe78
1 parent
0bccc7ef97
Exists in
smarc-imx_3.14.28_1.0.0_ga
Add support for external watchdog driver on module
Showing 2 changed files with 9 additions and 2 deletions Side-by-side Diff
arch/arm/boot/dts/imx6qdl-smarcfimx6.dtsi
... | ... | @@ -114,6 +114,13 @@ |
114 | 114 | hdmi-controller = <&hdmi_audio>; |
115 | 115 | }; |
116 | 116 | |
117 | + watchdog: watchdog { | |
118 | + compatible = "linux,wdt-gpio"; | |
119 | + gpios = <&gpio3 16 GPIO_ACTIVE_LOW>; | |
120 | + hw_algo = "toggle"; | |
121 | + hw_margin_ms = <3000>; | |
122 | + }; | |
123 | + | |
117 | 124 | mxcfb1: fb@0 { |
118 | 125 | compatible = "fsl,mxc_sdc_fb"; |
119 | 126 | disp_dev = "ldb"; |
arch/arm/configs/smarcfimx6_defconfig
... | ... | @@ -2159,7 +2159,7 @@ |
2159 | 2159 | # Texas Instruments thermal drivers |
2160 | 2160 | # |
2161 | 2161 | CONFIG_WATCHDOG=y |
2162 | -# CONFIG_WATCHDOG_CORE is not set | |
2162 | +CONFIG_WATCHDOG_CORE=y | |
2163 | 2163 | # CONFIG_WATCHDOG_NOWAYOUT is not set |
2164 | 2164 | |
2165 | 2165 | # |
... | ... | @@ -2167,7 +2167,7 @@ |
2167 | 2167 | # |
2168 | 2168 | # CONFIG_SOFT_WATCHDOG is not set |
2169 | 2169 | # CONFIG_DA9052_WATCHDOG is not set |
2170 | -# CONFIG_GPIO_WATCHDOG is not set | |
2170 | +CONFIG_GPIO_WATCHDOG=y | |
2171 | 2171 | # CONFIG_DW_WATCHDOG is not set |
2172 | 2172 | # CONFIG_MAX63XX_WATCHDOG is not set |
2173 | 2173 | CONFIG_IMX2_WDT=y |