arm64: dts: qcom: sm8650-qrd: add gpio74 as reserved gpio
authorNeil Armstrong <neil.armstrong@linaro.org>
Thu, 11 Jan 2024 16:58:49 +0000 (17:58 +0100)
committerBjorn Andersson <andersson@kernel.org>
Sun, 28 Jan 2024 17:55:00 +0000 (11:55 -0600)
The TLMM gpio74 is also used to communicate with the secure NFC
on-board module, some variants of the SM8650-QRD board requires
this GPIO to be dedicated to the secure firmware and set reserved
in order to successfully initialize the TLMM GPIOs from HLOS (Linux).
On the other boards this GPIO is unused so it's still safe to mark
the GPIO as reserved.

Fixes: a834911d50c1 ("arm64: dts: qcom: sm8650: add initial SM8650 QRD dts")
Reported-by: Georgi Djakov <djakov@kernel.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Elliot Berman <quic_eberman@quicinc.com>
Link: https://lore.kernel.org/r/20240111-topic-sm8650-upstream-qrd-fix-gpio-reserved-v1-1-fad39b4c5def@linaro.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/sm8650-qrd.dts

index 592a67a47c782f667cd48d8d8bcad7d457a84ee4..b9151c2ddf2e5ce7944bed07aa6864ccdc75f2a5 100644 (file)
 
 &tlmm {
        /* Reserved I/Os for NFC */
-       gpio-reserved-ranges = <32 8>;
+       gpio-reserved-ranges = <32 8>, <74 1>;
 
        bt_default: bt-default-state {
                bt-en-pins {