Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp898999ybl; Wed, 11 Dec 2019 09:13:22 -0800 (PST) X-Google-Smtp-Source: APXvYqzAPomOOogbfUuCWDBCQhB4P6Q6XMd5sHffDuobrXrX8PfyF4ZcBOhx5xgjQyNBcNBC9xtw X-Received: by 2002:aca:8d5:: with SMTP id 204mr3438064oii.141.1576084402051; Wed, 11 Dec 2019 09:13:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576084402; cv=none; d=google.com; s=arc-20160816; b=DmgVYjMUvvjuLVQJF1IzdlTy8g80sgQ54BDDpzoebJK2T/urNTQ8rMh9DvMdgdTHr3 H5dznG9fzkE/YbttC9TBrdrSiE/wF77Fv2vw/XNhp6zR/ZXsEHWfPyuA2/ZhaxK6j2Wz kc294tSwzcr/HpFGpPpgcF8R0SYTFRh/DY+D6uiCvjDNzUuioAt9ME6tao0l3xmsWeme ATJotkXdLpMdt7UzqrmoGevqcEW6ITLShVLk1y7wSI8Z7jG2SH3CN+N+3CdCiw/AfOvR I1QkFTaeNidk92/Gv84tiHzCqls0l4g91PntD71LssMqQfjqlSwaIYW9JiAKOHfVZBQb n3FA== 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=ohz81SjZe6gFLPc5Ph1X3XNnqxjcs7aG++kYioy2jnU=; b=hJbbbWjoD/+KP+L6n2oFWQ4OhYJJoC+vubKsG2VmGKm39B0+uTHb2FUfXOqjdwfIu9 ZzQygskPM48fuJwUadLrxN10VBjN3304VNoOj3O2ynj/rR4uJf65A1tSyfgOP4451X04 TlSV1m9T1jKmqfPUhdDAbVYzliejr4K4io750r9zL61weUz6cAVEO04sGo8grXE9mRay jXClO5yyZu4udbjAscEGzKI2P6Gcts6BOf6UT9qtBs+EWoZfCVa5DX6XogthpIuLISda 2OsRcSZG/cID789PZO2AkeOtIttar6CZ8WtRw2aD7U5bRxcutBzAMwTj5yKKH89c0ycA ZBfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b="V4+/p/si"; 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 d20si1474635otq.157.2019.12.11.09.13.09; Wed, 11 Dec 2019 09:13:22 -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="V4+/p/si"; 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 S1730832AbfLKRMO (ORCPT + 99 others); Wed, 11 Dec 2019 12:12:14 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:59149 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730612AbfLKRMO (ORCPT ); Wed, 11 Dec 2019 12:12:14 -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 3B76F23E21; Wed, 11 Dec 2019 18:12:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1576084331; 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=ohz81SjZe6gFLPc5Ph1X3XNnqxjcs7aG++kYioy2jnU=; b=V4+/p/sisQZV37Uda6bmGtr3rqwlyMYtZw0lEk9rD8fQ7L9LHkRfmp4mbhjOFXgARBr8yu QBA+eteWJMakBFePbrZId5JlCDs1ulzRHISzb68qdMm/9XyEo+Kfw+OQquA30AkGGCZmsF fRXeWQQVdqS9YOV5WSH4W/sUerWjmBo= 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 v3] arm64: dts: ls1028a: fix reboot node Date: Wed, 11 Dec 2019 18:11:45 +0100 Message-Id: <20191211171145.14736-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: 3B76F23E21 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 v2: - rebase to shawnguo/linux/for-next 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 261663f4a2db..301a76e441fc 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 @@ big-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