[PATCH v1 01/10] imx: Add helper to get watchdog base address from DT alias

Peng Fan peng.fan at oss.nxp.com
Thu Mar 12 08:17:43 CET 2026


On Tue, Mar 10, 2026 at 03:53:35PM +0800, alice.guo at oss.nxp.com wrote:
>From: Alice Guo <alice.guo at nxp.com>
>
>Add imx_wdog_alias_to_addr() to get watchdog register base address from
>device tree aliases. This function is used by mx7ulp, imx8ulp and imx9
>SoCs to locate watchdog hardware.
>
>The function supports:
>- Matching specific alias (e.g., "wdog0") or any "wdog*" if name is
>  NULL.
>- Optional device tree status check via check_status parameter.

I not see wdog alias is used by anyone.

Is it feasible to iterate the dtb by searching all the wdog nodes?
I think it should be fine to iterate all the wdog nodes and configure them
as disabled, no need to check which is wdog1 or wdog2.

How do you think?

Regards
Peng


More information about the U-Boot mailing list