Jump to content

No watchdog on N2 with current (5.8) and dev (5.9) kernels


Go to solution Solved by chewitt,

Recommended Posts

Posted

Currently no /dev/watchdog device on N2 with -current and -dev armbian kkernel.

But watchdog present in -legacy.

 

I see meson-wdt kernel module present on image, I transplant meson_wdt segment from dts file of legacy kernel to dev and current.

diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
index 819afc748828..18990208f269 100644
--- a/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-g12b-odroid-n2.dts
@@ -226,6 +226,20 @@ hdmi_connector_in: endpoint {
 			};
 		};
 	};
+	
+	wdt: watchdog@0xffd0f0d0 {
+		compatible = "amlogic, meson-wdt";
+		status = "okay";
+		default_timeout=<10>;
+		reset_watchdog_method=<1>; /* 0:sysfs,1:kernel */
+		reset_watchdog_time=<2>;
+		shutdown_timeout=<10>;
+		firmware_timeout=<6>;
+		suspend_timeout=<6>;
+		reg = <0x0 0xffd0f0d0 0x0 0x10>;
+		clock-names = "xtal";
+		clocks = <&xtal>;
+	};
 
 	sound {
 		compatible = "amlogic,axg-sound-card";

No success.

No any sign watchdog presence.

 

What I miss?

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines