From 41f026ad7760ddfe99396e17ae21c7bc5f4101a2 Mon Sep 17 00:00:00 2001 From: Mukesh Ojha Date: Thu, 28 Oct 2021 13:14:14 +0530 Subject: [PATCH] ARM: dts: msm: Enable download/restart mode drivers for diwali Add download and restart mode drivers for device tree for download mode support. Change-Id: I71e1709b7b1828cd1d8adfd455c1587d75a43629 --- qcom/diwali-pmic-overlay.dtsi | 6 ++++++ qcom/diwali.dtsi | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/qcom/diwali-pmic-overlay.dtsi b/qcom/diwali-pmic-overlay.dtsi index 3c5230e8..1b5230df 100644 --- a/qcom/diwali-pmic-overlay.dtsi +++ b/qcom/diwali-pmic-overlay.dtsi @@ -91,6 +91,12 @@ }; &soc { + reboot_reason { + compatible = "qcom,reboot-reason"; + nvmem-cells = <&restart_reason>; + nvmem-cell-names = "restart_reason"; + }; + pmic-pon-log { compatible = "qcom,pmic-pon-log"; nvmem = <&pmk8350_sdam_5>; diff --git a/qcom/diwali.dtsi b/qcom/diwali.dtsi index c7c1332e..11be3cab 100644 --- a/qcom/diwali.dtsi +++ b/qcom/diwali.dtsi @@ -309,6 +309,7 @@ &firmware { qcom_scm { compatible = "qcom,scm"; + qcom,dload-mode = <&tcsr 0x13000>; }; qtee_shmbridge { @@ -673,6 +674,11 @@ #mbox-cells = <2>; }; + tcsr: syscon@1fc0000 { + compatible = "syscon"; + reg = <0x1fc0000 0x30000>; + }; + clocks { xo_board: xo_board { compatible = "fixed-clock";