arm64: dts: mediatek: add watchdog support for mt8365 SoC
authorAlexandre Mergnat <amergnat@baylibre.com>
Thu, 25 May 2023 08:33:12 +0000 (10:33 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 29 May 2023 13:19:42 +0000 (15:19 +0200)
Add watchdog support.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com>
Link: https://lore.kernel.org/r/20230203-evk-board-support-v8-3-7019f3fd0adf@baylibre.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8365.dtsi

index 1f6b483..bb45aab 100644 (file)
                        reg = <0 0x10005000 0 0x1000>;
                };
 
+               watchdog: watchdog@10007000 {
+                       compatible = "mediatek,mt8365-wdt", "mediatek,mt6589-wdt";
+                       reg = <0 0x10007000 0 0x100>;
+                       #reset-cells = <1>;
+               };
+
                pio: pinctrl@1000b000 {
                        compatible = "mediatek,mt8365-pinctrl";
                        reg = <0 0x1000b000 0 0x1000>;