Re: [PATCH 3/7] arm/arm64: dts: mediatek: drop mt6589 fallback from watchdog

Roman Vivchar <[email protected]> Thu, 16 Jul 2026 18:35:11 +0000
Newsgroups org.kernel.vger.linux-watchdog,org.infradead.lists.linux-arm-kernel,org.infradead.lists.linux-mediatek,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel
Message-ID <W7fWZU3pu6akI_HMTAWPGnnErv60QtTz-LaPb6OtGvU5Bx0Iekl4SxWB6mxBPx8cBo9q9Lg7t8dDzcyfti-5fTirEACcwCLhNAh8e5xoHus=@protonmail.com>
Hi,

On Thursday, July 16th, 2026 at 7:19 PM, Akari Tsuyukusa <[email protected]> wrote:

> Remove the "mediatek,mt6589-wdt" fallback string from all in-tree
> device trees. Use only the SoC-specific compatible.
>
> No functional change.
> Affected SoCs: mt2701, mt6572, mt6582, mt6797, mt7622, mt7623,
> mt7629, mt8173, mt8365, mt8516.
> 
> Signed-off-by: Akari Tsuyukusa <[email protected]>

...

> diff --git a/arch/arm/boot/dts/mediatek/mt6572.dtsi b/arch/arm/boot/dts/mediatek/mt6572.dtsi
> index ac70f266d698..5a6c9763bd6c 100644
> --- a/arch/arm/boot/dts/mediatek/mt6572.dtsi
> +++ b/arch/arm/boot/dts/mediatek/mt6572.dtsi
> @@ -53,7 +53,7 @@ soc {
>  		ranges;
> 
>  		watchdog: watchdog@10007000 {
> -			compatible = "mediatek,mt6572-wdt", "mediatek,mt6589-wdt";
> +			compatible = "mediatek,mt6572-wdt";
>  			reg = <0x10007000 0x100>;
>  			interrupts = <GIC_SPI 126 IRQ_TYPE_LEVEL_LOW>;
>  			timeout-sec = <15>;

mt6572 downstream kernel shows the same layout as 6589, but only
pwrap, md lite and md are explicitly referenced and used.

I tried poking some unused bits like DDR PHY or INFRA AO, though
that appears to be no-op. Only MMSYS and APMIXED resets from
the 6589 worked for me so far.

=> mw.l 0x10007018 0x88000001 # infra
=> mw.l 0x10007018 0x88000002 # mm
* display died * 
=> mw.l 0x10007018 0x88000004 # mfg
=> mw.l 0x10007018 0x88000040 # ddrphy
=> mw.l 0x10007018 0x88000100 # infra_ao
=> mw.l 0x10007018 0x88000400 # apmixed
* hang *

I assume others are reserved on mt6572, so

Acked-by: Roman Vivchar <[email protected]> # for mt6572

Best regards,
Roman