Skip to content

Commit 2ac90e4

Browse files
jhovoldandersson
authored andcommitted
arm64: dts: qcom: x1e80100-qcp: fix missing PCIe4 gpios
Add the missing PCIe4 perst, wake and clkreq GPIOs and pin config. Fixes: f9a9c11 ("arm64: dts: qcom: x1e80100-qcp: Enable more support") Cc: [email protected] # 6.9 Signed-off-by: Johan Hovold <[email protected]> Reviewed-by: Konrad Dybcio <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 12661b3 commit 2ac90e4

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

arch/arm64/boot/dts/qcom/x1e80100-qcp.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -660,6 +660,12 @@
660660
};
661661

662662
&pcie4 {
663+
perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
664+
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
665+
666+
pinctrl-0 = <&pcie4_default>;
667+
pinctrl-names = "default";
668+
663669
status = "okay";
664670
};
665671

@@ -804,6 +810,29 @@
804810
bias-disable;
805811
};
806812

813+
pcie4_default: pcie4-default-state {
814+
clkreq-n-pins {
815+
pins = "gpio147";
816+
function = "pcie4_clk";
817+
drive-strength = <2>;
818+
bias-pull-up;
819+
};
820+
821+
perst-n-pins {
822+
pins = "gpio146";
823+
function = "gpio";
824+
drive-strength = <2>;
825+
bias-disable;
826+
};
827+
828+
wake-n-pins {
829+
pins = "gpio148";
830+
function = "gpio";
831+
drive-strength = <2>;
832+
bias-pull-up;
833+
};
834+
};
835+
807836
pcie6a_default: pcie6a-default-state {
808837
clkreq-n-pins {
809838
pins = "gpio153";

0 commit comments

Comments
 (0)