From: Alice Guo <[email protected]>

Add wdog3 and wdog4 watchdog device tree nodes and their aliases to
support dynamic watchdog address lookup.

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

diff --git a/arch/arm/dts/imx943-u-boot.dtsi b/arch/arm/dts/imx943-u-boot.dtsi
index 2b93ba9a38b..0619bcd5475 100644
--- a/arch/arm/dts/imx943-u-boot.dtsi
+++ b/arch/arm/dts/imx943-u-boot.dtsi
@@ -4,6 +4,11 @@
  */
 
 / {
+       aliases {
+               wdog3 = &wdog3;
+               wdog4 = &wdog4;
+       };
+
        binman {
                multiple-images;
 
@@ -143,6 +148,18 @@
        bootph-all;
 };
 
+&aips4 {
+       bootph-all;
+
+       wdog4: watchdog@49230000 {
+               bootph-all;
+
+               compatible = "fsl,imx94-wdt", "fsl,imx93-wdt";
+               reg = <0x49230000 0x10000>;
+               status = "disabled";
+       };
+};
+
 &clk_ext1 {
        bootph-all;
 };
@@ -444,3 +461,7 @@
 &sram0 {
        bootph-all;
 };
+
+&wdog3 {
+       bootph-all;
+};

-- 
2.43.0

Reply via email to