Skip to content

Commit e7f3f3c

Browse files
jhovoldandersson
authored andcommitted
arm64: dts: qcom: x1e80100-vivobook-s15: fix missing PCIe4 gpios
Add the missing PCIe4 perst, wake and clkreq GPIOs and pin config. Fixes: d0e2f8f ("arm64: dts: qcom: Add device tree for ASUS Vivobook S 15") 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 d7ff5d1 commit e7f3f3c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

arch/arm64/boot/dts/qcom/x1e80100-asus-vivobook-s15.dts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,12 @@
430430
};
431431

432432
&pcie4 {
433+
perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
434+
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
435+
436+
pinctrl-0 = <&pcie4_default>;
437+
pinctrl-names = "default";
438+
433439
status = "okay";
434440
};
435441

@@ -524,6 +530,29 @@
524530
bias-disable;
525531
};
526532

533+
pcie4_default: pcie4-default-state {
534+
clkreq-n-pins {
535+
pins = "gpio147";
536+
function = "pcie4_clk";
537+
drive-strength = <2>;
538+
bias-pull-up;
539+
};
540+
541+
perst-n-pins {
542+
pins = "gpio146";
543+
function = "gpio";
544+
drive-strength = <2>;
545+
bias-disable;
546+
};
547+
548+
wake-n-pins {
549+
pins = "gpio148";
550+
function = "gpio";
551+
drive-strength = <2>;
552+
bias-pull-up;
553+
};
554+
};
555+
527556
pcie6a_default: pcie6a-default-state {
528557
clkreq-n-pins {
529558
pins = "gpio153";

0 commit comments

Comments
 (0)