Skip to content

Commit f740c82

Browse files
committed
dts: arm64: imx93: add watchdog device nodes
Add watchdog device nodes in i.MX93 A-Core dts. Signed-off-by: Jiafei Pan <[email protected]> Signed-off-by: Joe Zhou <[email protected]>
1 parent 396fa4e commit f740c82

File tree

1 file changed

+53
-1
lines changed

1 file changed

+53
-1
lines changed

dts/arm64/nxp/nxp_mimx93_a55.dtsi

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2022,2024 NXP
2+
* Copyright 2022, 2024-2025 NXP
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
@@ -80,6 +80,58 @@
8080
compatible = "nxp,imx-ccm-rev2";
8181
reg = <0x44450000 DT_SIZE_K(64)>;
8282
#clock-cells = <3>;
83+
84+
ext_clk: ext24m {
85+
/* WDOG ext clock: 24MHz */
86+
compatible = "fixed-clock";
87+
clock-frequency = <24000000>;
88+
#clock-cells = <0>;
89+
};
90+
91+
lpo_clk: lpo32k {
92+
/* WDOG LPO clock: 32KHz */
93+
compatible = "fixed-clock";
94+
clock-frequency = <32000>;
95+
#clock-cells = <0>;
96+
};
97+
98+
int_clk: int133m {
99+
/* WDOG int clock: 133MHz */
100+
compatible = "fixed-clock";
101+
clock-frequency = <133000000>;
102+
#clock-cells = <0>;
103+
};
104+
105+
ipg_clk: ipg133m {
106+
/* WDOG ipg clock: 133MHz */
107+
compatible = "fixed-clock";
108+
clock-frequency = <133000000>;
109+
#clock-cells = <0>;
110+
};
111+
};
112+
113+
wdog3: watchdog@42490000 {
114+
compatible = "nxp,wdog32";
115+
reg = <0x42490000 0x1000>;
116+
interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
117+
interrupt-parent = <&gic>;
118+
/* clk-source and clocks must aligned: 0-ipg_clk, 1-lpo_clk, 2-int_clk, 3-ext_clk */
119+
clocks = <&lpo_clk>;
120+
clk-source = <1>;
121+
clk-divider = <256>;
122+
status = "disabled";
123+
};
124+
125+
wdog4: watchdog@424a0000 {
126+
compatible = "nxp,wdog32";
127+
reg = <0x424a0000 0x1000>;
128+
interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>;
129+
interrupt-parent = <&gic>;
130+
/* clk-source and clocks must aligned: 0-ipg_clk, 1-lpo_clk, 2-int_clk, 3-ext_clk */
131+
clocks = <&lpo_clk>;
132+
clk-source = <1>;
133+
clk-divider = <256>;
134+
status = "disabled";
83135
};
84136

85137
gpio1: gpio@47400000 {

0 commit comments

Comments
 (0)