From patchwork Wed May 8 22:43:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 10936551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 7ABCB14DB for ; Wed, 8 May 2019 22:43:28 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6AB6628A21 for ; Wed, 8 May 2019 22:43:28 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5E91C28A2A; Wed, 8 May 2019 22:43:28 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0D3D128A21 for ; Wed, 8 May 2019 22:43:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728633AbfEHWn0 (ORCPT ); Wed, 8 May 2019 18:43:26 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38878 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728638AbfEHWnR (ORCPT ); Wed, 8 May 2019 18:43:17 -0400 Received: by mail-pf1-f194.google.com with SMTP id 10so199765pfo.5 for ; Wed, 08 May 2019 15:43:17 -0700 (PDT) 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; bh=//ssDyBln8BZY58d4oo5/19E/yt+2bcgiGBzlLV+nkQ=; b=uhHHCW87uoh9FemCtLvCqAn2AgbXyLLX8glrL4kGvwOSPT6R2bvf0TwHuwK8cR1M0l KRAYk/vKdhHSuRy0tu898oONu6ook8MAr24SB13BHsnKTZ673MVQtUar5JipYBha8jmX 6VrshbBXKVgXKOKRgxN6pG4bglEsWPMyIkFNv4GHcGQIwAx5aVbjI4XNlZAw2+KDVmhE AJKIRLfjwuRdM7HygkRRE/Jp5q3c8uNJwFridduBbyAaxWPDPy0fzwk+XLQZtemKr7Pm kdMQvXYNdw8D7BOtDKDs7tnforEMDaC2XgGh1XSGFnpY1+fdzxWI+Vv19buatSnXJFQM +nAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=//ssDyBln8BZY58d4oo5/19E/yt+2bcgiGBzlLV+nkQ=; b=PGsIhieEv7XeKjfHmfKPMJaCFMiP7exLzfBi8FDvzDZODWud1q8fCizXZ4DzEIj8Lq KDqJoYSOnEjUfqONdEckYlG9FUx9LarynKpJohCQOuiyYPe+U9BxS+wHZq9Mi7Hh4xhB pjiF+bMYv5kcvVU6uJmbC6oTzjeg9LI6d9u1F0lfrpYPi7+U2iO/KqebZXqHknQeNQkq EAxyZPOSphLyVO2d9kJlKwf+K2EVi52qE764cnqH0u8B2fkzbPjNlzx0pQOm5NshsRSv gaQOvcZncBbhgClQYoosFxirBaAwAGDm8Lowj0Y2Xrl+dFkvpugudva1hgR00fVJYUYy 7hEA== X-Gm-Message-State: APjAAAXjDihPCVFyISs2mTjnV2ArGmERBO3SuRbtCTYyozlDiYi9iNUT peRa2T02v0ppposSEWxfdnBkIA== X-Google-Smtp-Source: APXvYqzRqpM4/hyzBO6sHXupAo83Putj6RvoE9HT65iqbET34bEFFMWWh0B13NNHeMSR6395VQKK/w== X-Received: by 2002:a65:5c82:: with SMTP id a2mr866049pgt.378.1557355397036; Wed, 08 May 2019 15:43:17 -0700 (PDT) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id 25sm320494pfo.145.2019.05.08.15.43.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 May 2019 15:43:16 -0700 (PDT) From: Bjorn Andersson To: Andy Gross , David Brown Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v4 3/3] arm64: dts: qcom: qcs404-evb: Enable PCIe Date: Wed, 8 May 2019 15:43:09 -0700 Message-Id: <20190508224309.5744-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20190508224309.5744-1-bjorn.andersson@linaro.org> References: <20190508224309.5744-1-bjorn.andersson@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Enable the PCIe PHY and controller found on the QCS404 EVB. Signed-off-by: Bjorn Andersson --- Changes since v3: - Split single patch, no functional change arch/arm64/boot/dts/qcom/qcs404-evb.dtsi | 26 ++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi index 2c3127167e3c..d1108a6abd0a 100644 --- a/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dtsi @@ -1,6 +1,7 @@ // SPDX-License-Identifier: GPL-2.0 // Copyright (c) 2018, Linaro Limited +#include #include "qcs404.dtsi" #include "pms405.dtsi" @@ -68,6 +69,22 @@ }; }; +&pcie { + status = "ok"; + + perst-gpio = <&tlmm 43 GPIO_ACTIVE_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&perst_state>; +}; + +&pcie_phy { + status = "ok"; + + vdda-vp-supply = <&vreg_l3_1p05>; + vdda-vph-supply = <&vreg_l5_1p8>; +}; + &remoteproc_adsp { status = "ok"; }; @@ -184,6 +201,15 @@ }; &tlmm { + perst_state: perst { + pins = "gpio43"; + function = "gpio"; + + drive-strength = <2>; + bias-disable; + output-low; + }; + sdc1_on: sdc1-on { clk { pins = "sdc1_clk";