The GPIO mappings on the IQS variant differ from the CQ variants. GPIO138 is connected to the RGMII1_RX_CTL pin rather than the NFC ESE Secure IO pin; the latter is connected to GPIO49. This incorrect reservation causes the probe of the second Ethernet port to fail: shikra-tlmm 500000.pinctrl: error -EINVAL: pin-138 (5d20000.ethernet) shikra-tlmm 500000.pinctrl: error -EINVAL: could not request pin 138 (GPIO_138) from group gpio138 on device 500000.pinctrl qcom-ethqos 5d20000.ethernet: Error applying setting, reverse things back Replace gpio138 with gpio49 in the reserved list. Fixes: 779aead2dace ("arm64: dts: qcom: shikra: Add gpio-reserved-ranges to tlmm") Signed-off-by: Mohd Ayaan Anwar --- arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi index e119ace54e588dca38c7c12fc99cc41d6623f690..c3f5fb84a07c425aef5ae36fc6e2842d87f4cae9 100644 --- a/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi +++ b/arch/arm64/boot/dts/qcom/shikra-iqs-som.dtsi @@ -220,7 +220,7 @@ pm8150_l18: l18 { &tlmm { gpio-reserved-ranges = <6 4>, /* Fingerprint SPI */ <30 2>, /* NFC SPI */ - <138 1>, /* NFC Secure IO */ + <49 1>, /* NFC Secure IO */ <155 11>; /* eMMC Boot */ sw_ctrl_default: sw-ctrl-default-state { -- 2.34.1