Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28731110rwd; Wed, 5 Jul 2023 01:41:06 -0700 (PDT) X-Google-Smtp-Source: APBJJlHosDwluDb8qGN2CfYB8gwicETiSCOm6MD0Tjqc3zcgi5KB0QkO8MzhP15wjx80Ft36NVJt X-Received: by 2002:a17:903:228e:b0:1b8:5fb4:1c85 with SMTP id b14-20020a170903228e00b001b85fb41c85mr11022124plh.16.1688546466313; Wed, 05 Jul 2023 01:41:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688546466; cv=none; d=google.com; s=arc-20160816; b=Wc5mxJTnmsT+qbGqIJdzJi5TLsvH9RbC/AEvS6s43Jn4v/PYpUOGIuLzGRFahN1cPQ T8TYIvz9tFImgzKdHnzZLEyOs6SElCs7X8I0As0jzUfYQXXMl5VUD0SJBj4yQkWZ7G0c 1damIS+LE/e2LSccVzqwcnOJ3pOMnB+xY+T9DOZIkRV1OQQ/i8nseEdCLpEsk2PxmrLW K9roXUjZEotVNYCni8fAw4xgRD5flerr8nSkTFWPRlMcWGTKc6JEFF3WFNKoqK6hxaA3 Vb5b+UXf5O7z/fx2H5V2uXJZU6bGxQT8rUxzey9ufpG8/9dF3W8/n0kT5Tq6FOyXfAJ0 QeUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=QB86YWIQlVgdpx4m7e0OY/4arBVOqsGJgjDbhwlJvjQ=; fh=NkYOIzSB3MsSvkCKK6ne/2RWCahSURsLlZwvGGV+wQY=; b=MCB2IT3gTuUr7vhgx/WbVR7gIttZQ+WgSVu6ht0vRFF9q7KKXA4rQ06rszsyJMOQVr tZvUNjt4/SmzlfuyoHMCaZXKu6+zQWIO/FpR8IkI7zAbQyrxll+M9/xmTlmpSFziqEin EZaYEkHxxa4/rBudqt+SXu6mosvEm1b9KnEIxJKyTQh26eoIAIbBRrc3JvfMvTmFPQrX Yqxl2WpUgXxz1mE5k0u7ohiAcuhGW9BkBhHhh5gLE2ctN+j0wFgrUnacZfX5Ma8xk9Ju x2oV3xQAQQRG+gdTeEV/+70sPQUiIB/gHAcTM2H6jGCjSo1WbeSxAV30CjdHsy0ylMvg /8FQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oDJuhlnq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u2-20020a170902e80200b001b8ac8008a4si1819773plg.598.2023.07.05.01.40.50; Wed, 05 Jul 2023 01:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oDJuhlnq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232514AbjGEIS0 (ORCPT + 99 others); Wed, 5 Jul 2023 04:18:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43926 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232670AbjGEISD (ORCPT ); Wed, 5 Jul 2023 04:18:03 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2570F19BD; Wed, 5 Jul 2023 01:17:54 -0700 (PDT) Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3657MV94009382; Wed, 5 Jul 2023 08:17:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : in-reply-to : references; s=qcppdkim1; bh=QB86YWIQlVgdpx4m7e0OY/4arBVOqsGJgjDbhwlJvjQ=; b=oDJuhlnq+LmzgVnW97R2ISRdxPXi1inrRKWZLos6Tf0sPxO5J3fSvChuZYROufGD1zrF JBy37rRlKwVCr1eRtlTEQcSOUdyAvoUrxOiNRZsi2GPQWgQOyykFsyc0TaHoStOnVRyB RXvqvK91w3OoNe+umhX0AkKdRJDKzxmNtYw27tIbxY8iZoqropkjOrqRU2fMYvQzxMDe s6//iaEzJ1xOs9YN3Knrkqv9sOBsK4YhmnfFJN2jzV65YOlz3QVJ0oGqi9b3K94pC89M h/+c556WSZbeBpG0YZgaNSDdpm5F4I1loHFcyu1RZ4lsKzYM8UP1h/FbOBEVkh+N2bmX 8Q== Received: from apblrppmta01.qualcomm.com (blr-bdr-fw-01_GlobalNAT_AllZones-Outside.qualcomm.com [103.229.18.19]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3rn2cp88v2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 05 Jul 2023 08:17:45 +0000 Received: from pps.filterd (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTP id 3658Hgab022081; Wed, 5 Jul 2023 08:17:42 GMT Received: from pps.reinject (localhost [127.0.0.1]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTPS id 3rjd7krn9p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 05 Jul 2023 08:17:42 +0000 Received: from APBLRPPMTA01.qualcomm.com (APBLRPPMTA01.qualcomm.com [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3658Hg37022074; Wed, 5 Jul 2023 08:17:42 GMT Received: from hu-sgudaval-hyd.qualcomm.com (hu-msarkar-hyd.qualcomm.com [10.213.111.194]) by APBLRPPMTA01.qualcomm.com (PPS) with ESMTP id 3658Hg43022073; Wed, 05 Jul 2023 08:17:42 +0000 Received: by hu-sgudaval-hyd.qualcomm.com (Postfix, from userid 3891782) id 4C9C8244; Wed, 5 Jul 2023 13:47:41 +0530 (+0530) From: Mrinmay Sarkar To: agross@kernel.org, andersson@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, konrad.dybcio@linaro.org, mani@kernel.org Cc: quic_shazhuss@quicinc.com, quic_nitegupt@quicinc.com, quic_ramkri@quicinc.com, quic_nayiluri@quicinc.com, Mrinmay Sarkar , Bjorn Helgaas , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , Vinod Koul , Kishon Vijay Abraham I , linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Subject: [PATCH v1 6/6] arm64: dts: qcom: sa8775p-ride: enable pcie nodes Date: Wed, 5 Jul 2023 13:47:11 +0530 Message-Id: <1688545032-17748-7-git-send-email-quic_msarkar@quicinc.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1688545032-17748-1-git-send-email-quic_msarkar@quicinc.com> References: <1688545032-17748-1-git-send-email-quic_msarkar@quicinc.com> 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-GUID: 1PhqsQFXzCVK_Oh9m-WkliqmE8MnOJ7N X-Proofpoint-ORIG-GUID: 1PhqsQFXzCVK_Oh9m-WkliqmE8MnOJ7N X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-07-04_16,2023-07-04_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 spamscore=0 clxscore=1015 bulkscore=0 mlxlogscore=786 lowpriorityscore=0 suspectscore=0 impostorscore=0 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2305260000 definitions=main-2307050075 X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable pcie0, pcie1 nodes and their respective phy's. Signed-off-by: Mrinmay Sarkar --- arch/arm64/boot/dts/qcom/sa8775p-ride.dts | 68 +++++++++++++++++++++++ 1 file changed, 68 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts index ab767cfa51ff..4a39294259fe 100644 --- a/arch/arm64/boot/dts/qcom/sa8775p-ride.dts +++ b/arch/arm64/boot/dts/qcom/sa8775p-ride.dts @@ -443,6 +443,74 @@ qup_uart17_rx: qup0-uart17-rx-pins { bias-pull-down; }; }; + + pcie0_default_state: pcie0-default { + perst { + pins = "gpio2"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + clkreq { + pins = "gpio1"; + function = "pcie0_clkreq"; + drive-strength = <2>; + bias-pull-up; + }; + + wake { + pins = "gpio0"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; + + pcie1_default_state: pcie1-default { + perst { + pins = "gpio4"; + function = "gpio"; + drive-strength = <2>; + bias-pull-down; + }; + + clkreq { + pins = "gpio3"; + function = "pcie1_clkreq"; + drive-strength = <2>; + bias-pull-up; + }; + + wake { + pins = "gpio5"; + function = "gpio"; + drive-strength = <2>; + bias-pull-up; + }; + }; +}; + +&pcie0{ + status = "okay"; +}; + +&pcie1{ + status = "okay"; +}; + +&pcie0_phy{ + vdda-phy-supply = <&vreg_l5a>; + vdda-pll-supply = <&vreg_l1c>; + + status = "okay"; +}; + +&pcie1_phy{ + vdda-phy-supply = <&vreg_l5a>; + vdda-pll-supply = <&vreg_l1c>; + + status = "okay"; }; &uart10 { -- 2.39.2