From patchwork Tue Sep 30 23:25:06 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 5008801 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.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id BA63BBEEA6 for ; Tue, 30 Sep 2014 23:28:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EE57E20165 for ; Tue, 30 Sep 2014 23:28:06 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1BE082018E for ; Tue, 30 Sep 2014 23:28:06 +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 1XZ6nf-00086D-M7; Tue, 30 Sep 2014 23:25:43 +0000 Received: from exprod5og103.obsmtp.com ([64.18.0.145]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XZ6nd-00082V-Oe for linux-arm-kernel@lists.infradead.org; Tue, 30 Sep 2014 23:25:42 +0000 Received: from mail-pa0-f42.google.com ([209.85.220.42]) (using TLSv1) by exprod5ob103.postini.com ([64.18.4.12]) with SMTP ID DSNKVCs75BSelI5x99jNd5dZ8VK86KDcGAEr@postini.com; Tue, 30 Sep 2014 16:25:41 PDT Received: by mail-pa0-f42.google.com with SMTP id bj1so7019pad.29 for ; Tue, 30 Sep 2014 16:25:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=iTWlHOFVTuKV9/XVGFRFQJeKHN5maNS7Yn663zjf1Sc=; b=haPXMQphdgZaDhBqt04w0PiOUfnV6cyF0OGtllxeiIbazYmWZQ88gFMxMI2UAxyjdx q5Hcl5rHsiZOLs618QCy1jETUa6ivkENjTm0R+ZEODcR/SqW1XW5eGq4299QteJrA3YN 26j4K+eKm2oPztosWisAvktQexUPPylROMTOxbAST2W4R5mzGNnuVrO3/hIDLTo4CNcl RmRwMS7T860WwMhDOYwjczC9GUlGA7jG6wUfHqoCQ4YyKvhEnrr/i/dbrJjtqvTLBt1X CV9fPV0KJt+PaMIHSbACYKfrrvpCJikN4FkKBL/ZeKj2H22er1VMLIAGVRK48b/JqQGJ vyhw== X-Gm-Message-State: ALoCoQmy0bok7MA2jmIDrzuwW3s8y+2PId2/UiaPbfohS3KBcWpkrlv7M8RipMBV1KZ0Obp5JkXFBOwWJmM0mJCJV8PaeVqcQNxKFBttTQzEItcDOco/ZPo91yUyt2Kcp15oR7IT7kyIKvuL1nOgG1aL7YhtfGqMkbU8URYQj4RquYzZaW3PpwY= X-Received: by 10.66.159.8 with SMTP id wy8mr73485902pab.17.1412119523868; Tue, 30 Sep 2014 16:25:23 -0700 (PDT) X-Received: by 10.66.159.8 with SMTP id wy8mr73485871pab.17.1412119523641; Tue, 30 Sep 2014 16:25:23 -0700 (PDT) Received: from fkan-lpt.amcc.com (67-207-112-226.static.wiline.com. [67.207.112.226]) by mx.google.com with ESMTPSA id qr1sm5876931pbc.50.2014.09.30.16.25.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 30 Sep 2014 16:25:23 -0700 (PDT) From: Feng Kan To: linux@roeck-us.net, dbaryshkov@gmail.com, catalin.marinas@arm.com, dwmw2@infradead.org, arnd@arndb.de, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, patches@apm.com, linux-pm@vger.kernel.org, will.deacon@arm.com Subject: [PATCH RESEND V9 4/6] arm64: dts: Add X-Gene reboot driver dts node Date: Tue, 30 Sep 2014 16:25:06 -0700 Message-Id: <1412119508-22864-5-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1412119508-22864-1-git-send-email-fkan@apm.com> References: <1412119508-22864-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140930_162541_838854_C86D2437 X-CRM114-Status: UNSURE ( 8.96 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.3 (--) Cc: Feng Kan X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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=-2.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, 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 Add X-Gene platform reboot driver dts node. Signed-off-by: Feng Kan --- arch/arm64/boot/dts/apm-storm.dtsi | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index f391972..cfde5f8 100644 --- a/arch/arm64/boot/dts/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm-storm.dtsi @@ -103,6 +103,11 @@ #size-cells = <2>; ranges; + scu: system-clk-controller@17000000 { + compatible = "apm,xgene-scu","syscon"; + reg = <0x0 0x17000000 0x0 0x400>; + }; + clocks { #address-cells = <2>; #size-cells = <2>; @@ -442,5 +447,11 @@ clocks = <&rngpkaclk 0>; }; + reboot: reboot@17000014 { + compatible = "syscon-reboot"; + regmap = <&scu>; + offset = <0x14>; + mask = <0x1>; + }; }; };