[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1430511074-32229-2-git-send-email-ttnguyen@apm.com>
Date: Fri, 1 May 2015 13:11:13 -0700
From: Tai Nguyen <ttnguyen@....com>
To: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
patches@....com
Cc: ttnguyen@....com, Feng Kan <fkan@....com>
Subject: [PATCH 1/2] power: reset: Add syscon reboot device node for APM X-Gene platform
This patch adds syscon reboot device node to support reboot feature on APM X-Gene platform
Signed-off-by: Feng Kan <fkan@....com>
Signed-off-by: Tai Nguyen <ttnguyen@....com>
---
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@...00000 {
+ compatible = "apm,xgene-scu","syscon";
+ reg = <0x0 0x17000000 0x0 0x400>;
+ };
+
+ reboot: reboot@...00014 {
+ 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists