aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorStephen Gallimore <stephen.gallimore@st.com>2014-02-03 14:28:33 +0000
committerDaniel Thompson <daniel.thompson@linaro.org>2014-04-01 12:02:49 +0100
commit8cc33294db103fdf297b5ff838f3fccef1a6d324 (patch)
treed93331b0f9b41b45d670d67f4e40e47370a0b73e /arch
parent7011bc342f1e3a78c7f920b9f33d15b34d33f8e4 (diff)
downloadlinux-8cc33294db103fdf297b5ff838f3fccef1a6d324.tar.gz
drivers: reset: Reset controller driver for STiH415
This patch adds a reset controller platform driver for the STiH415 SoC. This initial version provides a compatible driver for the "st,stih415-powerdown" device, which registers a system configuration register based reset controller that controls the powerdown state of hardware such as the on-chip USB host controllers. Signed-off-by: Stephen Gallimore <stephen.gallimore@st.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/stih415.dtsi6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stih415.dtsi b/arch/arm/boot/dts/stih415.dtsi
index d9c7dd1d95a4..19e29f4af9d6 100644
--- a/arch/arm/boot/dts/stih415.dtsi
+++ b/arch/arm/boot/dts/stih415.dtsi
@@ -10,6 +10,7 @@
#include "stih415-clock.dtsi"
#include "stih415-pinctrl.dtsi"
#include <dt-bindings/interrupt-controller/arm-gic.h>
+#include <dt-bindings/reset-controller/stih415-resets.h>
/ {
L2: cache-controller {
@@ -28,6 +29,11 @@
ranges;
compatible = "simple-bus";
+ powerdown: powerdown-controller {
+ #reset-cells = <1>;
+ compatible = "st,stih415-powerdown";
+ };
+
syscfg_sbc: sbc-syscfg@fe600000{
compatible = "st,stih415-sbc-syscfg", "syscon";
reg = <0xfe600000 0xb4>;