diff --git a/qcom/kalama-pmic-overlay.dtsi b/qcom/kalama-pmic-overlay.dtsi index a63635ce..2469e295 100644 --- a/qcom/kalama-pmic-overlay.dtsi +++ b/qcom/kalama-pmic-overlay.dtsi @@ -64,6 +64,12 @@ }; &soc { + reboot_reason { + compatible = "qcom,reboot-reason"; + nvmem-cells = <&restart_reason>; + nvmem-cell-names = "restart_reason"; + }; + DBO3: regulator-dbo3 { compatible = "qti-regulator-fixed"; regulator-name = "dbo3"; diff --git a/qcom/pmk8550.dtsi b/qcom/pmk8550.dtsi index 575366c1..9403d803 100644 --- a/qcom/pmk8550.dtsi +++ b/qcom/pmk8550.dtsi @@ -36,7 +36,12 @@ compatible = "qcom,spmi-sdam"; reg = <0x7100>; #address-cells = <1>; - #size-celss = <1>; + #size-cells = <1>; + + restart_reason: restart@48 { + reg = <0x48 0x1>; + bits = <1 7>; + }; }; pmk8550_sdam_5: sdam@7400 {