[PATCH v2 7/8] MIPS: Loongson64: dts: ls7a-pch: Add watchdog node

From: Rong Zhang

Date: Fri Nov 13 2026 - 10:19:52 EST


The Loongson-7A has a watchdog compatible with the one on Loongson
2K0300.

Add a watchdog node with appropriate compatible strings to wire it up.

Tested on Loongson-LS3A4000-7A1000-NUC-SE and Lenovo KaiTian M530Z.

Signed-off-by: Rong Zhang <rongrong@xxxxxxxxxxxxxxxxx>
---
arch/mips/boot/dts/loongson/ls7a-pch.dtsi | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
index 7ba7bbb9c013..498abf1f9a85 100644
--- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
+++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
@@ -75,6 +75,12 @@ ls7a_uart3: serial@10080300 {
no-loopback-test;
};

+ watchdog: watchdog@100d0030 {
+ compatible = "loongson,ls7a-wdt", "loongson,ls2k0300-wdt";
+ reg = <0x0 0x100d0030 0x0 0xc>;
+ clocks = <&pch_misc_clk>;
+ };
+
rtc0: rtc@100d0100 {
compatible = "loongson,ls7a-rtc";
reg = <0x0 0x100d0100 0x0 0x78>;

--
2.55.0