diff --git a/qcom/cinder-pmic-overlay.dtsi b/qcom/cinder-pmic-overlay.dtsi index 78850813..19d15c78 100644 --- a/qcom/cinder-pmic-overlay.dtsi +++ b/qcom/cinder-pmic-overlay.dtsi @@ -73,3 +73,11 @@ }; }; }; + +&soc { + reboot_reason { + compatible = "qcom,reboot-reason"; + nvmem-cells = <&restart_reason>; + nvmem-cell-names = "restart_reason"; + }; +}; diff --git a/qcom/pm8150.dtsi b/qcom/pm8150.dtsi index fdece653..2fecb032 100644 --- a/qcom/pm8150.dtsi +++ b/qcom/pm8150.dtsi @@ -84,6 +84,13 @@ pm8150_sdam_2: sdam@b100 { compatible = "qcom,spmi-sdam"; reg = <0xb100>; + #address-cells = <1>; + #size-cells = <1>; + + restart_reason: restart@48 { + reg = <0x48 0x1>; + bits = <1 7>; + }; }; pm8150_vadc: vadc@3100 {