Skip to content

Commit 86c71c0

Browse files
jhovoldandersson
authored andcommitted
arm64: dts: qcom: x1e80100-yoga-slim7x: fix missing PCIe4 gpios
Add the missing PCIe4 perst, wake and clkreq GPIOs and pin config. Fixes: 45247fe ("arm64: dts: qcom: x1e80100: add Lenovo Thinkpad Yoga slim 7x devicetree") 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 750b8a3 commit 86c71c0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

arch/arm64/boot/dts/qcom/x1e80100-lenovo-yoga-slim7x.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -625,6 +625,12 @@
625625
};
626626

627627
&pcie4 {
628+
perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
629+
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
630+
631+
pinctrl-0 = <&pcie4_default>;
632+
pinctrl-names = "default";
633+
628634
status = "okay";
629635
};
630636

@@ -791,6 +797,29 @@
791797
bias-disable;
792798
};
793799

800+
pcie4_default: pcie4-default-state {
801+
clkreq-n-pins {
802+
pins = "gpio147";
803+
function = "pcie4_clk";
804+
drive-strength = <2>;
805+
bias-pull-up;
806+
};
807+
808+
perst-n-pins {
809+
pins = "gpio146";
810+
function = "gpio";
811+
drive-strength = <2>;
812+
bias-disable;
813+
};
814+
815+
wake-n-pins {
816+
pins = "gpio148";
817+
function = "gpio";
818+
drive-strength = <2>;
819+
bias-pull-up;
820+
};
821+
};
822+
794823
pcie6a_default: pcie6a-default-state {
795824
clkreq-n-pins {
796825
pins = "gpio153";

0 commit comments

Comments
 (0)