Skip to content

Commit 21ad900

Browse files
committed
arm64: dts: qcom: shikra: Fix gpio-reserved-ranges to allow SPI5 access
GPIOs 14-17 are routed to the SPI5 bus on the Shikra EVK boards. These pins were incorrectly included in the tlmm gpio-reserved-ranges, preventing Linux from claiming the SPI5 controller. SPI5 is needed to support the ST33 discrete TPM connected to the EVK boards. Since there is no TZ use case for these pins, remove them from the reserved list in shikra-cqm-som.dtsi and shikra-iqs-som.dtsi. The CQS variant inherits this change via its include of one of these files. Fixes: 234030f ("arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm") Signed-off-by: Xueyao An <xueyao.an@oss.qualcomm.com> Link: https://lore.kernel.org/all/20260820085347.822-1-xueyao.an@oss.qualcomm.com/
1 parent dc0f4d4 commit 21ad900

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

arch/arm64/boot/dts/qcom/shikra-cqm-evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@
599599
};
600600

601601
&tlmm {
602-
gpio-reserved-ranges = <6 4>, <14 4>, <30 2>, <115 2>, <138 1>, <155 11>;
602+
gpio-reserved-ranges = <6 4>, <30 2>, <115 2>, <138 1>, <155 11>;
603603

604604
dmic_eldo_en_default: dmic-eldo-default-active-state {
605605
pins = "gpio71";

arch/arm64/boot/dts/qcom/shikra-cqs-evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@
522522
};
523523

524524
&tlmm {
525-
gpio-reserved-ranges = <6 4>, <14 4>, <30 2>, <115 2>, <138 1>, <155 11>;
525+
gpio-reserved-ranges = <6 4>, <30 2>, <115 2>, <138 1>, <155 11>;
526526

527527
dmic_eldo_en_default: dmic-eldo-default-active-state {
528528
pins = "gpio71";

arch/arm64/boot/dts/qcom/shikra-iqs-evk.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@
648648
};
649649

650650
&tlmm {
651-
gpio-reserved-ranges = <6 4>, <14 4>, <30 2>, <115 2>, <138 1>, <155 11>;
651+
gpio-reserved-ranges = <6 4>, <30 2>, <115 2>, <138 1>, <155 11>;
652652

653653
dmic_eldo_en_default: dmic-eldo-default-active-state {
654654
pins = "gpio71";

0 commit comments

Comments
 (0)