Skip to content

Commit 42b33ad

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

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -756,6 +756,12 @@
756756
};
757757

758758
&pcie4 {
759+
perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
760+
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
761+
762+
pinctrl-0 = <&pcie4_default>;
763+
pinctrl-names = "default";
764+
759765
status = "okay";
760766
};
761767

@@ -931,6 +937,29 @@
931937
bias-disable;
932938
};
933939

940+
pcie4_default: pcie4-default-state {
941+
clkreq-n-pins {
942+
pins = "gpio147";
943+
function = "pcie4_clk";
944+
drive-strength = <2>;
945+
bias-pull-up;
946+
};
947+
948+
perst-n-pins {
949+
pins = "gpio146";
950+
function = "gpio";
951+
drive-strength = <2>;
952+
bias-disable;
953+
};
954+
955+
wake-n-pins {
956+
pins = "gpio148";
957+
function = "gpio";
958+
drive-strength = <2>;
959+
bias-pull-up;
960+
};
961+
};
962+
934963
pcie6a_default: pcie6a-default-state {
935964
clkreq-n-pins {
936965
pins = "gpio153";

0 commit comments

Comments
 (0)