[PATCH 00/10] imx: Switch watchdog addressing from macros to devicetree

alice.guo
2026-03-10T13:13:10Z

CI: https://github.com/u-boot/u-boot/pull/902/checks

Signed-off-by: Alice Guo <alice.guo@nxp.com>
---
Alice Guo (10):
imx: Add helper to get watchdog base address from DT alias
watchdog: ulp_wdog: Get watchdog base address from device tree
imx: soc: Get watchdog base addresses from device tree
imx7ulp: dtsi: Add wdog1 and wdog2 nodes with aliases
imx8ulp: dtsi: Add wdog3 alias and bootph-all property
imx93: dtsi: Add wdog3/wdog4/wdog5 alias and bootph-all property
imx91: dtsi: Add wdog3/wdog4/wdog5 alias and bootph-all property
imx943: dtsi: Add wdog3 and wdog4 nodes with aliases
imx95: dtsi: Add wdog3 and wdog4 nodes with aliases
imx: Remove hardcoded watchdog base address macros

arch/arm/dts/imx7ulp.dtsi | 8 +++++
arch/arm/dts/imx8ulp-u-boot.dtsi | 10 ++++++
arch/arm/dts/imx91-u-boot.dtsi | 18 ++++++++++
arch/arm/dts/imx93-u-boot.dtsi | 18 ++++++++++
arch/arm/dts/imx93.dtsi | 21 ++++++++++++
arch/arm/dts/imx943-u-boot.dtsi | 21 ++++++++++++
arch/arm/dts/imx95-u-boot.dtsi | 19 +++++++++++
arch/arm/include/asm/arch-imx8ulp/imx-regs.h | 2 --
arch/arm/include/asm/arch-imx9/imx-regs.h | 9 -----
arch/arm/include/asm/mach-imx/sys_proto.h | 2 ++
arch/arm/mach-imx/Makefile | 4 +--
arch/arm/mach-imx/fdt.c | 51 ++++++++++++++++++++++++++++
arch/arm/mach-imx/imx8ulp/soc.c | 15 +++++++-
arch/arm/mach-imx/imx9/scmi/soc.c | 16 +++++++--
arch/arm/mach-imx/imx9/soc.c | 17 ++++++++--
arch/arm/mach-imx/mx7ulp/soc.c | 16 +++++++--
drivers/watchdog/ulp_wdog.c | 38 +++++++++++++++------
include/configs/imx8ulp_evk.h | 2 --
include/configs/imx91_evk.h | 2 --
include/configs/imx91_frdm.h | 2 --
include/configs/imx93_evk.h | 3 --
include/configs/imx93_frdm.h | 3 --
include/configs/imx93_qsb.h | 2 --
include/configs/imx93_var_som.h | 3 --
include/configs/imx94_evk.h | 3 --
include/configs/imx95_evk.h | 2 --
include/configs/kontron-osm-s-mx93.h | 2 --
include/configs/mx7ulp_com.h | 3 --
include/configs/mx7ulp_evk.h | 3 --
include/configs/phycore_imx93.h | 3 --
include/configs/toradex-smarc-imx95.h | 2 --
31 files changed, 252 insertions(+), 68 deletions(-)
---
base-commit: ba7bf918dafcd093ad733b07ba490baeb20cf5da
change-id: 20260310-wdog-9ad08a8da9dc

Best regards,
--
Alice Guo <alice.guo@nxp.com>