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/imx95-u-boot.dtsi | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/arch/arm/dts/imx95-u-boot.dtsi b/arch/arm/dts/imx95-u-boot.dtsi
index 6dec159752b..f4ce335e471 100644
--- a/arch/arm/dts/imx95-u-boot.dtsi
+++ b/arch/arm/dts/imx95-u-boot.dtsi
@@ -4,6 +4,11 @@
  */
 
 / {
+       aliases {
+               wdog3 = &wdog3;
+               wdog4 = &wdog4;
+       };
+
        binman {
                multiple-images;
 
@@ -138,6 +143,16 @@
 
 &aips2 {
        bootph-all;
+
+       wdog4: watchdog@424a0000 {
+               bootph-all;
+
+               compatible = "fsl,imx93-wdt";
+               reg = <0x424a0000 0x10000>;
+               clocks = <&scmi_clk IMX95_CLK_BUSWAKEUP>;
+               timeout-sec = <40>;
+               status = "disabled";
+       };
 };
 
 &aips3 {
@@ -238,3 +253,7 @@
 &scmi_buf1 {
        bootph-all;
 };
+
+&wdog3 {
+       bootph-all;
+};

-- 
2.43.0

Reply via email to