[PATCH v3 2/5] arm: dts: Add syscon-{reboot, poweroff} nodes for exynos4
Alim Akhtar
alim.akhtar at samsung.com
Thu Nov 19 21:17:06 PST 2015
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 at samsung.com>
Reviewed-by: Pankaj Dubey <pankaj.dubey at samsung.com>
Reviewed-by: Javier Martinez Canillas <javier at osg.samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski at samsung.com>
Tested-by: Tobias Jakobi <tjakobi at math.uni-bielefeld.de>
Acked-by: Moritz Fischer <moritz.fischer at ettus.com>
---
arch/arm/boot/dts/exynos4.dtsi | 14 ++++++++++++++
1 file changed, 14 insertions(+)
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 at 11C80000 {
compatible = "samsung,exynos4210-mipi-dsi";
reg = <0x11C80000 0x10000>;
--
1.7.10.4
More information about the linux-arm-kernel
mailing list