From patchwork Fri Nov 14 00:19:57 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 5301841 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 84771C11AC for ; Fri, 14 Nov 2014 00:23:11 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id BE355201C0 for ; Fri, 14 Nov 2014 00:23:10 +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 75B54201BB for ; Fri, 14 Nov 2014 00:23:08 +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 1Xp4dW-0004QG-Mb; Fri, 14 Nov 2014 00:21:14 +0000 Received: from exprod5og107.obsmtp.com ([64.18.0.184]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Xp4cj-0003La-R3 for linux-arm-kernel@lists.infradead.org; Fri, 14 Nov 2014 00:20:26 +0000 Received: from mail-pd0-f173.google.com ([209.85.192.173]) (using TLSv1) by exprod5ob107.postini.com ([64.18.4.12]) with SMTP ID DSNKVGVKtT63HL2416eqmC9zcQLgFc9GBMN/@postini.com; Thu, 13 Nov 2014 16:20:25 PST Received: by mail-pd0-f173.google.com with SMTP id v10so15580928pde.32 for ; Thu, 13 Nov 2014 16:20:04 -0800 (PST) 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=h7y9PJscmf9XqG9N8fofim8blxdiIhUNe7eAs2lvqkE=; b=V5vaA1Uaj/sa1wP1qJomeT87xQz+ogyjNocB2jk2N1cyingSq020fPqShV4FVPkOoY HN896gRu91hZSh7rvX7cekLBKlAGnEsfxeObp+a0B2ZV5nDnJpFK8FPiplHP0ipReb9S N69m5/AlsCZXfqnpdua6QXVMR5xzTXN4588RozEl3ickK4/tWgcgEgNa1as0bKDrnOSA 2P8YoGDjL15W2aVtwlNT6uEbJk1bbsc8cHmuS1VnGJAZLZrRVOIzl7AFok5ksZhn4G7S 5MKXAdr1h1cQ00FyIDsayC7dYW4tH/Hk+W0KvUfoctMxlABKpJxRX2MvtrCNoyli0H96 xsaQ== X-Gm-Message-State: ALoCoQmgoup8FVBAAlzG+zmj8zUjGJZ3jL/vTnGRM7/cYxck0wl6r1oS2QfSbcsNCfUbcpYAtzOpVQIFHmEiTp6DHvJMePyEyhm7Ma+CU+g0qm71g+5dvKgLZFwhDGO/vNhP3eSpXUNpsSkJMkSCNX1BZNqx89XvPcX+VqU7zqbdbrOtEJMBWtI= X-Received: by 10.66.145.234 with SMTP id sx10mr6386545pab.130.1415924404660; Thu, 13 Nov 2014 16:20:04 -0800 (PST) X-Received: by 10.66.145.234 with SMTP id sx10mr6386526pab.130.1415924404437; Thu, 13 Nov 2014 16:20:04 -0800 (PST) Received: from fkan-lpt.amcc.com (67-207-112-226.static.wiline.com. [67.207.112.226]) by mx.google.com with ESMTPSA id s6sm22045689pdr.95.2014.11.13.16.20.03 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 13 Nov 2014 16:20:03 -0800 (PST) From: Feng Kan To: patches@apm.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, =devicetree@vger.kernel.org Subject: [PATCH V2 3/7] arm64: dts: Add X-Gene reboot driver dts node Date: Thu, 13 Nov 2014 16:19:57 -0800 Message-Id: <1415924401-3013-4-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1415924401-3013-1-git-send-email-fkan@apm.com> References: <1415924401-3013-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20141113_162025_959790_FACFBC25 X-CRM114-Status: UNSURE ( 7.52 ) 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=-3.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_LOW, 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 | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apm-storm.dtsi b/arch/arm64/boot/dts/apm-storm.dtsi index 6b4c577..9a28d3a 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>; @@ -354,6 +359,13 @@ }; }; + reboot: reboot@17000014 { + compatible = "syscon-reboot"; + regmap = <&scu>; + offset = <0x14>; + mask = <0x1>; + }; + pcie0: pcie@1f2b0000 { status = "disabled"; device_type = "pci";