Skip to content

Commit 646fe46

Browse files
committed
arm64: dts: qcom: shikra: Add download mode support
Add the SCM firmware node and TCSR syscon required to support download mode on Shikra. Signed-off-by: Komal Bajaj <komal.bajaj@oss.qualcomm.com>
1 parent f17b666 commit 646fe46

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/shikra.dtsi

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,15 @@
110110
};
111111
};
112112

113+
firmware {
114+
scm {
115+
compatible = "qcom,scm-shikra", "qcom,scm";
116+
qcom,dload-mode = <&tcsr_regs 0x2000>;
117+
interconnects = <&system_noc MASTER_CRYPTO_CORE0 RPM_ALWAYS_TAG
118+
&mc_virt SLAVE_EBI_CH0 RPM_ALWAYS_TAG>;
119+
};
120+
};
121+
113122
memory@a0000000 {
114123
device_type = "memory";
115124
/* We expect the bootloader to fill in the size */
@@ -329,6 +338,11 @@
329338
#hwlock-cells = <1>;
330339
};
331340

341+
tcsr_regs: syscon@3c0000 {
342+
compatible = "qcom,shikra-tcsr", "syscon";
343+
reg = <0x0 0x003c0000 0x0 0x40000>;
344+
};
345+
332346
tlmm: pinctrl@500000 {
333347
compatible = "qcom,shikra-tlmm";
334348
reg = <0x0 0x00500000 0x0 0x800000>;

0 commit comments

Comments
 (0)