[PATCH 3/3] arm64: dts: mediatek: mt6797: fix wdt compatible and add reset-cells

Roman Vivchar via B4 Relay devnull+rva333.protonmail.com at kernel.org
Tue Nov 10 11:22:23 PST 2026


From: Roman Vivchar <rva333 at protonmail.com>

The TOPRGU reset bits on the mt6797 SoC do not match that of mt6589,
therefore they are not compatible [1].

Remove the deprecated mt6589 fallback for mt6797 and add reset-cells to
enable other peripherals to use the TOPRGU resets.

Link: https://www.96boards.org/documentation/consumer/mediatekx20/additional-docs/docs/MT6797_Register_Table_Part_1.pdf [1]
Signed-off-by: Roman Vivchar <rva333 at protonmail.com>
---
 arch/arm64/boot/dts/mediatek/mt6797.dtsi | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm64/boot/dts/mediatek/mt6797.dtsi b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
index 8ac98a378fd6..c0f98ae132dc 100644
--- a/arch/arm64/boot/dts/mediatek/mt6797.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt6797.dtsi
@@ -218,8 +218,9 @@ scpsys: power-controller at 10006000 {
 	};
 
 	watchdog: watchdog at 10007000 {
-		compatible = "mediatek,mt6797-wdt", "mediatek,mt6589-wdt";
+		compatible = "mediatek,mt6797-wdt";
 		reg = <0 0x10007000 0 0x100>;
+		#reset-cells = <1>;
 	};
 
 	apmixedsys: apmixed at 1000c000 {

-- 
2.56.0





More information about the Linux-mediatek mailing list