From patchwork Sat Apr 25 08:19:40 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Piekos X-Patchwork-Id: 2050 Return-Path: X-Original-To: noreply@patchwork.local Delivered-To: noreply@patchwork.local Received: from sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mxe881.netcup.net (Postfix) with ESMTPS id 21D431C003B for ; Sat, 25 Apr 2026 10:20:42 +0200 (CEST) Authentication-Results: mxe881; dkim=fail header.d=mmpsystems.pl; spf=pass (sender IP is 104.64.211.4) smtp.mailfrom=linux-sunxi+bounces-22960-noreply=patchwork.local@lists.linux.dev smtp.helo=sin.lore.kernel.org Received-SPF: pass (mxe881: domain of lists.linux.dev designates 104.64.211.4 as permitted sender) client-ip=104.64.211.4; envelope-from=linux-sunxi+bounces-22960-noreply=patchwork.local@lists.linux.dev; helo=sin.lore.kernel.org; Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by sin.lore.kernel.org (Postfix) with ESMTP id 554003006835 for ; Sat, 25 Apr 2026 08:20:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C93D291864; Sat, 25 Apr 2026 08:20:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=mmpsystems.pl header.i=@mmpsystems.pl header.b="xoJLqkkQ" X-Original-To: linux-sunxi@lists.linux.dev Received: from s106b.cyber-folks.pl (s106b.cyber-folks.pl [195.78.66.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7110D29CE9; Sat, 25 Apr 2026 08:20:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.78.66.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777105233; cv=none; b=ZcnL8hjfpfQ8JTAFj7gATy8lZY5xhxzctc5/kpv39P7c5+1PLDIvWyGW0DGZ2JaexRdzy37a+2wbv1mD5afdu8qegeWT37ovcLU1I2BitFZZyK1WT33nCY0ttOCqg5J2WXUwjEO5CAD/PpTr07lYNKuzDO8hnNsij/CEO1yM5uo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1777105233; c=relaxed/simple; bh=6rULUYpY2mknKqA1TfHfaz2jSO4ja87Ku+5vnKG9jWI=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:To:Cc; b=Kq+BAKtOB2CiGo+RIKpoXEoN0o/FrawclSphmM6fqeWO9b/UO2oK1HJowqanOOhEs/7729X2V/rld7AN8kRj9u3+atCz/oQc9C7sEATTCtiy0ffL5w3DOigf+eHv4InYfoAxLzuSk8RRNyRA6p4RYkphl/B6azrdogVWsTW9nU8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mmpsystems.pl; spf=pass smtp.mailfrom=mmpsystems.pl; dkim=pass (2048-bit key) header.d=mmpsystems.pl header.i=@mmpsystems.pl header.b=xoJLqkkQ; arc=none smtp.client-ip=195.78.66.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=mmpsystems.pl Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mmpsystems.pl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mmpsystems.pl; s=x; h=Cc:To:Message-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:Subject:Date:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=77H82kI7dEYyg2WwlnQ3ymitG+32GA2zsOuxHnqBHNM=; b=xoJLqkkQjuw3W/n8FeUBsU77vL F88vRCLY/lCbMZiq869VVSqh8QGAqngnES81nsgPQpWHUCPIqn/OIq9cqAJf9eJ6h1HJ++EqKi0ud 9SMBhnHJnmSYjWfIoKi4qg/CV2GobjHzNRfDL24BTpT98FRkMvhTXAh1PzKkxwYNwub06sSJtqTdB M4DDi7jjRr4PxFzv6HJQ5q60URh1wmNR6Xo9T4wXedgps3P9sXdTbo/XsxeZ80OsLuPXzCpmTLvod Si9IpRf9vwiPIBOws6iboQEiYmElteeH5AM2yWxfEtqKZl3RoSgZGaq+fjPRfkYSw4CpifxVqH0aC Wo5u4wVw==; Received: from user-188-33-36-99.play-internet.pl ([188.33.36.99] helo=localhost) by s106.cyber-folks.pl with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wGYFX-00000007jmm-0qEx; Sat, 25 Apr 2026 10:20:27 +0200 From: Michal Piekos Date: Sat, 25 Apr 2026 10:19:40 +0200 Subject: [PATCH v2] arm: dts: allwinner: t113s: enable watchdog for reboot Precedence: bulk X-Mailing-List: linux-sunxi@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20260425-t113-mangopi-reboot-hang-v2-1-fd343207a4be@mmpsystems.pl> X-B4-Tracking: v=1; b=H4sIABt57GkC/42NSw6CMBCGr0Jm7Zh2VCKuvIdhAWWQJpY2nYZIS O9u4QQuv/+5gXC0LPCoNoi8WLF+LkCnCszUzW9GOxQGUlSrqyZMWl/QFccHi5F77xPuQTRN1ww 83omph1IPkUf7PaZfbeHJSvJxPZ4Wvat/jC4aNd6UIjN2NStjns4FWSWxk3P4QJtz/gHSh2fsx AAAAA== To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen-Yu Tsai , Jernej Skrabec , Samuel Holland Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Michal Piekos X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1777105189; l=1190; i=michal.piekos@mmpsystems.pl; s=20260301; h=from:subject:message-id; bh=6rULUYpY2mknKqA1TfHfaz2jSO4ja87Ku+5vnKG9jWI=; b=gFFthnoA2sVKwhTKhyPGfugGxsXISbKliHdFH1o+xU1MVWeBVxcu2MPV746gFWvtHprV6qACR wIFXFnYNdZlDWfNbj4RKdyHhwGSKf5kf2fFaEAXHmGMmawX8YxRyNfW X-Developer-Key: i=michal.piekos@mmpsystems.pl; a=ed25519; pk=Aixyx03If7ZDamiKKN0lsa+0mtA+WjIuIf2ZQVYNBqg= X-Authenticated-Id: michal.piekos@mmpsystems.pl X-Rspamd-Server: rspamd-worker-8404 X-Spamd-Result: default: False [-0.16 / 15.00]; BAYES_HAM(-5.50)[100.00%]; RBL_SENDERSCORE(2.00)[104.64.211.4:from]; SUSPICIOUS_RECIPS(1.50)[]; DMARC_POLICY_SOFTFAIL(1.00)[mmpsystems.pl : SPF not aligned (relaxed),none]; R_DKIM_REJECT(1.00)[mmpsystems.pl:s=x]; MAILLIST(-0.15)[generic]; MIME_GOOD(-0.10)[text/plain]; BAD_REP_POLICIES(0.10)[]; HAS_LIST_UNSUB(-0.01)[]; PRECEDENCE_BULK(0.00)[]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_RCPT(0.00)[dt]; DBL_BLOCKED_OPENRESOLVER(0.00)[sin.lore.kernel.org:rdns,sin.lore.kernel.org:helo,0.0.0.1:email]; FORGED_SENDER_MAILLIST(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; FROM_NEQ_ENVFROM(0.00)[michal.piekos@mmpsystems.pl,linux-sunxi@lists.linux.dev]; TAGGED_FROM(0.00)[bounces-22960-noreply=patchwork.local]; R_SPF_ALLOW(0.00)[+ip4:104.64.211.4]; DKIM_TRACE(0.00)[mmpsystems.pl:-]; TO_DN_SOME(0.00)[]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[104.64.211.4:from]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[100.90.174.1:received,195.78.66.88:received]; ARC_ALLOW(0.00)[subspace.kernel.org:s=arc-20240116:i=1]; RCPT_COUNT_SEVEN(0.00)[11]; RECEIVED_SPAMHAUS_PBL(0.00)[188.33.36.99:received]; ASN(0.00)[asn:63949, ipnet:104.64.192.0/19, country:SG]; FREEMAIL_TO(0.00)[kernel.org,gmail.com,sholland.org]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 21D431C003B X-MORS-Enabled: yes X-MORS-DOMAIN: patchwork.local X-MORS-HOSTING: hosting172546 X-MORS-USER: hosting172546 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= Reboot hangs on T113s boards because no restart handler is available. Enable the SoC watchdog whose driver registers a restart handler. Tested on MangoPi MQ-R T113s. Signed-off-by: Michal Piekos --- Changes in v2: - Moved watchdog enablement to SoC level dts following Jernej's suggestion - Link to v1: https://lore.kernel.org/r/20260412-t113-mangopi-reboot-hang-v1-1-5002cfa6e0cc@mmpsystems.pl --- arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) --- base-commit: 27d128c1cff64c3b8012cc56dd5a1391bb4f1821 change-id: 20260412-t113-mangopi-reboot-hang-c9a9def82e2b Best regards, diff --git a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi index 424f4a2487e2..d3bbed84eedb 100644 --- a/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi +++ b/arch/arm/boot/dts/allwinner/sun8i-t113s.dtsi @@ -34,6 +34,12 @@ cpu1: cpu@1 { }; }; + soc { + wdt { + status = "okay"; + }; + }; + gic: interrupt-controller@1c81000 { compatible = "arm,gic-400"; reg = <0x03021000 0x1000>,