Re: [PATCH v5 11/11] arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm
From: Komal Bajaj
Date: Tue Jul 07 2026 - 12:36:52 EST
On 7/2/2026 4:25 PM, Konrad Dybcio wrote:
On 7/2/26 11:50 AM, Komal Bajaj wrote:
Add gpio-reserved-ranges property to the tlmm node for all threeThese are generally added to prevent non-secure access upon TLMM
Shikra EVK variants (CQM, CQS, IQS) to mark GPIOs used by the
SoC internally and not available for general use.
probe, i.e. the board won't boot if some of them are not protected.
I assume the proposed set contains both ones that are _absolutely
forbidden_ for Linux to touch, but also ones that are dedicated to
some specific purpose that Linux _shouldn't_ touch.
Yes, some GPIOs are reserved for secure-world use and are therefore not accessible from the non-secure world.
I will update the commit message accordingly.
Please add comments, like in glymur-crd.dtsi:
gpio-reserved-ranges = <4 4>, /* EC TZ Secure I3C */
<10 2>, /* OOB UART */
<44 4>; /* Security SPI (TPM) */
explaining what these pins are.
Sure, will add this info.
Thanks
Komal
If any of them are boot-critical, squash this into the introductory
change
Konrad