From 6ac7b21d2ef8a503c5d33a09ce59307565d1ce9d Mon Sep 17 00:00:00 2001 From: Kathiravan Thirumoorthy Date: Tue, 14 Jul 2026 09:59:17 +0530 Subject: [PATCH] arm64: dts: qcom: ipq9650-rdp488: enable PCIe support Enable the three dual-lane PCIe controllers supported on RDP488. Reviewed-by: Manivannan Sadhasivam Signed-off-by: Kathiravan Thirumoorthy Reviewed-by: Dmitry Baryshkov Link: https://patch.msgid.link/20260714-ipq9650_pcie-v1-2-4197749d06bd@oss.qualcomm.com Signed-off-by: Bjorn Andersson --- arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts | 119 ++++++++++++++++++++ 1 file changed, 119 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts b/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts index 6871f3dc4eaf..f6411a55c81e 100644 --- a/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts +++ b/arch/arm64/boot/dts/qcom/ipq9650-rdp488.dts @@ -5,6 +5,8 @@ /dts-v1/; +#include + #include "ipq9650.dtsi" / { @@ -20,6 +22,54 @@ }; }; +&pcie1 { + pinctrl-0 = <&pcie1_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie1_phy { + status = "okay"; +}; + +&pcie1_port0 { + reset-gpios = <&tlmm 28 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 29 GPIO_ACTIVE_LOW>; +}; + +&pcie2 { + pinctrl-0 = <&pcie2_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie2_phy { + status = "okay"; +}; + +&pcie2_port0 { + reset-gpios = <&tlmm 52 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 53 GPIO_ACTIVE_LOW>; +}; + +&pcie3 { + pinctrl-0 = <&pcie3_default_state>; + pinctrl-names = "default"; + + status = "okay"; +}; + +&pcie3_phy { + status = "okay"; +}; + +&pcie3_port0 { + reset-gpios = <&tlmm 41 GPIO_ACTIVE_LOW>; + wake-gpios = <&tlmm 42 GPIO_ACTIVE_LOW>; +}; + &sdhc { max-frequency = <192000000>; bus-width = <4>; @@ -36,6 +86,75 @@ }; &tlmm { + pcie1_default_state: pcie1-default-state { + clkreq-n-pins { + pins = "gpio27"; + function = "pcie1_clk_req_n"; + drive-strength = <8>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio28"; + function = "gpio"; + drive-strength = <8>; + bias-pull-down; + }; + + wake-n-pins { + pins = "gpio29"; + function = "pcie1_wake"; + drive-strength = <8>; + bias-pull-up; + }; + }; + + pcie2_default_state: pcie2-default-state { + clkreq-n-pins { + pins = "gpio51"; + function = "pcie2_clk_req_n"; + drive-strength = <8>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio52"; + function = "gpio"; + drive-strength = <8>; + bias-pull-down; + }; + + wake-n-pins { + pins = "gpio53"; + function = "pcie2_wake"; + drive-strength = <8>; + bias-pull-up; + }; + }; + + pcie3_default_state: pcie3-default-state { + clkreq-n-pins { + pins = "gpio40"; + function = "pcie3_clk_req_n"; + drive-strength = <8>; + bias-pull-up; + }; + + perst-n-pins { + pins = "gpio41"; + function = "gpio"; + drive-strength = <8>; + bias-pull-down; + }; + + wake-n-pins { + pins = "gpio42"; + function = "pcie3_wake"; + drive-strength = <8>; + bias-pull-up; + }; + }; + qup_uart1_default_state: qup-uart1-default-state { pins = "gpio43", "gpio44"; function = "qup_se6"; -- knotmirror 0.0.1