Re: [PATCH v4 0/7] MIPS: Loongson64: Add Loongson-7A watchdog support

From: Jiaxun Yang

Date: Wed Dec 02 2026 - 07:37:51 EST




On Wed, 2 Dec 2026, at 11:19 AM, Rong Zhang wrote:
> The Loongson-7A has a watchdog compatible with the one on Loongson
> 2K0300. It uses an internal 50MHz clock source of the PCH, which is also
> shared among other miscellaneous peripherals in the PCH.
>
> Add a 50MHz fixed-clock node with label "pch_misc_clk" to represent the
> miscellaneous clock, and migrate existing miscellaneous peripherals
> (namely, ls7a_uart*) to use it rather than clock-frequency.
>
> With that, add "loongson,ls7a-wdt" compatible to dt-bindings and the
> corresponding watchdog node to ls7a-pch.dtsi. Afterward, enable
> LOONGSON1_WDT in defconfig to make it work by default.
>
> Tested on Loongson-LS3A4000-7A1000-NUC-SE and Lenovo KaiTian M530Z.
>
> Since the series modifies ls7a-pch.dtsi here and there, it also fixes
> the weird semi-dec-semi-hex style in ranges and reg properties and add
> the missing #address-cells = <0> properties to interrupt-controller
> nodes.
>
> Signed-off-by: Rong Zhang <rongrong@xxxxxxxxxxxxxxxxx>

For the whole series:

Reviewed-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>

Thanks a lot for your effort!

[...]
--
- Jiaxun