Skip to content

Commit 7593857

Browse files
Krishna chaitanya chundruquic-tingweiz
authored andcommitted
FORMLIST: arm64: dts: qcom: qcs615-ride: Enable PCIe interface
Add platform configurations in devicetree for PCIe, board related gpios, PMIC regulators, etc. Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Signed-off-by: Krishna chaitanya chundru <quic_krichai@quicinc.com> Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com> Link: https://lore.kernel.org/all/20250702103549.712039-4-ziyue.zhang@oss.qualcomm.com/
1 parent 479236a commit 7593857

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

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

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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";
@@ -310,6 +327,31 @@
310327
clocks = <&xo_board_clk>;
311328
};
312329

330+
&tlmm {
331+
pcie_default_state: pcie-default-state {
332+
clkreq-pins {
333+
pins = "gpio90";
334+
function = "pcie_clk_req";
335+
drive-strength = <2>;
336+
bias-pull-up;
337+
};
338+
339+
perst-pins {
340+
pins = "gpio101";
341+
function = "gpio";
342+
drive-strength = <2>;
343+
bias-pull-down;
344+
};
345+
346+
wake-pins {
347+
pins = "gpio100";
348+
function = "gpio";
349+
drive-strength = <2>;
350+
bias-pull-up;
351+
};
352+
};
353+
};
354+
313355
&sdhc_1 {
314356
pinctrl-0 = <&sdc1_state_on>;
315357
pinctrl-1 = <&sdc1_state_off>;

0 commit comments

Comments
 (0)