Re: [PATCH 3/4] MIPS: Loongson64: Add watchdog node for LS7A PCH
From: Conor Dooley
Date: Wed Nov 11 2026 - 12:53:29 EST
On Tue, Nov 10, 2026 at 03:02:32PM +0800, Rong Zhang wrote:
> The Loongson-7A has a watchdog. With proper support added to the
> loongson1_wdt driver, wire it up by adding a watchdog node to
> ls7a-pch.dtsi.
>
> 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 f304f99946f1..770c96e9b908 100644
> --- a/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> +++ b/arch/mips/boot/dts/loongson/ls7a-pch.dtsi
> @@ -67,6 +67,12 @@ ls7a_uart3: serial@10080300 {
> no-loopback-test;
> };
>
> + watchdog: watchdog@100d0030 {
> + compatible = "loongson,ls7a-wdt";
> + reg = <0 0x100d0030 0 0xc>;
The style here is weird, usually we like to have the whole property in
hex BTW.
> + clock-frequency = <50000000>;
> + };
> +
> rtc0: rtc@100d0100 {
> compatible = "loongson,ls7a-rtc";
> reg = <0 0x100d0100 0 0x78>;
>
> --
> 2.55.0
Attachment:
signature.asc
Description: PGP signature