Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp3059456yba; Sat, 18 May 2019 08:30:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqz8m8NPnFTej9DJ90IFjRTkEX6K1agZEJdh7WoJAf7yEmuZksCaryjVGany4SH/2IgKqtqq X-Received: by 2002:a63:1212:: with SMTP id h18mr14008127pgl.266.1558193423896; Sat, 18 May 2019 08:30:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558193423; cv=none; d=google.com; s=arc-20160816; b=dUomgHtMu1veNsK9aSPpadS2umnAU3LVa0FQvs1oyxA9fAEilX8V4gg4ZchAkRT96n +LPzkQ6z8K8r11nXKV8MYCkFZIxKsbCXEOS+w91g2OpcY4QLVg/2Vfs4Ou9qzhofwrcH spGJEliCZScwzhvmtyhwLJyQP6GE085OV6VfXza2GchDju58NpYRKa5dCpg4ZbsLATEe UVrRqwfUXxDVYaYBniD0c99yDysBZi0NjhB8pZVxJtGiN1K+L3CKOajm4yH7o7j+6R2b N3QQF30BcRsNFW2mutn0d7lOpF2eE90Qrp0/LSAewbvvXe8KmXHFddF9P8L243l3sVht nmFw== 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=Bb8Bn0y+CHkNYqfSnrMuHBOIqxCSSqYL5uC9ndXvfLI=; b=X8D0H9GSbYrrWTpRNvdYFQsMsUiXrFyRpgJTr28IvZA0TT2l5GcMU7B8AEUR1rmh4q yFry5pYfOzDGGhWJOz/KCAT6xEqLW00nsKywR/kf63sKRGaRUjyHd3nEHZqurhD+oE7N nGwkVpyOlYG3GxSIhcqEMmcn0SKeUwizxQCoijc3ADuGim8KQSRfsIcrleJ35M0dY0o9 ABLvUuwtCYWLz0ULZwYconrdsftN4ip/5A804ccu5WT/OnGWnxVcK3V20Jbf8GoiWkbi EmTY4QAy+TL/oDbu8l975EU5aNxjOC2GL42ZGUHh7Pd/38kuPgOqLZw8MQOOmybWgZBc jMWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=YJvJzE8B; 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 u28si12002570pga.131.2019.05.18.08.30.08; Sat, 18 May 2019 08:30:23 -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=YJvJzE8B; 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 S1729907AbfERPYL (ORCPT + 99 others); Sat, 18 May 2019 11:24:11 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:37601 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728028AbfERPYG (ORCPT ); Sat, 18 May 2019 11:24:06 -0400 Received: by mail-wr1-f65.google.com with SMTP id e15so10019702wrs.4; Sat, 18 May 2019 08:24:04 -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=Bb8Bn0y+CHkNYqfSnrMuHBOIqxCSSqYL5uC9ndXvfLI=; b=YJvJzE8B607TcqWfmR2HLQphkJm9SE3zbJRtpyjGKpWqRUoWvyYyXBNALxBeck8CZU wFpmPWFl7CXhTi3OP3/J3vFChLsmRGk5rKV93tGHhHHmwYmdbt+w7LQjwkp6SChh8ZOz KIhgvg+fN8iebcIEtx9myUJbkp8Pm0joy8NEuttW4o8IIebGLtBMmZd12VxDq68e8WRD cIR3SS+rC3yGYj0U9QZc00panRva8ZmQYzz3qt1Bqc12z/BV127bjkxtcZv1qturh1ab qclWPpzdWgLPz7a2B6sKdczS1011N+mSYyj6PmcVxngVVoTJY18rHzNLAs/Yg945AiUe v13A== 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=Bb8Bn0y+CHkNYqfSnrMuHBOIqxCSSqYL5uC9ndXvfLI=; b=ssZsmhqAUAV4GGJ0w63k51z7qFpBC7jYoJTh2jA5smyauP5OWjGuPvhPxwms5Z5YNP 9ps6nXzyA2zSgu//NnoKh+PvpqC4slAN/Xu2lzQfypkI5RAA0xmwrHWMz0qXgXvBBZGU VdgtbSfKlMPfRvvSr1kDBtSE02/4wyM4ayUitN+kJm/w0B+kGed2oEeKkHlN+v98QcyC j12HShF/Tluon9VnLeXnMlNwMp+a2yAwhFnIS+cKn2J7Nxw3mcdHq21wQ9KNs7FS+OyZ 1CuGoY5QUmrrgsaPvPqBk8J/lKtZAwcbFzVy2BUrUui8XN9m8XjUuj6arm2Tqp+LdXUr YLyQ== X-Gm-Message-State: APjAAAVD26lTYc46Z086nFHB1G70mCWE7O+xKr3j4nUSeVo4qo4m5W8b 9KUxngMGxQB9TiWKnz4Vx34= X-Received: by 2002:a5d:62c2:: with SMTP id o2mr19950394wrv.254.1558193043978; Sat, 18 May 2019 08:24:03 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:1f1:d0f0::4e2b:d7ca]) by smtp.gmail.com with ESMTPSA id j190sm12934836wmb.19.2019.05.18.08.24.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 May 2019 08:24:03 -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 v3 2/4] arm64: dts: allwinner: h6: add watchdog node Date: Sat, 18 May 2019 17:23:53 +0200 Message-Id: <20190518152355.11134-3-peron.clem@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190518152355.11134-1-peron.clem@gmail.com> References: <20190518152355.11134-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 | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index 16c5c3d0fd81..60b47f23b2f5 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -208,6 +208,16 @@ reg = <0x03006000 0x400>; }; + watchdog: watchdog@30090a0 { + compatible = "allwinner,sun50i-h6-wdt", + "allwinner,sun50i-a64-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.17.1