From 60a6dd19524dc45e4f8dc08db1e5c76d1b4bb644 Mon Sep 17 00:00:00 2001 From: Yogesh Lal Date: Thu, 12 Aug 2021 16:49:20 +0530 Subject: [PATCH 1/2] ARM: dts: msm: Add BOOT_CONFIG register offset for sdxlemur Add BOOT_CONFIG to support the EDL over PCIe for sdxlemur. Change-Id: Ia33b56d3bbb4e4bf4df1f6ac049b5b85d1938c5a --- qcom/sdxlemur-v2.dtsi | 5 +++++ qcom/sdxlemur.dtsi | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/qcom/sdxlemur-v2.dtsi b/qcom/sdxlemur-v2.dtsi index f2cadc6e4814..2d9f76145127 100644 --- a/qcom/sdxlemur-v2.dtsi +++ b/qcom/sdxlemur-v2.dtsi @@ -173,3 +173,8 @@ &pil_modem { qcom,vdd_mss-uV-uA = ; }; + + +&dload_mode { + qcom,boot-config-shift = <1 4>; +}; diff --git a/qcom/sdxlemur.dtsi b/qcom/sdxlemur.dtsi index 7187570188f5..84615c9ee0ed 100644 --- a/qcom/sdxlemur.dtsi +++ b/qcom/sdxlemur.dtsi @@ -196,8 +196,11 @@ }; }; - dload_mode { + dload_mode: dload_mode { compatible = "qcom,dload-mode"; + reg = <0x786070 0x4>; + reg-names = "boot-config"; + qcom,boot-config-shift = <1 3>; }; dcc: dcc_v2@117f000 { From 0a173e2445eb1e857f4bba0f371459649d8c7f0d Mon Sep 17 00:00:00 2001 From: Rohit Agarwal Date: Tue, 11 Jan 2022 10:55:48 +0530 Subject: [PATCH 2/2] bindings: power: reset: Add qcom-dload-mode bindings for SDX65 Add additional devicetree properties to qcom-dload-mode bindings for SDX65. Change-Id: I2671025430538c6f94c0d2a75eb6ff61f3a1b82f --- bindings/power/reset/qcom,dload-mode.yaml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/bindings/power/reset/qcom,dload-mode.yaml b/bindings/power/reset/qcom,dload-mode.yaml index 067d6eb2b032..ce65735c956b 100644 --- a/bindings/power/reset/qcom,dload-mode.yaml +++ b/bindings/power/reset/qcom,dload-mode.yaml @@ -16,6 +16,18 @@ properties: compatible: items: - const: qcom,dload-mode + reg: + Value type: + Definition: The base address and size for reading the proper configuration + related information. + + reg-names: + Value type: string + Definition: The reg name for reading the configurations. + + qcom,boot-config-shift: + Value type: + Definition: The range of bits from low to high. required: - compatible