Skip to content

Commit a395b85

Browse files
Ziyue Zhangandersson
authored andcommitted
arm64: dts: qcom: Add PCIe3 and PCIe5 support for HAMOA-IOT-SOM platform
HAMOA IoT SOM requires PCIe3 and PCIe5 connectivity for SATA controller and SDX65. Add the required sideband signals (PERST#, WAKE#, CLKREQ#), pinctrl states and power supply properties in the device tree, which PCIe3 and PCIe5 require. Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com> Reviewed-by: Krishna Chaitanya Chundru <krishna.chundru@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260109104504.3147745-3-ziyue.zhang@oss.qualcomm.com Signed-off-by: Bjorn Andersson <andersson@kernel.org>
1 parent 960609b commit a395b85

1 file changed

Lines changed: 74 additions & 0 deletions

File tree

arch/arm64/boot/dts/qcom/hamoa-iot-som.dtsi

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -390,6 +390,20 @@
390390
firmware-name = "qcom/x1e80100/gen70500_zap.mbn";
391391
};
392392

393+
&pcie3 {
394+
pinctrl-0 = <&pcie3_default>;
395+
pinctrl-names = "default";
396+
397+
status = "okay";
398+
};
399+
400+
&pcie3_phy {
401+
vdda-phy-supply = <&vreg_l3c_0p8>;
402+
vdda-pll-supply = <&vreg_l3e_1p2>;
403+
404+
status = "okay";
405+
};
406+
393407
&pcie4 {
394408
perst-gpios = <&tlmm 146 GPIO_ACTIVE_LOW>;
395409
wake-gpios = <&tlmm 148 GPIO_ACTIVE_LOW>;
@@ -407,6 +421,20 @@
407421
status = "okay";
408422
};
409423

424+
&pcie5 {
425+
pinctrl-0 = <&pcie5_default>;
426+
pinctrl-names = "default";
427+
428+
status = "okay";
429+
};
430+
431+
&pcie5_phy {
432+
vdda-phy-supply = <&vreg_l3i_0p8>;
433+
vdda-pll-supply = <&vreg_l3e_1p2>;
434+
435+
status = "okay";
436+
};
437+
410438
&pcie6a {
411439
perst-gpios = <&tlmm 152 GPIO_ACTIVE_LOW>;
412440
wake-gpios = <&tlmm 154 GPIO_ACTIVE_LOW>;
@@ -453,6 +481,29 @@
453481
&tlmm {
454482
gpio-reserved-ranges = <34 2>; /* TPM LP & INT */
455483

484+
pcie3_default: pcie3-default-state {
485+
clkreq-n-pins {
486+
pins = "gpio144";
487+
function = "pcie3_clk";
488+
drive-strength = <2>;
489+
bias-pull-up;
490+
};
491+
492+
perst-n-pins {
493+
pins = "gpio143";
494+
function = "gpio";
495+
drive-strength = <2>;
496+
bias-disable;
497+
};
498+
499+
wake-n-pins {
500+
pins = "gpio145";
501+
function = "gpio";
502+
drive-strength = <2>;
503+
bias-pull-up;
504+
};
505+
};
506+
456507
pcie4_default: pcie4-default-state {
457508
clkreq-n-pins {
458509
pins = "gpio147";
@@ -476,6 +527,29 @@
476527
};
477528
};
478529

530+
pcie5_default: pcie5-default-state {
531+
clkreq-n-pins {
532+
pins = "gpio150";
533+
function = "pcie5_clk";
534+
drive-strength = <2>;
535+
bias-pull-up;
536+
};
537+
538+
perst-n-pins {
539+
pins = "gpio149";
540+
function = "gpio";
541+
drive-strength = <2>;
542+
bias-disable;
543+
};
544+
545+
wake-n-pins {
546+
pins = "gpio151";
547+
function = "gpio";
548+
drive-strength = <2>;
549+
bias-pull-up;
550+
};
551+
};
552+
479553
pcie6a_default: pcie6a-default-state {
480554
clkreq-n-pins {
481555
pins = "gpio153";

0 commit comments

Comments
 (0)