Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp201878pxm; Wed, 2 Mar 2022 13:26:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJybms2nJv7CvkqJB6WOVWNwrrXN+HRZUjgB1B+p701S7cjUj0z3XsZcDwNwDb6oMdoqC0O3 X-Received: by 2002:a63:ea41:0:b0:372:af0a:fba with SMTP id l1-20020a63ea41000000b00372af0a0fbamr27499870pgk.152.1646256368182; Wed, 02 Mar 2022 13:26:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646256368; cv=none; d=google.com; s=arc-20160816; b=Oo2SJStuhdqdgEa5USsObIp96TkX+xYaRtHsNqvG2Nf4imt2NHIDmU8JVPSSF2U0sO NX4P2TxMWlWovOKZCfEIXJf7PMSMKdtfPg1Y3ju4IeaNsXQdWf+Q+3W8eOh0UT+tLka6 BW48oxURQxHxdmuax+nNKkdsZVIsRM+udum6i5cPFKLck6TiXtffX86cVtuK+f+JlZBL 2ffOrVJiEr9vLOmlKRBR7UuTeM4OKO10dnjXBYy71YKG31OHhMepZO2q5LzjE6A/3b3v JEhQ6wMUO4adcBNvX7fOpof6FAdZ3YFOPu14R93dt3uxDUlYcqPuK58whE5P7rg84LZn biYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=6aVyDbY8mWFDs86ZSUd7TuJOdBkBFLjs80gN0LS4pVY=; b=rJAiRGPAOvMrgo5CWrcrMLIGwanW+W06IkzfXafJXE5MY1pX73MwQR3keNPNp3C+yT Fv4VXdPK7z5czCDWmxEAMPEm5kwzzl2NmuQVmYPtXAwCHG7ivfxv6aTQMLH6dRjTLPyK Dkl7ZW6rW1sxu2USx/wCyTC+tA5Bb5EPnZOS3FasooUQBGbjZhEyFkHLYWjX1mAQbu0y nZC64Y9bfSwiJKYYNfdXq1aYZJwQrvqjnuGyz9eUegxolvUOyrebNVM7mSWTOdOqKNEI C2RQ0UUi5ezO9u9DrdCVdG3tH69468fMMMCYqMVaMB8LRzEixlAbnOf8/PHtJuo1fZ1J 7qCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Tl7NEZvh; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m7-20020a170902db0700b0014b78f81c76si190714plx.433.2022.03.02.13.25.51; Wed, 02 Mar 2022 13:26:08 -0800 (PST) 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=@linaro.org header.s=google header.b=Tl7NEZvh; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243829AbiCBUc2 (ORCPT + 99 others); Wed, 2 Mar 2022 15:32:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38018 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244002AbiCBUcY (ORCPT ); Wed, 2 Mar 2022 15:32:24 -0500 Received: from mail-pl1-x62e.google.com (mail-pl1-x62e.google.com [IPv6:2607:f8b0:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A66EFCFB83 for ; Wed, 2 Mar 2022 12:31:36 -0800 (PST) Received: by mail-pl1-x62e.google.com with SMTP id e13so2592034plh.3 for ; Wed, 02 Mar 2022 12:31:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=6aVyDbY8mWFDs86ZSUd7TuJOdBkBFLjs80gN0LS4pVY=; b=Tl7NEZvhUZpdTwcmNe+f/k3vBpnZvUbtaafcgnb2OUtQN33/NOBKA/oOQ83psaAVPk ggqvLNZym/zESiPo+8EUetAQy/d9qUY7s2BiZt0LZkm0sKEeA5/D8/HwZvEckCcIEdrY OQanc3Gn4bz62tkHmduupGz7wi+r28JZYuSuoQBa2yQRigViwFSMqIzy7JDPEbcoOms8 7eO7Nrxq3LZKUCFVQjdIrgMFoRgJQRgcTujW9CfhQ5Z4NZRH9Ylgnl8iamL1PuTHzPXz iNpAIRTpPJKf57odccoTGvQgJMBzIzUUxAFP8IDV5dBcD90xXnj2fDLHZ1bq8MQvAzRK Kjxw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=6aVyDbY8mWFDs86ZSUd7TuJOdBkBFLjs80gN0LS4pVY=; b=h4n0pkjtX5nZzVHuT2vj/NVVR2w+nOANtcI+709NADzvgQKCcZpRzN0xC9YpaGMROb igFCl8HAT6cw/ihGzZngdLhWde2DsVPDXjSqYnA6iSm5eDfgoYqhasEQnS6/g2dh6xsA 14ufL7fxHBXlouoNLlB+M8wcbj84YG7v4JmBbcDw38afpx8z47T54wv/fF7R7VdhOSE8 BsL/v3yUuFQR/tQ4i9ay+DXLRqdxBnMlyVPsRq9fRLNTP00dl+RtGM/OGlrHN6x5/R9v Ze6XgQ3WIbDreuEUC/SCeTkP4CRmrpQIEbIuEW65fIPt2lUdTtH3LHuTzlzE94up30HB a+SQ== X-Gm-Message-State: AOAM530dIdB70OnMdHNnmHZE6yKdF3xrSDqwkSsuCo72lU5ln6Q6K+NI mEuVpmJ8UC+TvMlxiYcPimdlYw== X-Received: by 2002:a17:90b:f8a:b0:1be:dccd:e4f7 with SMTP id ft10-20020a17090b0f8a00b001bedccde4f7mr1627856pjb.92.1646253096058; Wed, 02 Mar 2022 12:31:36 -0800 (PST) Received: from localhost.localdomain ([182.64.85.91]) by smtp.gmail.com with ESMTPSA id b1-20020a17090aa58100b001bcb7bad374sm5963410pjq.17.2022.03.02.12.31.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Mar 2022 12:31:35 -0800 (PST) From: Bhupesh Sharma To: linux-arm-msm@vger.kernel.org, linux-pci@vger.kernel.org, devicetree@vger.kernel.org Cc: bhupesh.sharma@linaro.org, bhupesh.linux@gmail.com, lorenzo.pieralisi@arm.com, agross@kernel.org, bjorn.andersson@linaro.org, svarbanov@mm-sol.com, bhelgaas@google.com, linux-kernel@vger.kernel.org, robh+dt@kernel.org, sboyd@kernel.org, mturquette@baylibre.com, linux-clk@vger.kernel.org, Vinod Koul Subject: [PATCH v3 7/7] arm64: dts: qcom: sa8155: Enable PCIe nodes Date: Thu, 3 Mar 2022 02:00:45 +0530 Message-Id: <20220302203045.184500-8-bhupesh.sharma@linaro.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220302203045.184500-1-bhupesh.sharma@linaro.org> References: <20220302203045.184500-1-bhupesh.sharma@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 SA8155p ADP board supports the PCIe0 controller in the RC mode (only). So add the support for the same. Cc: Bjorn Andersson Cc: Vinod Koul Cc: Rob Herring Signed-off-by: Bhupesh Sharma --- arch/arm64/boot/dts/qcom/sa8155p-adp.dts | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts index 8756c2b25c7e..3f6b3ee404f5 100644 --- a/arch/arm64/boot/dts/qcom/sa8155p-adp.dts +++ b/arch/arm64/boot/dts/qcom/sa8155p-adp.dts @@ -387,9 +387,51 @@ &usb_2_qmpphy { vdda-pll-supply = <&vdda_usb_ss_dp_core_1>; }; +&pcie0 { + status = "okay"; +}; + +&pcie0_phy { + status = "okay"; + vdda-phy-supply = <&vreg_l18c_0p88>; + vdda-pll-supply = <&vreg_l8c_1p2>; +}; + +&pcie1_phy { + vdda-phy-supply = <&vreg_l18c_0p88>; + vdda-pll-supply = <&vreg_l8c_1p2>; +}; + &tlmm { gpio-reserved-ranges = <0 4>; + bt_en_default: bt_en_default { + mux { + pins = "gpio172"; + function = "gpio"; + }; + + config { + pins = "gpio172"; + drive-strength = <2>; + bias-pull-down; + }; + }; + + wlan_en_default: wlan_en_default { + mux { + pins = "gpio169"; + function = "gpio"; + }; + + config { + pins = "gpio169"; + drive-strength = <16>; + output-high; + bias-pull-up; + }; + }; + usb2phy_ac_en1_default: usb2phy_ac_en1_default { mux { pins = "gpio113"; -- 2.35.1