Skip to content

Commit 0463923

Browse files
Mani-Sadhasivamandersson
authored andcommitted
ARM: dts: qcom: sdx55-t55: Enable PCIe RC support
Enable PCIe RC support on Thundercomm T55 board. Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> Signed-off-by: Bjorn Andersson <andersson@kernel.org> Link: https://lore.kernel.org/r/20230308082424.140224-10-manivannan.sadhasivam@linaro.org
1 parent f9364a7 commit 0463923

1 file changed

Lines changed: 42 additions & 0 deletions

File tree

arch/arm/boot/dts/qcom-sdx55-t55.dts

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,23 @@
242242
status = "okay";
243243
};
244244

245+
&pcie_phy {
246+
vdda-phy-supply = <&vreg_l1e_bb_1p2>;
247+
vdda-pll-supply = <&vreg_l4e_bb_0p875>;
248+
249+
status = "okay";
250+
};
251+
252+
&pcie_rc {
253+
perst-gpios = <&tlmm 57 GPIO_ACTIVE_LOW>;
254+
wake-gpios = <&tlmm 53 GPIO_ACTIVE_HIGH>;
255+
256+
pinctrl-0 = <&pcie_default>;
257+
pinctrl-names = "default";
258+
259+
status = "okay";
260+
};
261+
245262
&qpic_bam {
246263
status = "okay";
247264
};
@@ -265,6 +282,31 @@
265282
memory-region = <&mpss_adsp_mem>;
266283
};
267284

285+
&tlmm {
286+
pcie_default: pcie-default-state {
287+
clkreq-pins {
288+
pins = "gpio56";
289+
function = "pcie_clkreq";
290+
drive-strength = <2>;
291+
bias-pull-up;
292+
};
293+
294+
perst-pins {
295+
pins = "gpio57";
296+
function = "gpio";
297+
drive-strength = <2>;
298+
bias-pull-down;
299+
};
300+
301+
wake-pins {
302+
pins = "gpio53";
303+
function = "gpio";
304+
drive-strength = <2>;
305+
bias-pull-up;
306+
};
307+
};
308+
};
309+
268310
&usb_hsphy {
269311
status = "okay";
270312
vdda-pll-supply = <&vreg_l4e_bb_0p875>;

0 commit comments

Comments
 (0)