From patchwork Mon Nov 13 09:56:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rasmus Villemoes X-Patchwork-Id: 10055459 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 B9E5F60365 for ; Mon, 13 Nov 2017 09:57:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C803D29280 for ; Mon, 13 Nov 2017 09:57:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BD1A929290; Mon, 13 Nov 2017 09:57:06 +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 4CE1829280 for ; Mon, 13 Nov 2017 09:57:06 +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: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:In-Reply-To:References: List-Owner; bh=4VrAqMdjb9CRjE/C9OByNlamG2ZZrt2suY4uAyXF53E=; b=G91C//yQsm7uV5 b5ezZbVFO4tmd0ixt9J0U78ZrTrnWzP0KYu9/ySEC0T3OoFS4cctFSP8QLYC3roWMKMyfxbce9IUQ FJowCBX+56XNpcUnZhTcL3wR9X6wMWB3wqO5L96hKp15ZakPVrxyfdWIoXYQOHXWFEJhk/l/vSbi4 smynz/lDChUPyk3zEU9fFfe5576QOvQE1XO/p7ErIz5LWPZXObEzPavq6OVCWh80RfBF8Ix1SVnjB BHjQ8AjdM4ZnfZY1zvd0zMl5Q0j93EMWLMTMacS8oX0uvSk+ofLCUcLTVSy/aGbZWNM5K5Ub6j/rX 9vtGDQyOdFQVG1JcwalQ==; 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 1eEBUC-0007tC-WD; Mon, 13 Nov 2017 09:57:01 +0000 Received: from mail02.prevas.se ([62.95.78.10]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eEBU9-0007oQ-0Y for linux-arm-kernel@lists.infradead.org; Mon, 13 Nov 2017 09:56:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=prevas.dk; i=@prevas.dk; l=733; q=dns/txt; s=ironport2; t=1510567017; x=1542103017; h=from:to:cc:subject:date:message-id:mime-version; bh=vEpZcFxf/rTyk1Kr+WZ2D3ZQxH7fAYHJmGVB8XQvaOo=; b=teApghTXEIR0+vhn8IPX04blqElvi+vMX+VD1fgqyqzl2Up3hm0alsu9 Ncr0+GAsr12DLVkiS/+3A9Ky712GRvdySN1oGyrODOg1xE7nT3FlT6L4d WlrGRzmnbqZqOw30yv40d0LjNtqPn6G48q7NPERYbxwpPWF77douzwrVq I=; X-IronPort-AV: E=Sophos;i="5.44,388,1505772000"; d="scan'208";a="2674676" 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; 13 Nov 2017 10:56:27 +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; Mon, 13 Nov 2017 10:56:27 +0100 From: Rasmus Villemoes To: Rob Herring , Mark Rutland , Russell King Subject: [PATCH] arm: dts: ls1021a: add reboot node to .dtsi Date: Mon, 13 Nov 2017 10:56:20 +0100 Message-ID: <1510566980-26602-1-git-send-email-rasmus.villemoes@prevas.dk> X-Mailer: git-send-email 2.7.4 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-20171113_015657_406287_DCE80181 X-CRM114-Status: UNSURE ( 7.36 ) 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 9319e1f..3ff2b8a 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>;