From: Alice Guo <[email protected]>

Add wdog3 alias and mark it with bootph-all to make the watchdog
available in SPL and U-Boot proper. This allows the watchdog base
address to be retrieved via imx_wdog_alias_to_addr().

Signed-off-by: Alice Guo <[email protected]>
---
 arch/arm/dts/imx8ulp-u-boot.dtsi | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/arch/arm/dts/imx8ulp-u-boot.dtsi b/arch/arm/dts/imx8ulp-u-boot.dtsi
index 30baaeff8ef..e7312232b26 100644
--- a/arch/arm/dts/imx8ulp-u-boot.dtsi
+++ b/arch/arm/dts/imx8ulp-u-boot.dtsi
@@ -61,3 +61,13 @@
        };
 };
 #endif
+
+/{
+       aliases {
+               wdog3 = &wdog3;
+       };
+};
+
+&wdog3 {
+       bootph-all;
+};

-- 
2.43.0

Reply via email to