diff mbox

[2/2] ARM: dts: exynos4412-odroid-common: add reboot handler

Message ID 1414588409-8065-2-git-send-email-m.szyprowski@samsung.com
State New
Headers show

Commit Message

Marek Szyprowski Oct. 29, 2014, 1:13 p.m. UTC
This patch adds node which enables board-specific reboot/poweroff code.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 arch/arm/boot/dts/exynos4412-odroid-common.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
diff mbox

Patch

diff --git a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
index 4ebb5572d8d0..3544bb255e58 100644
--- a/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
+++ b/arch/arm/boot/dts/exynos4412-odroid-common.dtsi
@@ -32,6 +32,12 @@ 
 		};
 	};
 
+	odroid_reboot {
+		compatible = "hardkernel,odroid-reboot";
+		samsung,pmureg-phandle = <&pmu_system_controller>;
+		reset-gpios = <&gpk1 2 0>;
+	};
+
 	i2s0: i2s@03830000 {
 		pinctrl-0 = <&i2s0_bus>;
 		pinctrl-names = "default";