Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752135AbbFBTT4 (ORCPT ); Tue, 2 Jun 2015 15:19:56 -0400 Received: from exprod5og113.obsmtp.com ([64.18.0.26]:37732 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751844AbbFBTT3 (ORCPT ); Tue, 2 Jun 2015 15:19:29 -0400 From: Tai Nguyen To: arm@kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@apm.com, jcm@redhat.com Cc: ttnguyen@apm.com, Feng Kan Subject: [PATCH 1/2 RESEND] power: reset: Add syscon reboot device node for APM X-Gene platform Date: Tue, 2 Jun 2015 12:19:06 -0700 Message-Id: <1433272747-27114-2-git-send-email-ttnguyen@apm.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1433272747-27114-1-git-send-email-ttnguyen@apm.com> References: <1433272747-27114-1-git-send-email-ttnguyen@apm.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1088 Lines: 38 This patch adds syscon reboot device node to support reboot feature on APM X-Gene platform Signed-off-by: Feng Kan Signed-off-by: Tai Nguyen --- arch/arm64/boot/dts/apm/apm-storm.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/apm/apm-storm.dtsi b/arch/arm64/boot/dts/apm/apm-storm.dtsi index c8d3e0e..16efcf7 100644 --- a/arch/arm64/boot/dts/apm/apm-storm.dtsi +++ b/arch/arm64/boot/dts/apm/apm-storm.dtsi @@ -710,5 +710,17 @@ dma-coherent; clocks = <&dmaclk 0>; }; + + scu: system-clk-controller@17000000 { + compatible = "apm,xgene-scu","syscon"; + reg = <0x0 0x17000000 0x0 0x400>; + }; + + reboot: reboot@17000014 { + compatible = "syscon-reboot"; + regmap = <&scu>; + offset = <0x14>; + mask = <0x1>; + }; }; }; -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/