summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/exynos4.dtsi
diff options
context:
space:
mode:
authorAlim Akhtar <alim.akhtar@samsung.com>2015-10-20 14:54:41 +0530
committerKrzysztof Kozlowski <k.kozlowski@samsung.com>2015-11-20 15:55:46 +0900
commit6d19e1a12a838d64eec3211caa63d07966de4b35 (patch)
treeda54045706a328ba4babd7ccc0c71cff9e3505c7 /arch/arm/boot/dts/exynos4.dtsi
parent4fb1967242dbc90ac9aa2e5716bf22edfcc5aa9c (diff)
downloadlinux-6d19e1a12a838d64eec3211caa63d07966de4b35.tar.gz
linux-6d19e1a12a838d64eec3211caa63d07966de4b35.tar.bz2
linux-6d19e1a12a838d64eec3211caa63d07966de4b35.zip
ARM: dts: Add syscon-{reboot, poweroff} nodes for exynos4
This patch adds syscon-{reboot, poweroff} nodes to allow the generic syscon-{reboot, poweroff} driver to reset/poweroff exynos4 SoC. Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com> Reviewed-by: Pankaj Dubey <pankaj.dubey@samsung.com> Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com> Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Tested-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Diffstat (limited to 'arch/arm/boot/dts/exynos4.dtsi')
-rw-r--r--arch/arm/boot/dts/exynos4.dtsi14
1 files changed, 14 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/exynos4.dtsi b/arch/arm/boot/dts/exynos4.dtsi
index 3184e10f260a..07e10ee60bd8 100644
--- a/arch/arm/boot/dts/exynos4.dtsi
+++ b/arch/arm/boot/dts/exynos4.dtsi
@@ -158,6 +158,20 @@
interrupt-parent = <&gic>;
};
+ poweroff: syscon-poweroff {
+ compatible = "syscon-poweroff";
+ regmap = <&pmu_system_controller>;
+ offset = <0x330C>; /* PS_HOLD_CONTROL */
+ mask = <0x5200>; /* reset value */
+ };
+
+ reboot: syscon-reboot {
+ compatible = "syscon-reboot";
+ regmap = <&pmu_system_controller>;
+ offset = <0x0400>; /* SWRESET */
+ mask = <0x1>;
+ };
+
dsi_0: dsi@11C80000 {
compatible = "samsung,exynos4210-mipi-dsi";
reg = <0x11C80000 0x10000>;