From patchwork Fri Nov 20 05:17:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alim Akhtar X-Patchwork-Id: 7664501 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3FA6A9F392 for ; Fri, 20 Nov 2015 05:23:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6373020483 for ; Fri, 20 Nov 2015 05:23:27 +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 9478A203A9 for ; Fri, 20 Nov 2015 05:23:26 +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 1Zze8c-000433-R6; Fri, 20 Nov 2015 05:21:34 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Zze8S-0003kW-O3 for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 05:21:27 +0000 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0NY302GWCLJ3DZ10@mailout3.samsung.com> for linux-arm-kernel@lists.infradead.org; Fri, 20 Nov 2015 14:21:03 +0900 (KST) Received: from epcpsbgm1new.samsung.com ( [172.20.52.124]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id 88.30.30395.FBDAE465; Fri, 20 Nov 2015 14:21:03 +0900 (KST) X-AuditID: cbfee68f-f79666d0000076bb-68-564eadbfd844 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1new.samsung.com (EPCPMTA) with SMTP id 93.4D.24993.EBDAE465; Fri, 20 Nov 2015 14:21:02 +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 <0NY300FUGLAIN310@mmp2.samsung.com>; Fri, 20 Nov 2015 14:21:02 +0900 (KST) From: Alim Akhtar To: linux-samsung-soc@vger.kernel.org Subject: [PATCH v3 4/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos5410 SoC Date: Fri, 20 Nov 2015 10:47:08 +0530 Message-id: <1447996629-18232-5-git-send-email-alim.akhtar@samsung.com> X-Mailer: git-send-email 1.7.10.4 In-reply-to: <1447996629-18232-1-git-send-email-alim.akhtar@samsung.com> References: <1447996629-18232-1-git-send-email-alim.akhtar@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsWyRsSkRnf/Wr8wgx8tYhbzj5xjtXjzdg2T xesXhhb9j18zW2x6fI3VYsb5fUwWL4/8YLRoW/2B1eL42nAHTo9bd+o9Nq3qZPO4c20Pm8fm JfUe/46xe2zpv8vu0bdlFaPH501yARxRXDYpqTmZZalF+nYJXBm75/YxFbRzVaxunMbWwLic o4uRk0NCwERi/tMOJghbTOLCvfVsXYxcHEICKxgl+vo+M8MUPXq0BswWEpjFKHF5ehxE0U9G ic1bbrGDJNgEtCXuTt8CNklEQFXic9sCdpAiZoFbjBKPtt1l7GLk4BAWiJLYM0UKpIYFqObA igcsIDavgLvEpSPLWSCWKUp0P5vABmJzCnhIbF+wlwlisbvEsfmvGUFmSgjsY5c4eH4GC8Qg AYlvkw+xgMyXEJCV2HQA6mhJiYMrbrBMYBRewMiwilE0tSC5oDgpvchYrzgxt7g0L10vOT93 EyMwHk7/e9a/g/HuAetDjAIcjEo8vDck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ma3z48P7B1q+MQrNqnuy XbCrUdB+Ol/F61/+S2437uG89WbNegn5FylTKsyTjHj3qJ3jDDuW4ezzO3a9r1xQi6Nshffq Gdwvnq6sV2Ipzkg01GIuKk4EAM1JdYbPAgAA 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-20151119_212125_158062_0E0EFF07 X-CRM114-Status: GOOD ( 10.52 ) X-Spam-Score: -7.5 (-------) 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: devicetree@vger.kernel.org, k.kozlowski@samsung.com, tjakobi@math.uni-bielefeld.de, ulf.hansson@linaro.org, m.reichl@fivetechno.de, javier@osg.samsung.com, kgene@kernel.org, linux-arm-kernel@lists.infradead.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.8 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 Reviewed-by: Krzysztof Kozlowski Acked-by: Moritz Fischer --- 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..fad0779b1b6e 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>; /* PS_HOLD_CONTROL */ + mask = <0x5200>; /* reset value */ + }; + + reboot: syscon-reboot { + compatible = "syscon-reboot"; + regmap = <&pmu_system_controller>; + offset = <0x0400>; /* SWRESET */ + mask = <0x1>; + }; + mct: mct@101C0000 { compatible = "samsung,exynos4210-mct"; reg = <0x101C0000 0xB00>;