Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b6b681c1 authored by Guodong Xu's avatar Guodong Xu Committed by Wei Xu
Browse files

arm64: dts: hikey960: Add support for syscon-reboot-mode



Add support to hikey960 dts for the syscon-reboot-mode driver.

Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarGuodong Xu <guodong.xu@linaro.org>
Signed-off-by: default avatarWei Xu <xuwei5@hisilicon.com>
parent 313aebda
Loading
Loading
Loading
Loading
+14 −0
Original line number Original line Diff line number Diff line
@@ -39,6 +39,20 @@
		reg = <0x0 0x0 0x0 0x0>;
		reg = <0x0 0x0 0x0 0x0>;
	};
	};


	reboot-mode-syscon@32100000 {
		compatible = "syscon", "simple-mfd";
		reg = <0x0 0x32100000 0x0 0x00001000>;

		reboot-mode {
			compatible = "syscon-reboot-mode";
			offset = <0x0>;

			mode-normal	= <0x77665501>;
			mode-bootloader	= <0x77665500>;
			mode-recovery	= <0x77665502>;
		};
	};

	keys {
	keys {
		compatible = "gpio-keys";
		compatible = "gpio-keys";
		pinctrl-names = "default";
		pinctrl-names = "default";