[PATCH v6 3/4] arm64: dts: qcom: sc7280: Add PCIe nodes for IDP board

From: Prasad Malisetty
Date: Thu Sep 09 2021 - 13:41:25 EST


Add PCIe and PHY nodes for sc7280 IDP board.

Signed-off-by: Prasad Malisetty <pmaliset@xxxxxxxxxxxxxx>
---
arch/arm64/boot/dts/qcom/sc7280-idp.dts | 39 +++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)

diff --git a/arch/arm64/boot/dts/qcom/sc7280-idp.dts b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
index 64fc22a..b249ca1 100644
--- a/arch/arm64/boot/dts/qcom/sc7280-idp.dts
+++ b/arch/arm64/boot/dts/qcom/sc7280-idp.dts
@@ -61,6 +61,45 @@
modem-init;
};

+&pcie1 {
+ status = "okay";
+
+ vdda-supply = <&vreg_l10c_0p8>;
+};
+
+&pcie1_phy {
+ status = "okay";
+
+ vdda-phy-supply = <&vreg_l10c_0p8>;
+ vdda-pll-supply = <&vreg_l6b_1p2>;
+};
+
+&pcie1_default_state {
+ clkreq {
+ bias-pull-up;
+ };
+
+ reset-n {
+ pins = "gpio2";
+ function = "gpio";
+
+ drive-strength = <16>;
+ output-low;
+ bias-disable;
+ };
+
+ wake-n {
+ drive-strength = <2>;
+ bias-pull-up;
+ };
+
+ nvme-n {
+ pins = "gpio19";
+ function = "gpio";
+ bias-pull-up;
+ };
+};
+
&pmk8350_vadc {
pmr735a_die_temp {
reg = <PMR735A_ADC7_DIE_TEMP>;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project