From patchwork Tue Dec 5 08:12:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 10092421 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 306CF6035E for ; Tue, 5 Dec 2017 08:13:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 20EC32947F for ; Tue, 5 Dec 2017 08:13:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 148D929518; Tue, 5 Dec 2017 08:13:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 95FBC2947F for ; Tue, 5 Dec 2017 08:13:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Xh3MF2Fbznp0fhqre1xfULUZTxb7B3UHanJOgq8WrUU=; b=XGCwyuiXIppO6R lkHEp1+eFHryTwr+Sx0B4nWiwjP4UHnASCjRr4E3lbnqP0YZ+abD5/GYNDRDoiU16QreYdfV9T2F8 FQNwJc6/4GKrzF9Gqd5+VX7kRZDS4MN6xnBC46nGfY+6hepF2WafaZoF9SCIheQrXYDMPpdY1Nvk8 2L/JLD5LTwz4GYjRrrG6bKuuJunQijgMyn5zLdqC4kwGmJFoe9SfjfStM3KjjsBBy4v8uCF9xR7DB 34gtLF9Rss5YnP/Fs9TzEBy9vwvVQ3oFru9EM5G6+eHSLu5CHecLPtV6T59ZEF302cmD7qeaXvbm8 Uj1cWLHdyTLxV4sTUl9w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eM8ME-0001vI-8O; Tue, 05 Dec 2017 08:13:38 +0000 Received: from mail02.prevas.se ([62.95.78.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eM8MB-0001t5-4P for linux-arm-kernel@lists.infradead.org; Tue, 05 Dec 2017 08:13:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=743; q=dns/txt; s=ironport2; t=1512461615; x=1543997615; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version; bh=K4t+iW6MN1ZaiqJKwm1ciQNfT5csaNI5L+TrPYNMBSY=; b=HpLcf7RP3BKsijHkk2b/DNCkaLS+yUyL6AxteQi6voXf9SkQnzOj5rJw RZaqnU0lmU+d8NV1cyvhr2vlSil9Z50AwR0+nt2oggjM66YVJxFFG8VNp 9sRr+CktDZhXP958XiflYwRRHwV6HBrkzx6WghownROxuhgHNTe29ZmwH o=; X-IronPort-AV: E=Sophos;i="5.45,363,1508796000"; d="scan'208";a="2766046" Received: from vmprevas4.prevas.se (HELO smtp.prevas.se) ([172.16.8.104]) by ironport2.prevas.se with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 05 Dec 2017 09:13:03 +0100 Received: from prevas-ravi.prevas.se (172.16.8.31) by smtp.prevas.se (172.16.8.104) with Microsoft SMTP Server (TLS) id 14.3.361.1; Tue, 5 Dec 2017 09:13:03 +0100 From: Rasmus Villemoes To: Shawn Guo , Rob Herring , Mark Rutland , Russell King Subject: [PATCH resend] arm: dts: ls1021a: add reboot node to .dtsi Date: Tue, 5 Dec 2017 09:12:47 +0100 Message-ID: <1512461568-12102-1-git-send-email-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1510566980-26602-1-git-send-email-rasmus.villemoes@prevas.dk> References: <1510566980-26602-1-git-send-email-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 X-Originating-IP: [172.16.8.31] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171205_001335_538846_E6EC5426 X-CRM114-Status: UNSURE ( 7.81 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Rasmus Villemoes Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The LS1021A can be reset via the dcfg regmap in the same way as the arm64 layerscape SoCs, so add the corresponding DT node. Signed-off-by: Rasmus Villemoes --- arch/arm/boot/dts/ls1021a.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index 9319e1f0f1d8..3ff2b8a9f01a 100644 --- a/arch/arm/boot/dts/ls1021a.dtsi +++ b/arch/arm/boot/dts/ls1021a.dtsi @@ -108,6 +108,13 @@ ; }; + reboot { + compatible = "syscon-reboot"; + regmap = <&dcfg>; + offset = <0xb0>; + mask = <0x02>; + }; + soc { compatible = "simple-bus"; #address-cells = <2>;