From nobody Wed Oct 8 20:55:43 2025 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AE7312BEFEA; Wed, 25 Jun 2025 09:26:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=205.220.180.131 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750843564; cv=none; b=DJIuwqIINFlGBT7O0VMFtNITCX7KSsqZezdGwSJbExuaUcgvL30T+dJKkvuYuuSCMHaDKosemogrX0kFhIVUMaSOmmv7MAHWmsLl8yqkEJnJ1TDGmrgSa5QQwJ3sJGfb4nIPmza3nkKcnS3ryTgViu01Vta+xucbreO6qyZwRLQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750843564; c=relaxed/simple; bh=E+SLTyf0QleKG47M88DnrV+Nv1gi3mNDmYCGAjbIcLw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ub6n9RfJAsgghQGS0GQftalLaW1AB7n42kxBbatYarES8OiCOhwnW0QiXCajQuRlHIMS0+0PDDg9V9QXmxvJ1TlbPT6uACA7c6zMhdOXrFZ3Nc/QG7os0PzB4Ic4RHrY7OAvjNMTuPAaSgXed42IySXHQekcOahR2scBG8FlKKk= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com; spf=pass smtp.mailfrom=qualcomm.com; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b=cB7+PMpQ; arc=none smtp.client-ip=205.220.180.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=quicinc.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=qualcomm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quicinc.com header.i=@quicinc.com header.b="cB7+PMpQ" Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 55P4IQBW028021; Wed, 25 Jun 2025 09:25:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h= cc:content-transfer-encoding:date:from:in-reply-to:message-id :mime-version:references:subject:to; s=qcppdkim1; bh=K1tdBFJbUkm IODWGkBstyII/kwowrI1ZVBW71akoe6s=; b=cB7+PMpQweD9jg4+QkT8AcFgFKW +Hn6YwozORLHtBdrf4TWTmF1MkCpGZF3u9U+YRrktEMAuIUOY2yntqsEZeNuVQLA grL7OFuV8eXVdknhL/Rb9BsSGLfzrF/PYRnR/S22dBctsdTRuVCTOWFM7um5/xP5 W60VLJqpGYJNHoKDJT5ykmEGvzhaYjYb9djDCTjgtsxJ9o6aJ5bYXD4xypGcikNj WVjJnA48ok9/Ez6kg0Tc8V/z94bM5MsdHrA/L1pH9BHzhQ1ncvCDjc4wvWPxyniy jkIWRntdOg12DyApFrFAZJF6AGTW5qzGH5cLfrfzTBPhF4Tzzc44shQU72w== Received: from aptaippmta01.qualcomm.com (tpe-colo-wan-fw-bordernet.qualcomm.com [103.229.16.4]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 47fbhqnth5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 09:25:47 +0000 (GMT) Received: from pps.filterd (APTAIPPMTA01.qualcomm.com [127.0.0.1]) by APTAIPPMTA01.qualcomm.com (8.18.1.2/8.18.1.2) with ESMTP id 55P9Pi0B024628; Wed, 25 Jun 2025 09:25:44 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APTAIPPMTA01.qualcomm.com (PPS) with ESMTPS id 47dntmauxn-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 09:25:44 +0000 Received: from APTAIPPMTA01.qualcomm.com (APTAIPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 55P9PiBJ024612; Wed, 25 Jun 2025 09:25:44 GMT Received: from cse-cd02-lnx.ap.qualcomm.com (cse-cd02-lnx.qualcomm.com [10.64.75.246]) by APTAIPPMTA01.qualcomm.com (PPS) with ESMTPS id 55P9Phq4024610 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 25 Jun 2025 09:25:44 +0000 Received: by cse-cd02-lnx.ap.qualcomm.com (Postfix, from userid 4438065) id CA23A3864; Wed, 25 Jun 2025 17:25:42 +0800 (CST) From: Ziyue Zhang To: andersson@kernel.org, konradybcio@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, jingoohan1@gmail.com, mani@kernel.org, lpieralisi@kernel.org, kwilczynski@kernel.org, bhelgaas@google.com, johan+linaro@kernel.org, vkoul@kernel.org, kishon@kernel.org, neil.armstrong@linaro.org, abel.vesa@linaro.org, kw@linux.com Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-phy@lists.infradead.org, qiang.yu@oss.qualcomm.com, quic_krichai@quicinc.com, quic_vbadigan@quicinc.com, Ziyue Zhang , Manivannan Sadhasivam , Konrad Dybcio Subject: [PATCH v7 3/5] arm64: dts: qcom: qcs8300-ride: enable pcie0 interface Date: Wed, 25 Jun 2025 17:25:37 +0800 Message-Id: <20250625092539.762075-4-quic_ziyuzhan@quicinc.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20250625092539.762075-1-quic_ziyuzhan@quicinc.com> References: <20250625092539.762075-1-quic_ziyuzhan@quicinc.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-QCInternal: smtphost X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: AYe1S_H6RKvleDqwe1hZ0sG48Wej9yiq X-Authority-Analysis: v=2.4 cv=Id+HWXqa c=1 sm=1 tr=0 ts=685bc09b cx=c_pps a=nuhDOHQX5FNHPW3J6Bj6AA==:117 a=nuhDOHQX5FNHPW3J6Bj6AA==:17 a=6IFa9wvqVegA:10 a=KKAkSRfTAAAA:8 a=EUspDBNiAAAA:8 a=COk6AnOGAAAA:8 a=OcCb8rqeGctm4X3z9-cA:9 a=cvBusfyB2V15izCimMoJ:22 a=TjNXssC_j7lpFel5tvFf:22 X-Proofpoint-GUID: AYe1S_H6RKvleDqwe1hZ0sG48Wej9yiq X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwNjI1MDA3MCBTYWx0ZWRfX4CXGAUr46gaG 0iE7u2QO2ckJhNNeOmtLBoE32t4+Rc59OgH+FbC6/yDrdBneW9unJoMRu9Lqt79QqNPDaU+N/Ji XI8dLNrHSR/CTINbc/GPycl1sm6kIubmoq2KzJby0jwcHdtdmfMKIPd+lh1Fwct1WhSTBLmI3Ei 2Nx6oX/fLHkGPQqO4D/jojgLQ1F4DraYJ+I5ZxsfTiR6pwEbiHcMpN6QtTHAdbPqqstdeiplzBP x9Q9Gpieftl3m31QZDs9Reg+eM2rOYwc2j0Gi7ESyJ65ABD3L5btF6GVxPl/D+jkYLAfYcQW56/ ihJDGVvVZ1SDSMscksxclxjCEKX6Y1qhn4ri4vm4vFKHGY7wrcibwt2340pi467bIlIC7GtQRlZ +3x5fCKWbnALWSb778eBBusjfTGLk5b46HRVrWt+oKc4fUdGLXecjvFMafWrLtDz2l/wY4PY X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1099,Hydra:6.1.7,FMLib:17.12.80.40 definitions=2025-06-25_02,2025-06-23_07,2025-03-28_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 mlxlogscore=999 phishscore=0 bulkscore=0 clxscore=1015 impostorscore=0 mlxscore=0 lowpriorityscore=0 malwarescore=0 suspectscore=0 adultscore=0 classifier=spam authscore=0 authtc=n/a authcc= route=outbound adjust=0 reason=mlx scancount=1 engine=8.19.0-2505280000 definitions=main-2506250070 Content-Type: text/plain; charset="utf-8" Add configurations in devicetree for PCIe0, board related gpios, PMIC regulators, etc for qcs8300-ride board. Reviewed-by: Manivannan Sadhasivam Reviewed-by: Konrad Dybcio Signed-off-by: Ziyue Zhang --- arch/arm64/boot/dts/qcom/qcs8300-ride.dts | 40 +++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts b/arch/arm64/boot/dt= s/qcom/qcs8300-ride.dts index 8c166ead912c..e8e382db2b99 100644 --- a/arch/arm64/boot/dts/qcom/qcs8300-ride.dts +++ b/arch/arm64/boot/dts/qcom/qcs8300-ride.dts @@ -308,6 +308,23 @@ &iris { status =3D "okay"; }; =20 +&pcie0 { + perst-gpios =3D <&tlmm 2 GPIO_ACTIVE_LOW>; + wake-gpios =3D <&tlmm 0 GPIO_ACTIVE_HIGH>; + + pinctrl-0 =3D <&pcie0_default_state>; + pinctrl-names =3D "default"; + + status =3D "okay"; +}; + +&pcie0_phy { + vdda-phy-supply =3D <&vreg_l6a>; + vdda-pll-supply =3D <&vreg_l5a>; + + status =3D "okay"; +}; + &qupv3_id_0 { status =3D "okay"; }; @@ -348,6 +365,29 @@ ethernet0_mdio: ethernet0-mdio-pins { bias-pull-up; }; }; + + pcie0_default_state: pcie0-default-state { + wake-pins { + pins =3D "gpio0"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-up; + }; + + clkreq-pins { + pins =3D "gpio1"; + function =3D "pcie0_clkreq"; + drive-strength =3D <2>; + bias-pull-up; + }; + + perst-pins { + pins =3D "gpio2"; + function =3D "gpio"; + drive-strength =3D <2>; + bias-pull-down; + }; + }; }; =20 &uart7 { --=20 2.34.1