From patchwork Fri Aug 1 02:45:55 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Feng Kan X-Patchwork-Id: 4660161 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.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2BAB09F36A for ; Fri, 1 Aug 2014 02:47:46 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B7042015E for ; Fri, 1 Aug 2014 02:47:45 +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 9A6E6201B9 for ; Fri, 1 Aug 2014 02:47:44 +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 1XD2rE-0006bO-2r; Fri, 01 Aug 2014 02:46:12 +0000 Received: from exprod5og124.obsmtp.com ([64.18.0.212]) by bombadil.infradead.org with smtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1XD2qX-000606-28 for linux-arm-kernel@lists.infradead.org; Fri, 01 Aug 2014 02:45:30 +0000 Received: from mail-pd0-f177.google.com ([209.85.192.177]) (using TLSv1) by exprod5ob124.postini.com ([64.18.4.12]) with SMTP ID DSNKU9r/MQ+zA06HkYcDFFKSyKEUQ4xHVbq9@postini.com; Thu, 31 Jul 2014 19:45:28 PDT Received: by mail-pd0-f177.google.com with SMTP id p10so4606801pdj.8 for ; Thu, 31 Jul 2014 19:45:05 -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=WdgtHV7y14uhYTQTxjfM64/hc4C/uit8Wm5QuwyHwYc=; b=RcSXcqM2sdIRchITV9EXaZC3ZDVOPT3i3Y4NxTyhTU1xXNZ8P6CQLu/+KI+yth1df3 4XEiUUIlwImJ+cbvN5N4S3kiZLSdWVovB7bnZllc8TnXrHP5KIwyZeRnprct6KdWMYBt xDoJae/Pe2ieo6XyVEJL8UisiC80rwIiLZYIwRKGNR8WBETSMTT1RmDIvmEj40W5JtOc 08UbWb3h4Fn10iiaA9JcAdxnN/WovmAm4M6V/BGU4xcsMpd5RQabeOnfU2uOD8bLHoGK RHC1Hh2XrDDJIDwGGB397mCpj+8t/wvCynVpC6GLIzHgfkHUHIOneQcZIeDcRof9jiIw tJPg== X-Gm-Message-State: ALoCoQkQT5iY8Z/CBmzQMmccBrvgxTkLejFG6UMB2YbO7WXLxJLxibMXBiMvP0rqzZg4AzUwucJaPNdrP+oZ7N/UHssNlCZeNpjvBkMs4O0H9h7tSlsJN/EyXGnKBb/2htqI1akAMlTpTgFYukLMhW+od8UExigi0A== X-Received: by 10.66.219.104 with SMTP id pn8mr2398111pac.133.1406861105544; Thu, 31 Jul 2014 19:45:05 -0700 (PDT) X-Received: by 10.66.219.104 with SMTP id pn8mr2398104pac.133.1406861105485; Thu, 31 Jul 2014 19:45:05 -0700 (PDT) Received: from fkan-lpt.amcc.com (63-147-59-2.dia.static.qwest.net. [63.147.59.2]) by mx.google.com with ESMTPSA id mt1sm6962352pbb.31.2014.07.31.19.45.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 31 Jul 2014 19:45:04 -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 Subject: [PATCH V9 4/6] arm64: dts: Add X-Gene reboot driver dts node Date: Thu, 31 Jul 2014 19:45:55 -0700 Message-Id: <1406861157-29169-5-git-send-email-fkan@apm.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1406861157-29169-1-git-send-email-fkan@apm.com> References: <1406861157-29169-1-git-send-email-fkan@apm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140731_194529_171142_DFBA3359 X-CRM114-Status: UNSURE ( 8.62 ) 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,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 ccd150a..3dfd1f4 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>; @@ -397,5 +402,12 @@ #clock-cells = <1>; clocks = <&rtcclk 0>; }; + + reboot: reboot@17000014 { + compatible = "syscon-reboot"; + regmap = <&scu>; + offset = <0x14>; + mask = <0x1>; + }; }; };