Jump to content

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


iav

Recommended Posts

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?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines