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: 5008891 Return-Path: X-Original-To: patchwork-linux-pm@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 5EBE6BEEA6 for ; Tue, 30 Sep 2014 23:32:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ABA7C201C7 for ; Tue, 30 Sep 2014 23:32:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D99A02016C for ; Tue, 30 Sep 2014 23:32:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751074AbaI3Xcs (ORCPT ); Tue, 30 Sep 2014 19:32:48 -0400 Received: from exprod5og123.obsmtp.com ([64.18.0.198]:58837 "HELO exprod5og123.obsmtp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751047AbaI3Xcr (ORCPT ); Tue, 30 Sep 2014 19:32:47 -0400 Received: from mail-pa0-f50.google.com ([209.85.220.50]) (using TLSv1) by exprod5ob123.postini.com ([64.18.4.12]) with SMTP ID DSNKVCs9n036ptRCcKKmOtV1phLnajpRkYEH@postini.com; Tue, 30 Sep 2014 16:32:47 PDT Received: by mail-pa0-f50.google.com with SMTP id kx10so6259857pab.37 for ; Tue, 30 Sep 2014 16:32:46 -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=XNSriDOC8HG/XgBzgYOabYKsZ9oRQEqC1TIALlSfIMkLocZO1gXvkmBxNQTTrr7djY BKf2D5/dHQ72ZtmqBlyRyKqyhSxv5ZZIBXtQiONBqeA8NehX5xD0Llro9tUBwGD1wa72 5vdbKRtAPW+THabSmMFVH7+hGtkN3aFiRJreyLmVtyVeZ7/vGsITA7+x9ngKec5LfVzy QGEsl1ED1fV3VLMQQqg0mltMA0CKC+MYwp6q8IZgxqTGSEh48E2BnKURKIdhTN/TO1GE hp62mx9JyD9+K6SCrYUZbcxc0ovbiLRzuEbu+1du+gw7+T26KH1uFpSJUMmvXDx51yuQ Dn1g== X-Received: by 10.66.159.8 with SMTP id wy8mr73485886pab.17.1412119523712; Tue, 30 Sep 2014 16:25:23 -0700 (PDT) X-Gm-Message-State: ALoCoQkKXpQMm2kTWh2HTjFkKTQq2fZ1ZN6hSMuv1PuNH/4JX6BOnhHpLUWDLLhb+oicdQziM682uTFVUAoPk2WBO18Ym6Qo801ueFn32jZ6fK66lcCaFJrpXoQOPzdreccyb0KTG6HYywZ/pnwDmAUAJeuXqcURyQ== 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 Cc: Feng Kan 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> Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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>; + }; }; };