Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp61214ybc; Fri, 22 Nov 2019 16:09:02 -0800 (PST) X-Google-Smtp-Source: APXvYqxKppeP+tpV2RnIAU4+hftUD4Nr3MPobipehkJThkqV5RlSVhO4/F3LwjVL4KoHJwnXHdlX X-Received: by 2002:aa7:ca4a:: with SMTP id j10mr4595064edt.54.1574467742173; Fri, 22 Nov 2019 16:09:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574467742; cv=none; d=google.com; s=arc-20160816; b=Sm9+1XPD3pH5l+0HiV2CrXfeVOMBHmYhx3ijOhXR/QUT0JhR4V7iWvFC+HPCAZGuIe uDd645vyccliJYa/CN45CtPkbTts30OEPzKMdU9hVUAM+NP4oSDkI1h9on9Xyim1HED2 zLd7NT5vTLsgq3VlZeTMNdAeNQb/Re+0izb50KSbD9fARQorqER0m7WpFJ6Kj5RpMq7z DXUVk+T1a1vc4a4Dx+vbkl3t1R7kVAgO+ccwPmgtR7jjt6ZuyPQBKwQhv4eF/0VgcIot G6dk7zSJet6oCMsOUbRCwUT0gzZDnDkOg2jKAAvHILBfWR+bDo15sON08w4WWQzz8W5B 8KwQ== 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=Sgd6s1lFo4AdrnGcZEI5y3qvCZRfOyTVHDI2QhU1qMQ=; b=rLfDF7zdT7Cip8IbEs1FJBBMvw7esr9ZM9TzQmlh8mzJ8pl1PFG42la1XUYHF1D3qZ 0QO4FNK1ztZ9hB/YoibmVM2/nPhKHfMZUAuL43/VtRsE2PA/0tG2FvXolN/2352y1AeI q4EOoGxblRKIGWrtzPw/1iicLLTIu3KeXfP9LCHiZ1x0DTLOEmdnBTd3lwWvYGI5FVW1 +3Xmqw9dOVbVNjLMhoNVzlFDGYA4Heaoq8XxjmBIGFPsDctburCBQzFRDY23vzjScqPI D+ADi0WFXziblQM8yiYDe/BnD+pcHisWtFbOTt6xwDz+2fwuXQISBmRh9snsIR8YljBv 0mcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=B9t5JP5L; 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 x4si2454394edc.142.2019.11.22.16.08.37; Fri, 22 Nov 2019 16:09:02 -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=B9t5JP5L; 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 S1726875AbfKWAHZ (ORCPT + 99 others); Fri, 22 Nov 2019 19:07:25 -0500 Received: from ssl.serverraum.org ([176.9.125.105]:59923 "EHLO ssl.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726089AbfKWAHZ (ORCPT ); Fri, 22 Nov 2019 19:07:25 -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 (4096 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 809ED23CF6; Sat, 23 Nov 2019 01:07:20 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1574467641; 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=Sgd6s1lFo4AdrnGcZEI5y3qvCZRfOyTVHDI2QhU1qMQ=; b=B9t5JP5LI/jGhyJQ5pbVWs/8eQg8E1c6C/Uo5DKT9sy25g7Dof7WygGo1PEZF8BLvMa8Q/ z6NFofQ7VIR6uvoShgYUQ8SiakxMLHxD3sADgJC6mVv2doO6cKQzGR4uKstm/bnAWw9asW FluNIILlecrdru21TLdKC5FLkfL44cQ= 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] arm64: dts: ls1028a: fix reboot node Date: Sat, 23 Nov 2019 01:07:09 +0100 Message-Id: <20191123000709.13162-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: 809ED23CF6 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.636]; 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. Signed-off-by: Michael Walle --- 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 72b9a75976a1..dc75534a4754 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1028a.dtsi @@ -102,7 +102,7 @@ reboot { compatible ="syscon-reboot"; - regmap = <&dcfg>; + regmap = <&rst>; offset = <0xb0>; mask = <0x02>; }; @@ -161,6 +161,12 @@ big-endian; }; + rst: syscon@1e60000 { + compatible = "fsl,ls1028a-rst", "syscon"; + reg = <0x0 0x1e60000 0x0 0x10000>; + little-endian; + }; + scfg: syscon@1fc0000 { compatible = "fsl,ls1028a-scfg", "syscon"; reg = <0x0 0x1fc0000 0x0 0x10000>; -- 2.20.1