Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp5930667yba; Thu, 11 Apr 2019 08:35:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWOm9mQNwGKfb7TZBFpXiZf/Gsm6PcCXcpVO6EQIZ5dhL7B8D9DLZiojyj2Vw0A3WVd/QX X-Received: by 2002:a63:5c56:: with SMTP id n22mr36520198pgm.108.1554996958050; Thu, 11 Apr 2019 08:35:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554996958; cv=none; d=google.com; s=arc-20160816; b=NCyLd3GCtfG61C+O3XW4Inj+uASmflWefN6CZu1q6V6tnP/nMBiAlXMzIDxjs1JAX5 OOmMMmKcDuAuHG7wVYf5Rigkh4XMXqcChv7ccIDSpn6kFA/Sw9SxieBia0FKzzCQYapT YmbLADA3J5SdnRdaIMLmI1UlekR5Wfo8WrTusPFPBz3bWxW+cVMQzzM2mGokW+vdV044 XO7+sxst1Cw5cNDNmvXpZU3QcjEhY/+PJDS1ZR72hei+VG2GXk/FqHz4p00NEpCe+Y1D E61+zWJ4736RjEaznwiiC/3pmwGzt7g/6uusCoPJy/iLmc9ERXLiyqOwPsUWqLfu3f5y H5iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sOdMFyKk56d0w/J3QLL7NnLqGzBT/BCupV2Zgzm7Gwk=; b=m531J3VRjKTWBKnYN2gJn301GS79BbfdOr7N4VnJfXVLes0KBtSMLkgCZuHPW1AP/a NY8HXVQjKTB3VhpsGk3DXbG7SZsmxkbD5a3qmWxuzR7rLClM5h6FnGH4D0R5FZMKkBdX MXyZjBbdbRCvNtiP4jhWQpbtdMnFlZKsU7KiKgjlZUnKhfIraBmYKh5Tzfvi2UyRC0fV WtqxlUG8Xjwy3ZufP1e//GbM1+j4pKGmDJ6IhiqXNbWRZ5H5EgxeOF9wkpeRaNjo0ofO 2inMS7PEQ4UD9IMrMze3tbCbdIcqK/vXhJ9P8mErBrSuv2Z+Q3RD+rdBFb9zyYaIIPMM /JSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tELmZcya; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w61si36280523plb.160.2019.04.11.08.35.42; Thu, 11 Apr 2019 08:35:58 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tELmZcya; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726926AbfDKPel (ORCPT + 99 others); Thu, 11 Apr 2019 11:34:41 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:52414 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726646AbfDKPeZ (ORCPT ); Thu, 11 Apr 2019 11:34:25 -0400 Received: by mail-wm1-f67.google.com with SMTP id a184so7285366wma.2; Thu, 11 Apr 2019 08:34:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=sOdMFyKk56d0w/J3QLL7NnLqGzBT/BCupV2Zgzm7Gwk=; b=tELmZcyaPQzofEmpxbiQDhIybi2i/HblazXBf079I0m2PqR/XL7o4I0UdLwfjvlORK CjH8IxsbX8KXOp1EYE5RaI6VzkDXV3ziVudIFMFJ8lUNA+pf8VWPx2TjAqlU4iZPSgHy eouPPTmtS84GnDDlS7nYUfVu0gEUfqAQ6zSfcxKsUxR7BrkwU7TAfNWwi9DsSLCmVA/j zf0Ze1kdn6yEDCV9r1prdNagobudg7Jt2xuwgWr9D3BBEzO0f7G/yRJ1mu62VhIp5cHc yhHqSupfEVn0OdY9WIZHVAztZbk5J0VtSVa+gJ4tkvO0/hyw0KrzVScIQFeSAtUamb2m 9fUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=sOdMFyKk56d0w/J3QLL7NnLqGzBT/BCupV2Zgzm7Gwk=; b=oSkw43GPzjMiHalEv+iTwajPpS34sQN1rN3HTYtyPYZR+dXXyWchv6LWAZKVPz8HRz aVHDpf4TWuW53C9G6WsXD37ofN7+AInxtvWcyI3AS6o7Sfw6W75tkncJmqk4mAhMXgYL XyhI0d+6PVJQHvTxpxUUUJJ5qd6n8HNO7ElBCMnyaHfcVAMvGsmcnbWseOru0nt8zTvD pQYFuN/C1eCLQz8ZyzPW3D7wBdJJNY6RTLjcZUaa+bLMY/WdeSmYAJtG/Wjf5pAbWuik kVz/fJ9x5DPIntdKYGB/UTN8dtaeivZ3/U3x7k5QM5z7/hQ2c5SMNTLptz5i/zwZgOnW 2j5g== X-Gm-Message-State: APjAAAVmo04vA1x9sSgqKqlUlHgL2qbtMHaQtJApuvE2ZWga2gMFSvRd XaJL8lEAKaz9Y21B2a4w67M= X-Received: by 2002:a7b:c111:: with SMTP id w17mr7161627wmi.6.1554996863911; Thu, 11 Apr 2019 08:34:23 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::df7e:4a05]) by smtp.gmail.com with ESMTPSA id e12sm38327342wrt.94.2019.04.11.08.34.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Apr 2019 08:34:23 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Rob Herring , Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v2 1/3] arm64: dts: allwinner: h6: add watchdog node Date: Thu, 11 Apr 2019 17:45:32 +0200 Message-Id: <20190411154534.25563-2-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190411154534.25563-1-peron.clem@gmail.com> References: <20190411154534.25563-1-peron.clem@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Allwinner H6 has a watchog identical to A64 one. Declare it in the device tree but leave it disable with a comment as it is broken on some H6 revisions. Test has been performs on 3 boards. Chen-Yu Tsai boards: Pine H64 - H6 V200-AWIN H6448BA 7782 => OK OrangePi Lite 2 - H6 V200-AWIN H8068BA 61C2 => KO Clément Péron board: Beelink GS1 - H6 V200-AWIN H7309BA 6842 => KO Signed-off-by: Clément Péron --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index e0dc4a05c1ba..5c2f5451227b 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -208,6 +208,15 @@ reg = <0x03006000 0x400>; }; + watchdog: watchdog@30090a0 { + compatible = "allwinner,sun50i-a64-wdt", + "allwinner,sun6i-a31-wdt"; + reg = <0x030090a0 0x20>; + interrupts = ; + /* Broken on some H6 rev */ + status = "disabled"; + }; + pio: pinctrl@300b000 { compatible = "allwinner,sun50i-h6-pinctrl"; reg = <0x0300b000 0x400>; -- 2.17.1