]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
arm64: dts: qcom: qcs8300-ride: enable pcie1 interface
authorZiyue Zhang <ziyue.zhang@oss.qualcomm.com>
Fri, 28 Nov 2025 10:49:27 +0000 (18:49 +0800)
committerBjorn Andersson <andersson@kernel.org>
Mon, 5 Jan 2026 16:49:18 +0000 (10:49 -0600)
Add configurations in devicetree for PCIe1, board related gpios,
PMIC regulators, etc for qcs8300-ride platform.

Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: Ziyue Zhang <ziyue.zhang@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20251128104928.4070050-6-ziyue.zhang@oss.qualcomm.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/qcs8300-ride.dts

index e204dbd54f72c14a1d013e49dc57cb0cea63bc56..c04e0ad53eecf520484584f5a3f8187b8b2cf28a 100644 (file)
        status = "okay";
 };
 
+&pcie1 {
+       pinctrl-0 = <&pcie1_default_state>;
+       pinctrl-names = "default";
+
+       status = "okay";
+};
+
+&pcieport1 {
+       reset-gpios = <&tlmm 23 GPIO_ACTIVE_LOW>;
+       wake-gpios = <&tlmm 21 GPIO_ACTIVE_HIGH>;
+};
+
+&pcie1_phy {
+       vdda-phy-supply = <&vreg_l6a>;
+       vdda-pll-supply = <&vreg_l5a>;
+
+       status = "okay";
+};
+
 &qupv3_id_0 {
        status = "okay";
 };
                };
        };
 
+       pcie1_default_state: pcie1-default-state {
+               wake-pins {
+                       pins = "gpio21";
+                       function = "gpio";
+                       drive-strength = <2>;
+                       bias-pull-up;
+               };
+
+               clkreq-pins {
+                       pins = "gpio22";
+                       function = "pcie1_clkreq";
+                       drive-strength = <2>;
+                       bias-pull-up;
+               };
+
+               perst-pins {
+                       pins = "gpio23";
+                       function = "gpio";
+                       drive-strength = <2>;
+                       bias-pull-down;
+               };
+       };
+
        dp_hot_plug_det: dp-hot-plug-det-state {
                pins = "gpio94";
                function = "edp0_hot";