Skip to content

Commit 2961d45

Browse files
ziyuezhang-123Komal-Bajaj
authored andcommitted
FROMLIST: arm64: dts: qcom: qcs615-ride: Enable PCIe interface
Add configurations in devicetree for PCIe0, board related gpios, PMIC regulators, etc. Link: https://lore.kernel.org/all/20250507031559.4085159-5-quic_ziyuzhan@quicinc.com/ Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> Signed-off-by: Ziyue Zhang <quic_ziyuzhan@quicinc.com>
1 parent 64c07ba commit 2961d45

1 file changed

Lines changed: 41 additions & 1 deletion

File tree

arch/arm64/boot/dts/qcom/qcs615-ride.dts

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// SPDX-License-Identifier: BSD-3-Clause
22
/*
3-
* Copyright (c) 2024, Qualcomm Innovation Center, Inc. All rights reserved.
3+
* Copyright (c) 2024-2025, Qualcomm Innovation Center, Inc. All rights reserved.
44
*/
55
/dts-v1/;
66

@@ -271,6 +271,23 @@
271271
<&sleep_clk>;
272272
};
273273

274+
&pcie {
275+
perst-gpios = <&tlmm 101 GPIO_ACTIVE_LOW>;
276+
wake-gpios = <&tlmm 100 GPIO_ACTIVE_HIGH>;
277+
278+
pinctrl-0 = <&pcie_default_state>;
279+
pinctrl-names = "default";
280+
281+
status = "okay";
282+
};
283+
284+
&pcie_phy {
285+
vdda-phy-supply = <&vreg_l5a>;
286+
vdda-pll-supply = <&vreg_l12a>;
287+
288+
status = "okay";
289+
};
290+
274291
&pm8150_gpios {
275292
usb2_en: usb2-en-state {
276293
pins = "gpio10";
@@ -393,6 +410,29 @@
393410
drive-strength = <8>;
394411
};
395412
};
413+
414+
pcie_default_state: pcie-default-state {
415+
clkreq-pins {
416+
pins = "gpio90";
417+
function = "pcie_clk_req";
418+
drive-strength = <2>;
419+
bias-pull-up;
420+
};
421+
422+
perst-pins {
423+
pins = "gpio101";
424+
function = "gpio";
425+
drive-strength = <2>;
426+
bias-pull-down;
427+
};
428+
429+
wake-pins {
430+
pins = "gpio100";
431+
function = "gpio";
432+
drive-strength = <2>;
433+
bias-pull-up;
434+
};
435+
};
396436
};
397437

398438
&uart0 {

0 commit comments

Comments
 (0)