arm64: dts: mediatek: mt6795: Add watchdog node to avoid timeouts
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 9 Jun 2022 11:22:57 +0000 (13:22 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 22 Jun 2022 15:25:07 +0000 (17:25 +0200)
commitac4cf9a2e32cfd397eb616729e866b5414dcf024
treec3575b5efc10cddd169419e9020c584ce761fa99
parent5fce1e6cc09748b3003f7a31699a3d3b36bfcb03
arm64: dts: mediatek: mt6795: Add watchdog node to avoid timeouts

At least on commercial devices like some smartphones, the bootloader
will initialize the SoC watchdog and set it to reboot the board when
it times out. The last pet that this watchdog is getting is right
before booting the kernel and left it enabled as a protection against
boot failure: this means that Linux is expected to initialize this
device and pet as soon as possible, or it will bark and reset the AP.

In order to prevent that, add the required watchdog node as default
enabled: this will have no side effects on boards that are not
performing the aforementioned watchdog setup before booting Linux.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220609112303.117928-5-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795.dtsi