From: Alice Guo <[email protected]>

Add wdog1 and wdog2 alias entries and introduce the wdog2 device node,
allowing the watchdog register base addresses to be obtained through
imx_wdog_alias_to_addr().

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

diff --git a/arch/arm/dts/imx7ulp.dtsi b/arch/arm/dts/imx7ulp.dtsi
index bcec98b9641..8795e3ae7e9 100644
--- a/arch/arm/dts/imx7ulp.dtsi
+++ b/arch/arm/dts/imx7ulp.dtsi
@@ -31,6 +31,8 @@
                serial2 = &lpuart6;
                serial3 = &lpuart7;
                usbphy0 = &usbphy1;
+               wdog1 = &wdog1;
+               wdog2 = &wdog2;
        };
 
        cpus {
@@ -295,6 +297,12 @@
                        clock-names = "divcore", "hsrun_divcore";
                };
 
+               wdog2: watchdog@40430000 {
+                       compatible = "fsl,imx7ulp-wdt";
+                       reg = <0x40430000 0x10000>;
+                       timeout-sec = <40>;
+               };
+
                pcc3: clock-controller@40b30000 {
                        compatible = "fsl,imx7ulp-pcc3";
                        reg = <0x40b30000 0x10000>;

-- 
2.43.0

Reply via email to