diff --git a/qcom/lahaina-pmic-overlay.dtsi b/qcom/lahaina-pmic-overlay.dtsi index a1a3bdd75643..8bd48c2a458b 100644 --- a/qcom/lahaina-pmic-overlay.dtsi +++ b/qcom/lahaina-pmic-overlay.dtsi @@ -228,3 +228,8 @@ }; }; }; + +&restart { + nvmem-cells = <&restart_reason>; + nvmem-cell-names = "restart_reason"; +}; diff --git a/qcom/lahaina.dtsi b/qcom/lahaina.dtsi index 201be24946dc..27fe0bdbf548 100644 --- a/qcom/lahaina.dtsi +++ b/qcom/lahaina.dtsi @@ -641,7 +641,7 @@ }; }; - restart@c264000 { + restart: restart@c264000 { compatible = "qcom,pshold"; reg = <0xc264000 0x4>, <0x1fd3000 0x4>; reg-names = "pshold-base", "tcsr-boot-misc-detect"; 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 {