From patchwork Mon Oct 19 06:03:52 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7433541 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 74FC1BEEA4 for ; Mon, 19 Oct 2015 06:18:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 97CF9206FF for ; Mon, 19 Oct 2015 06:17:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C5D2A20693 for ; Mon, 19 Oct 2015 06:17:58 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zo3kF-0004WW-8u; Mon, 19 Oct 2015 06:16:31 +0000 Received: from mailout2.samsung.com ([203.254.224.25]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zo3kB-0004At-Vy for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 06:16:28 +0000 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NWG020H0EQSDG30@mailout2.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 19 Oct 2015 15:16:04 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.124]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 73.0F.05274.3AA84265; Mon, 19 Oct 2015 15:16:04 +0900 (KST) X-AuditID: cbfee68d-f79ae6d00000149a-af-56248aa338db Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 51.DE.23663.3AA84265; Mon, 19 Oct 2015 15:16:03 +0900 (KST) Received: from exypnos.sisodomain.com ([107.108.73.28]) by mmp2.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0NWG00FF4ELI8NA0@mmp2.samsung.com>; Mon, 19 Oct 2015 15:16:03 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH 4/7] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC Date: Mon, 19 Oct 2015 11:33:52 +0530 Message-id: <1445234635-3950-5-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1445234635-3950-1-git-send-email-alim.akhtar@samsung.com> References: <1445234635-3950-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGLMWRmVeSWpSXmKPExsWyRsSkRndJl0qYwc4/zBbzj5xjtXjzdg2T xesXhhb9j18zW2x6fI3VYsb5fUwObB6bVnWyeWxeUu+xpf8uu0ffllWMHp83yQWwRnHZpKTm ZJalFunbJXBlTPr/gLXgFXvFxA8rmBsYV7J1MXJySAiYSNy8O5UdwhaTuHBvPVCci0NIYAWj xML+Y6wwRXsXtEMlZjFKXDi1gxHC+ckocaD3LAtIFZuAtsTd6VuYQGwRAVWJz20L2EGKmAU6 GSWWnLkBlhAWCJeYe+EN2G4WoKJ9E18xg9i8Am4SU/5vZoRYpyjR/WwCWA2ngLvE4T2tYDVC QDXLDzeCnSEh0M8ucePHIRaIQQIS3yaD2BxACVmJTQeYIeZIShxccYNlAqPwAkaGVYyiqQXJ BcVJ6UWGesWJucWleel6yfm5mxiBwX3637PeHYy3D1gfYhTgYFTi4TVoUgkTYk0sK67MPcRo CrRhIrOUaHI+MIbySuINjc2ML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OD1K8+t9b9pfUXn1kuNHw3yfyqxFGckGmoxFxUnAgDl+bT1tgIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151018_231628_190402_3C935A2C X-CRM114-Status: GOOD ( 10.64 ) X-Spam-Score: -6.9 (------) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: javier@osg.samsung.com, k.kozlowski@samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos5410 SoC. Signed-off-by: Alim Akhtar Reviewed-by: Pankaj Dubey Reviewed-by: Javier Martinez Canillas --- arch/arm/boot/dts/exynos5410.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/exynos5410.dtsi b/arch/arm/boot/dts/exynos5410.dtsi index 731eefd23fa9..b9bef8b5ffc9 100644 --- a/arch/arm/boot/dts/exynos5410.dtsi +++ b/arch/arm/boot/dts/exynos5410.dtsi @@ -102,6 +102,20 @@ reg = <0x10040000 0x5000>; }; + poweroff: syscon-poweroff { + compatible = "syscon-poweroff"; + regmap = <&pmu_system_controller>; + offset = <0x330C>; + mask = <0x5200>; + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; + mask = <0x1>; + }; + mct: mct@101C0000 { compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0xB00>;