[PATCH 2/2] arm64: dts: amlogic: add watchdog node for A4 SoCs

Xianwei Zhao via B4 Relay devnull+xianwei.zhao.amlogic.com at kernel.org
Tue Jul 9 01:48:26 PDT 2024


From: Huqiang Qin <huqiang.qin at amlogic.com>

Add watchdog device.

Signed-off-by: Huqiang Qin <huqiang.qin at amlogic.com>
Signed-off-by: Xianwei Zhao <xianwei.zhao at amlogic.com>
---
 arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
index b6106ad4a072..496c3a2bcf25 100644
--- a/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
+++ b/arch/arm64/boot/dts/amlogic/amlogic-a4-common.dtsi
@@ -52,6 +52,12 @@ apb: bus at fe000000 {
 			#size-cells = <2>;
 			ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x480000>;
 
+			watchdog at 2100 {
+				compatible = "amlogic,a4-wdt", "amlogic,t7-wdt";
+				reg = <0x0 0x2100 0x0 0x10>;
+				clocks = <&xtal>;
+			};
+
 			uart_b: serial at 7a000 {
 				compatible = "amlogic,a4-uart",
 					     "amlogic,meson-s4-uart";

-- 
2.37.1





More information about the linux-arm-kernel mailing list