From 18f11baa5a9cf124fc4c853a2f65569f87e55b2f Mon Sep 17 00:00:00 2001 From: David Collins Date: Tue, 4 Feb 2020 14:34:10 -0800 Subject: [PATCH] ARM: dts: qcom: add nvmem cell for PMK8350 SDAM2 restart reason Add an nvmem cell for the restart reason within PMIC PMK8350 SDAM2. This is used by the high-level OS to inform boot loaders of special actions to perform upon rebooting. Change-Id: Ifb0b247a1616ee1484360db28e1bb9900f33696f --- qcom/pmk8350.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/qcom/pmk8350.dtsi b/qcom/pmk8350.dtsi index 127ff74d5b85..00622806ceee 100644 --- a/qcom/pmk8350.dtsi +++ b/qcom/pmk8350.dtsi @@ -43,6 +43,13 @@ pmk8350_sdam_2: sdam@7100 { compatible = "qcom,spmi-sdam"; reg = <0x7100>; + #address-cells = <1>; + #size-cells = <1>; + + restart_reason: restart@48 { + reg = <0x48 0x1>; + bits = <1 7>; + }; }; pmk8350_gpios: pinctrl@b000 {