Skip to content

Commit b970a4d

Browse files
Manikanta Mylavarapuandersson
authored andcommitted
arm64: dts: qcom: ipq5424: Enable PCIe PHYs and controllers
Enable the PCIe controller and PHY nodes corresponding to RDP466. The IPQ5424 RDP466 does not have a wake gpio because it does not support low power mode. It only supports a perst gpio. Signed-off-by: Manikanta Mylavarapu <[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 ab7f31a commit b970a4d

File tree

1 file changed

+40
-1
lines changed

1 file changed

+40
-1
lines changed

arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,32 @@
8282
dr_mode = "host";
8383
};
8484

85+
&pcie2 {
86+
pinctrl-0 = <&pcie2_default_state>;
87+
pinctrl-names = "default";
88+
89+
perst-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
90+
91+
status = "okay";
92+
};
93+
94+
&pcie2_phy {
95+
status = "okay";
96+
};
97+
98+
&pcie3 {
99+
pinctrl-0 = <&pcie3_default_state>;
100+
pinctrl-names = "default";
101+
102+
perst-gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
103+
104+
status = "okay";
105+
};
106+
107+
&pcie3_phy {
108+
status = "okay";
109+
};
110+
85111
&qusb_phy_0 {
86112
vdd-supply = <&vreg_misc_0p925>;
87113
vdda-pll-supply = <&vreg_misc_1p8>;
@@ -197,6 +223,20 @@
197223
bias-pull-up;
198224
};
199225
};
226+
227+
pcie2_default_state: pcie2-default-state {
228+
pins = "gpio31";
229+
function = "gpio";
230+
drive-strength = <8>;
231+
bias-pull-up;
232+
};
233+
234+
pcie3_default_state: pcie3-default-state {
235+
pins = "gpio34";
236+
function = "gpio";
237+
drive-strength = <8>;
238+
bias-pull-up;
239+
};
200240
};
201241

202242
&uart1 {
@@ -216,4 +256,3 @@
216256
&xo_board {
217257
clock-frequency = <24000000>;
218258
};
219-

0 commit comments

Comments
 (0)