Skip to content

arm: dts: Enable qcom,hwinfo & reboot mode node on shikra-iqs-evk variant - #107

Merged
Gopinath Sekar (g-sekar) merged 2 commits into
qualcomm-linux:qcom-nextfrom
aswinm94:shikra-dts
Aug 13, 2026
Merged

arm: dts: Enable qcom,hwinfo & reboot mode node on shikra-iqs-evk variant#107
Gopinath Sekar (g-sekar) merged 2 commits into
qualcomm-linux:qcom-nextfrom
aswinm94:shikra-dts

Conversation

@aswinm94

@aswinm94 aswinm94 commented Aug 12, 2026

Copy link
Copy Markdown

The qcom,hwinfo DT node is already present in
shikra-cqs-evk-u-boot.dtsi [1] and is used by FIT multi-DTB selection
(CONFIG_QCOM_FIT_MULTIDTB) to detect hardware parameters at boot
time. Add the same node with the required IMEM boot-cookie and
TCSR HW-version offsets to shikra-iqs-evk-u-boot.dtsi.

Similarly reboot mode node is used for reset -edl support

[1] https://github.com/qualcomm-linux/u-boot/blob/qcom-next/arch/arm/dts/shikra-cqs-evk-u-boot.dtsi

@aswinm94
aswinm94 force-pushed the shikra-dts branch 2 times, most recently from b5a749b to c01937d Compare August 12, 2026 16:17
@aswinm94 aswinm94 changed the title arm: dts: Enable qcom,hwinfo on shikra-iqs-evk variant arm: dts: Enable qcom,hwinfo & reboot mode node on shikra-iqs-evk variant Aug 12, 2026

@varada-qcom varada-qcom left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated things being combined in one patch. Please see if this should be split into more than 1 patch.

Add the "qcom,hwinfo" DT node with the appropriate IMEM boot-cookie
and TCSR HW-version offsets for each board, enabling FIT multi-DTB
selection (CONFIG_QCOM_FIT_MULTIDTB) to detect hardware parameters
at boot time.

Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>
Add a U-Boot device tree overlay for shikra-cqs-evk carrying a
"reboot-mode" subnode under the psci node, declaring "mode-edl" so that
"reset -edl" enters Qualcomm EDL/download mode via a PSCI SYSTEM_RESET2
vendor reset. The magic value <0x80000000 0x00000001> is reset_type =
0x80000000 (vendor bit set) with a cookie of 1.

Signed-off-by: Aswin Murugan <aswin.murugan@oss.qualcomm.com>
@aswinm94

Copy link
Copy Markdown
Author

Unrelated things being combined in one patch. Please see if this should be split into more than 1 patch.

varada-qcom, separated the changes into two commits

@g-sekar
Gopinath Sekar (g-sekar) merged commit 161cf6e into qualcomm-linux:qcom-next Aug 13, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants