Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1889877ybm; Thu, 23 May 2019 08:12:34 -0700 (PDT) X-Google-Smtp-Source: APXvYqxPGmfKi5H9Rjg19GpD0B6wTvDqw1ysHKkjzxNwTR1Jc6YDB4tG2739KHEuhXbTHxeWGq5s X-Received: by 2002:a65:52c3:: with SMTP id z3mr45726971pgp.56.1558624353996; Thu, 23 May 2019 08:12:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558624353; cv=none; d=google.com; s=arc-20160816; b=IebL9ZBqAGv6zt8eVes7pEJwowPkZRSoCsNifrBm5tOGkT/c7sIfh97uYCJoy2EB7R vm1eugfjojqlGYzFr86+58HD/Rvk0VYhs/dh9pleJquOg6dTc0n/mEDJsp6BxJWqe6Yz 6kOB7UI03/GkEkSI6gij6pI4+UG+Mp9MoP0q9LnXJX2VXcex/CxDoZAP4cys2dpZAvjL Djmz+vbgiDosmf3hETuGD8+DEGRd2ulVoMmeP8BbRXqEc8KGyfnPj+Gl5ge0s/PvvYBg T06OwEmeMYA0O3KyNyYfnFYanEtG+52FbpJNQp8J+GEEaQUCUF20VmLksy+glMkf2RyH SImA== 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=gc5Q9HCaQ5rPgkj8KRzJTbdaxTJ0kW48gLvYL3xRMJ0=; b=MMSRkiis/wE4OXJof6mK/zpKKF2M/rwc40p16t/Kh37oIjYBVYkqpQH6oBLeJDdSfj C42OIJpZXWumepQfkpdOv/njC6DHjNMh6/xxkSWyC2AHB1hT9pG2ULJIczj3X40/HhQH jI/JoWfZTcOoaQXRprjbDRTm0FEaobX3cTgu0SDxu2qzqJ1+zXIdUFry31n/6hFJ/+ys 995F4uo4NuSpgP+wzg+MhDag8GVzJaOgGuBNsRO1LUrlnOC8PjLGHXA3Fn9udoCpaD2I Xh8gWJsQq+XAR0pF2TKbHysN3ucBeRB7wmtAVp9qgV2GvElPBDib+pp7Nsje7U4/OQM2 1OGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=M8xdb6wZ; 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 a24si27577220pgw.395.2019.05.23.08.12.14; Thu, 23 May 2019 08:12:33 -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=M8xdb6wZ; 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 S1730999AbfEWPLC (ORCPT + 99 others); Thu, 23 May 2019 11:11:02 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39507 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730756AbfEWPLA (ORCPT ); Thu, 23 May 2019 11:11:00 -0400 Received: by mail-wr1-f67.google.com with SMTP id w8so6699123wrl.6; Thu, 23 May 2019 08:10:58 -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=gc5Q9HCaQ5rPgkj8KRzJTbdaxTJ0kW48gLvYL3xRMJ0=; b=M8xdb6wZwYfZCgHc3Bw+Bw5y9J72T/s0dD3w/SIV1z+UVpKhQ0+QPXNjZDQJEcznfB ljIoX+5rCbr7ead2MGjgQHmGV+hAK+zKCuhTsOQQts4NWc6oIwQwWXQFze/rtiUCgNAZ BprM+1fpa9g+yedn7B7rv+3fSwcP5zdKtRV0r/wYe+umPZ7hhlMFqjB6z0mWLFHbm/og knKO72rDJlbe1v3dzfBs9+8hREUV7kGtlSJNzGOZp/D57uLOb1UtIRqy6FY6uyE17InL 2QivjhrymxxIIjHPK2w9Jc8QO1DunpEAxBHx5VRXo++XG+IaD8UuDtfbBbVSeUN8ZsXu oVug== 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=gc5Q9HCaQ5rPgkj8KRzJTbdaxTJ0kW48gLvYL3xRMJ0=; b=I7zIcADtlgYo14PzcZ9JyhgxuN0Z/ljUUZeVDwhUNXnCbQjG9LnPFL9aeOQav30q1I sy392+95Ii5ARs7G8W3b2ri2hhrYvkgF9rlePMAbqRaqJVmQwgsHIOicSiWOhk129CRx mq5XbAuPlml+0m+TCt9YXs+OUue+BxlZtSjweaBxTDXrgvd7Rv7Pg9jG9v1y1VjZ+tWL q/8jU+oyldjJ/UwVfR8PJLHWCQToghkmjZKc/4FwtfKFxEqcMTlWfOfr+k4p/Y/0KGHD 9I+81WbT+HgMslh/idRttb0osWt+WF4uMXVcFoYByLX5n4PxUh5T3Wr2LMVihfDJvH5f NyYg== X-Gm-Message-State: APjAAAUCjEaQFNrkooGSsIHlL7/H+JfyMqV1OgG/Pwj7Ekq9cNTy+oVG zkCS3Mj060G895xHF/dxERE= X-Received: by 2002:adf:a4d8:: with SMTP id h24mr3142017wrb.171.1558624258158; Thu, 23 May 2019 08:10:58 -0700 (PDT) Received: from localhost.localdomain (18.189-60-37.rdns.acropolistelecom.net. [37.60.189.18]) by smtp.gmail.com with ESMTPSA id q15sm11436324wrr.19.2019.05.23.08.10.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 May 2019 08:10:57 -0700 (PDT) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Wim Van Sebroeck , Guenter Roeck , Rob Herring , Mark Rutland , Maxime Ripard , Chen-Yu Tsai Cc: linux-watchdog@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v5 2/4] arm64: dts: allwinner: h6: add watchdog node Date: Thu, 23 May 2019 17:10:48 +0200 Message-Id: <20190523151050.27302-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190523151050.27302-1-peron.clem@gmail.com> References: <20190523151050.27302-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 node which seems broken on some boards. Test has been performed on several boards. Chen-Yu Tsai boards: Pine H64 - H6448BA 7782 => OK OrangePi Lite 2 - H8068BA 61C2 => KO Martin Ayotte boards: Pine H64 - H8069BA 6892 => OK OrangePi 3 - HA047BA 69W2 => KO OrangePi One Plus - H7310BA 6842 => KO OrangePi Lite2 - H6448BA 6662 => KO Clément Péron board: Beelink GS1 - H7309BA 6842 => KO As it seems not fixable for now, declare the node but leave it disable with a comment. 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 16c5c3d0fd81..13e70aebddbe 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-h6-wdt", + "allwinner,sun6i-a31-wdt"; + reg = <0x030090a0 0x20>; + interrupts = ; + /* Broken on some H6 boards */ + status = "disabled"; + }; + pio: pinctrl@300b000 { compatible = "allwinner,sun50i-h6-pinctrl"; reg = <0x0300b000 0x400>; -- 2.20.1