arm64: dts: qcom: ipq5424: Enable PCIe PHYs and controllers
authorManikanta Mylavarapu <quic_mmanikan@quicinc.com>
Wed, 16 Apr 2025 12:25:38 +0000 (17:55 +0530)
committerBjorn Andersson <andersson@kernel.org>
Mon, 19 May 2025 20:33:50 +0000 (15:33 -0500)
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 <quic_mmanikan@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250416122538.2953658-3-quic_mmanikan@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq5424-rdp466.dts

index 0fd0ebe0251d1cbcb50ea16307f952274589e6a6..1f89530cb0353898e0ac83e67dfd32721ede88f8 100644 (file)
        dr_mode = "host";
 };
 
+&pcie2 {
+       pinctrl-0 = <&pcie2_default_state>;
+       pinctrl-names = "default";
+
+       perst-gpios = <&tlmm 31 GPIO_ACTIVE_LOW>;
+
+       status = "okay";
+};
+
+&pcie2_phy {
+       status = "okay";
+};
+
+&pcie3 {
+       pinctrl-0 = <&pcie3_default_state>;
+       pinctrl-names = "default";
+
+       perst-gpios = <&tlmm 34 GPIO_ACTIVE_LOW>;
+
+       status = "okay";
+};
+
+&pcie3_phy {
+       status = "okay";
+};
+
 &qusb_phy_0 {
        vdd-supply = <&vreg_misc_0p925>;
        vdda-pll-supply = <&vreg_misc_1p8>;
                        bias-pull-up;
                };
        };
+
+       pcie2_default_state: pcie2-default-state {
+               pins = "gpio31";
+               function = "gpio";
+               drive-strength = <8>;
+               bias-pull-up;
+       };
+
+       pcie3_default_state: pcie3-default-state {
+               pins = "gpio34";
+               function = "gpio";
+               drive-strength = <8>;
+               bias-pull-up;
+       };
 };
 
 &uart1 {
 &xo_board {
        clock-frequency = <24000000>;
 };
-