Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4437336ybl; Mon, 9 Dec 2019 10:47:54 -0800 (PST) X-Google-Smtp-Source: APXvYqwkNCj1DnDSUELYk+WcVwChnzV/PpW5iaMUfxLqPqBIqIhxcNm/jUYmLBugbnU4X4tJqFSI X-Received: by 2002:aca:37d7:: with SMTP id e206mr450171oia.87.1575917274534; Mon, 09 Dec 2019 10:47:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575917274; cv=none; d=google.com; s=arc-20160816; b=G40haUbqfGz2WrcvXxciNTo6HdIMuQ6LYfDmYOTtR1gmgwKwpwcTpl+5WicTBc5ZO1 31s8jVwu+pnGgOUATRkffoakWtR9viR6yupN3iDfaBWm40EGCx9fwaDbh+3RbqD3I8FE tAhWfbz7ZO65KeHwK6wut5R7e9V3gfREBZRxe2x9ZXi+gAfLwNypHHi3k1frpEyg/F9q qenvruWZlyNSsoap3La1Fj4Pybm/awkkwM0MlPvkKkGIsLVE6bnDox03V68Ie5vlmOXs 4Jn+2d9saG0b5aPHHvOcLjQPNLBmU1EQ5hLIsCOlqXoQKhWfUzJf7pabo3sS/I9TvDRZ TphA== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=NDR2feZKRhfs3JyP+Ven7VtS8P6Uc4egVats5EaWKwI=; b=LQsp5IxkbifqjFiIEJ3xIml3IE2iAJgM1Z9wY0Km/yvPT+ZfWw3jRC9naO5Z5NpDFL K/itfUxUc5zYO0tdEZnPvyuxIhZSczOTZdYMNt5V8ciY/7XKKZwgSUQq76eLUmh1wCeQ vbIpzHyoszbpmbO5FwCWzQ3TWARcEV7tezc+vR1w7N/5CPUhVqv7i1PuujTw448hHqub hG9lVBo609ocEgxspKqFTgdtYHfhXhBjQ86uohhxVLXq4ghnDLajwIAl4j8hwrB1Ifs6 j/ga9ZvRQczD7hRdo9keui21S89nS5gqsdHQNf17MTqm6Z1lHpcwsENSgFDA7z+1uFX4 e9+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="WM/F0AlW"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v20si395052oia.159.2019.12.09.10.47.42; Mon, 09 Dec 2019 10:47:54 -0800 (PST) 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=@walle.cc header.s=mail2016061301 header.b="WM/F0AlW"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726335AbfLISrM (ORCPT + 99 others); Mon, 9 Dec 2019 13:47:12 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:59933 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726354AbfLISrM (ORCPT ); Mon, 9 Dec 2019 13:47:12 -0500 Received: from apollo.fritz.box (unknown [IPv6:2a02:810c:c200:2e91:6257:18ff:fec4:ca34]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id BE9BD23D22; Mon, 9 Dec 2019 19:47:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1575917228; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=NDR2feZKRhfs3JyP+Ven7VtS8P6Uc4egVats5EaWKwI=; b=WM/F0AlW16B4ujvetmPKXrnbnbcnIQB9QcMMt3wZH+zrE8mybt/upwGktTxG4w1uXOvqco ZD8W/LuUK7Dun9nrI+dsG+rvmtsvkgHsKFgGuZ8IX5RKjNjLezKISFoGDQoL+I3C1thKLK KC6ZFMBfuun39LBJJkYlDk6B9e1misE= From: Michael Walle To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Shawn Guo , Li Yang , Rob Herring , Mark Rutland , Michael Walle Subject: [PATCH v2] arm64: dts: ls1028a: fix reboot node Date: Mon, 9 Dec 2019 19:46:44 +0100 Message-Id: <20191209184644.14057-1-michael@walle.cc> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-Spam-Level: ****** X-Rspamd-Server: web X-Spam-Status: Yes, score=6.40 X-Spam-Score: 6.40 X-Rspamd-Queue-Id: BE9BD23D22 X-Spamd-Result: default: False [6.40 / 15.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TAGGED_RCPT(0.00)[dt]; MIME_GOOD(-0.10)[text/plain]; BROKEN_CONTENT_TYPE(1.50)[]; DKIM_SIGNED(0.00)[]; RCPT_COUNT_SEVEN(0.00)[8]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM(-0.00)[-0.689]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:31334, ipnet:2a02:810c::/31, country:DE]; SUSPICIOUS_RECIPS(1.50)[] X-Spam: Yes Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The reboot register isn't located inside the DCFG controller, but in its own RST controller. Fix it. Fixes: 8897f3255c9c ("arm64: dts: Add support for NXP LS1028A SoC") Signed-off-by: Michael Walle --- changes since v1: - add fixes tag - remove "ls1028a-rst" compatible string, because there is no actual driver for it. It just use the syscon driver. arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi index 8b28fda2ca20..7825550b7cef 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -88,7 +88,7 @@ reboot { compatible ="syscon-reboot"; - regmap = <&dcfg>; + regmap = <&rst>; offset = <0xb0>; mask = <0x02>; }; @@ -178,6 +178,12 @@ little-endian; }; + rst: syscon@1e60000 { + compatible = "syscon"; + reg = <0x0 0x1e60000 0x0 0x10000>; + little-endian; + }; + scfg: syscon@1fc0000 { compatible = "fsl,ls1028a-scfg", "syscon"; reg = <0x0 0x1fc0000 0x0 0x10000>; -- 2.20.1