From patchwork Thu Nov 7 00:22:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 178776 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp247197ilf; Wed, 6 Nov 2019 16:23:05 -0800 (PST) X-Google-Smtp-Source: APXvYqx9n13Z98ucM1xD/za/YsHYzAtsEOk8KkCtbo8Sbp/qmA2lkT4mekdSmB1kx7ZZMWbjWk7x X-Received: by 2002:a05:6402:8cb:: with SMTP id d11mr543832edz.303.1573086185061; Wed, 06 Nov 2019 16:23:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573086185; cv=none; d=google.com; s=arc-20160816; b=uifEUgxd3YEha3HMf8xpovskFz+EXc3TiBCl6+Ji1Ml6RlBsOip9loRtZF1RtD00LP nLrHxqrURgi/CsmEZfvsg/4sHRwu4gA6p8d0Lu/UQMwt7ad+jPv5m9KiFRXakdZK4bb/ qIgYr+OthpvomoVU1YgV2fzHrCSTTIHrBXfea4qQgYWTTfpWpKQYhLI2DXIHzuAEsm+x e3FSOGahCE6lBx4Fs1kpBsbY6PBdioSaNccKwgNYsWhjRDpvuxHvI/30G73sHEYQVczK +fIgL/A10glGlYIu0JrhhJw3QcMINhP8dg1kQD0vbkZ9XQhV6DT+ds0IwIwpNhAq9gcZ yPaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sCtg4Oe1bns8tpbhK9bg1Uwi/CMwZ245VcXGMxHA0Ak=; b=GexlUp9EdHUztu1QAwVTvIfVBPeJIqgkdV1cHgE47r9hSl/jdtJcxZtWlHRDnKskLB AwYDKOC05i5aA9OgHdU9c74bBvMAyxpeKfiN7zoveLrty5zYjCyX/byY0hPU/JUDYISz 45gqAHjMzOFYLOoEu4Ro6jWVjPVOqmc+s3TNwnsdzb0xfTTtvAR4sg/1BGCCYeQHxl1J xWCbFPbBbhHtxSq/H35tJkdDU4BC98YZOoxLj9j/wp/vztUGEo2O6nTLCORHT81gt5mF 1v9YMBKhwHNzEs9w8vdSMHc85O3XhnYmtWnhWuulwrFKcBbHPRlF2iaHqNHthvjy1fNY 6IQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZklvcdzF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c15si377114ejd.74.2019.11.06.16.23.04; Wed, 06 Nov 2019 16:23:05 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZklvcdzF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732756AbfKGAXC (ORCPT + 26 others); Wed, 6 Nov 2019 19:23:02 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:37239 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732278AbfKGAWx (ORCPT ); Wed, 6 Nov 2019 19:22:53 -0500 Received: by mail-pg1-f196.google.com with SMTP id z24so417897pgu.4 for ; Wed, 06 Nov 2019 16:22:53 -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=sCtg4Oe1bns8tpbhK9bg1Uwi/CMwZ245VcXGMxHA0Ak=; b=ZklvcdzFQuRr7T7f05GOCLM+8sn5Q45e8AP6hl02rAD7BaxRUzKLxFh5Ah64JCYWJh S48DX+O9jIJ46qz6OjK3WlFDC15cpugeaXCYAQqry2oBgT9XoLWZNMSsJTlmVsWigLcS UYaBKoYo64G9A190a6oaw9+BDRMzYnaodSbewBecm8D07MWzLOTHNs5gYeYuweVV0iWz dp/vSnfM/8kfylS6lIlr5kvcdBHPKMRtJ3YKg0BIAvvc4yTiyrwcuFQDpYG+2UTSNibp mmHDw22YbnJm0rT7reUsnzqTwZBlWgwyM77m0OHPa7u8w2SK8PKuXqDfA5zYAgTYe94V aLDw== 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:mime-version:content-transfer-encoding; bh=sCtg4Oe1bns8tpbhK9bg1Uwi/CMwZ245VcXGMxHA0Ak=; b=drm1nDMu/snalUT/F0+2ZbpKvE6JlDnm5JKK/e6+xoVeV9ovXjiTuWAU8onJg7B+M5 rlsz/2Xrp3rks92QOW+MHwQ3rT/eAVLn/MoqCAr13neGUkS8LgJBn+WpyDzB0G/eHiHj UIsGeLnofRNEpdmVjmPaYfzL1ZPMvLnVt5iNmjYzJrtxnAbTKMQexePMX287ScmmyxN0 kYMOdy2THO1EE2kFeIBiviTHW2xSqzMS/17J51rw/vPmGT2/aMrPxirBXXXzzCfM7MnC CMl3bqgZ8UIg32pRXK8zQ6xPtujIzI/Zm1nQ/EEr5es9M2VWERK8KQUFVi0OXW61nscP rO1g== X-Gm-Message-State: APjAAAVrotjfsgxAkOAxNRyqI1cRFJPwH/0k0imJVteX+sBSYu9EkVrs 6rRd8AW2Mxp9AeEo6eDAAGBn2w== X-Received: by 2002:a17:90a:98d:: with SMTP id 13mr944607pjo.98.1573086172484; Wed, 06 Nov 2019 16:22:52 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id i13sm155272pfo.39.2019.11.06.16.22.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 16:22:51 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v2 1/3] arm64: dts: qcom: sdm845: Add first PCIe controller and PHY Date: Wed, 6 Nov 2019 16:22:45 -0800 Message-Id: <20191107002247.1127689-2-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191107002247.1127689-1-bjorn.andersson@linaro.org> References: <20191107002247.1127689-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the GEN2 PCIe controller and PHY found on SDM845. Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Picked up Vinod's R-b arch/arm64/boot/dts/qcom/sdm845.dtsi | 104 +++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) -- 2.23.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi index ddb1f23c936f..b93537b7a59f 100644 --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi @@ -1364,6 +1364,110 @@ interrupts = ; }; + pcie0: pci@1c00000 { + compatible = "qcom,pcie-sdm845", "snps,dw-pcie"; + reg = <0 0x01c00000 0 0x2000>, + <0 0x60000000 0 0xf1d>, + <0 0x60000f20 0 0xa8>, + <0 0x60100000 0 0x100000>; + reg-names = "parf", "dbi", "elbi", "config"; + device_type = "pci"; + linux,pci-domain = <0>; + bus-range = <0x00 0xff>; + num-lanes = <1>; + + #address-cells = <3>; + #size-cells = <2>; + + ranges = <0x01000000 0x0 0x60200000 0 0x60200000 0x0 0x100000>, + <0x02000000 0x0 0x60300000 0 0x60300000 0x0 0xd00000>; + + interrupts = ; + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc 0 149 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ + <0 0 0 2 &intc 0 150 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ + <0 0 0 3 &intc 0 151 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ + <0 0 0 4 &intc 0 152 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ + + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>, + <&gcc GCC_PCIE_0_AUX_CLK>, + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, + <&gcc GCC_PCIE_0_MSTR_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_AXI_CLK>, + <&gcc GCC_PCIE_0_SLV_Q2A_AXI_CLK>, + <&gcc GCC_AGGRE_NOC_PCIE_TBU_CLK>; + clock-names = "pipe", + "aux", + "cfg", + "bus_master", + "bus_slave", + "slave_q2a", + "tbu"; + + iommus = <&apps_smmu 0x1c10 0xf>; + iommu-map = <0x0 &apps_smmu 0x1c10 0x1>, + <0x100 &apps_smmu 0x1c11 0x1>, + <0x200 &apps_smmu 0x1c12 0x1>, + <0x300 &apps_smmu 0x1c13 0x1>, + <0x400 &apps_smmu 0x1c14 0x1>, + <0x500 &apps_smmu 0x1c15 0x1>, + <0x600 &apps_smmu 0x1c16 0x1>, + <0x700 &apps_smmu 0x1c17 0x1>, + <0x800 &apps_smmu 0x1c18 0x1>, + <0x900 &apps_smmu 0x1c19 0x1>, + <0xa00 &apps_smmu 0x1c1a 0x1>, + <0xb00 &apps_smmu 0x1c1b 0x1>, + <0xc00 &apps_smmu 0x1c1c 0x1>, + <0xd00 &apps_smmu 0x1c1d 0x1>, + <0xe00 &apps_smmu 0x1c1e 0x1>, + <0xf00 &apps_smmu 0x1c1f 0x1>; + + resets = <&gcc GCC_PCIE_0_BCR>; + reset-names = "pci"; + + power-domains = <&gcc PCIE_0_GDSC>; + + phys = <&pcie0_lane>; + phy-names = "pciephy"; + + status = "disabled"; + }; + + pcie0_phy: phy@1c06000 { + compatible = "qcom,sdm845-qmp-pcie-phy"; + reg = <0 0x01c06000 0 0x18c>; + #address-cells = <2>; + #size-cells = <2>; + ranges; + clocks = <&gcc GCC_PCIE_PHY_AUX_CLK>, + <&gcc GCC_PCIE_0_CFG_AHB_CLK>, + <&gcc GCC_PCIE_0_CLKREF_CLK>, + <&gcc GCC_PCIE_PHY_REFGEN_CLK>; + clock-names = "aux", "cfg_ahb", "ref", "refgen"; + + resets = <&gcc GCC_PCIE_0_PHY_BCR>; + reset-names = "phy"; + + assigned-clocks = <&gcc GCC_PCIE_PHY_REFGEN_CLK>; + assigned-clock-rates = <100000000>; + + status = "disabled"; + + pcie0_lane: lanes@1c06200 { + reg = <0 0x01c06200 0 0x128>, + <0 0x01c06400 0 0x1fc>, + <0 0x01c06800 0 0x218>, + <0 0x01c06600 0 0x70>; + clocks = <&gcc GCC_PCIE_0_PIPE_CLK>; + clock-names = "pipe0"; + + #phy-cells = <0>; + clock-output-names = "pcie_0_pipe_clk"; + }; + }; + ufs_mem_hc: ufshc@1d84000 { compatible = "qcom,sdm845-ufshc", "qcom,ufshc", "jedec,ufs-2.0"; From patchwork Thu Nov 7 00:22:47 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Andersson X-Patchwork-Id: 178774 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp247097ilf; Wed, 6 Nov 2019 16:22:59 -0800 (PST) X-Google-Smtp-Source: APXvYqxUU4As55+36j+ETJLMMbjZDTA4xiKddQs+Zfe+G3qKhHQvIZEfUJCUzDqtuyVL0gWPwycC X-Received: by 2002:aa7:c842:: with SMTP id g2mr616299edt.132.1573086179268; Wed, 06 Nov 2019 16:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573086179; cv=none; d=google.com; s=arc-20160816; b=k2s/pKgKfWTKX2gTr9KgkfBbJ7XkdtE60mAPavjfY5mqVDT2yBma3muQX3jw9A4MIL zuVcMyjgpNVlYB8GINqUFWNBQrOJo28xJSj36rLksfnG+3agaXTwCg96q/Jsdv/Xf2Jj 8EvV1leSY9JqMPrTgvCP9blriyvwZoKmIMfFIG/e7UNg9yYL9Hw8thcBgFl3iMeT6kk+ FRwGlKAmSKtXSOKybm0XkkACS5OHYGwuJa4TvWBP+jL+eOj+vjaJ6KJE2AQ+Iy3EJLx0 eoItH4zzlBXKj1RFc+e2U5Ry4Ht51joC2DQGiCDnPvusnZxtyageUbtmcNXF6/MDOP1l o4ZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=DeQmt4uNFQlcdJU+lnHrpKJXh0m7NA3EyMol7F5dCYM=; b=Hq3EcNf0zMz/B38/XFq0k2UWOl/Nw6Nx24KvdC58Ulcmw88LHkSfyflGpvyYufAORU u93q8s0dKVhQLfGq9hb+8arV0n+jAYW4gbUZGA+k+tIb0W0rS+sVo/WIqfFG5UksIM4y IkjHRyb4jxgXD1en3JNqhLQH9kH8geYXfiIDMY+nZKgFlk+b1kWqscTF2PZ5yKm/xYck 3/7u8hFf7KGGrMHfulgj7Hvj/WSTfIixCrD4D/4TJ1cAr5QcZNKnG/QAgng9H5iOKx0B AHl06B1UZxD+ootAEumtgoEUR6C0lG7YnCAcza2G2WQoFoZXovvjQc0bYftOvZequpbE /oEg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=giGLYDsp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id pv22si353544ejb.337.2019.11.06.16.22.59; Wed, 06 Nov 2019 16:22:59 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=giGLYDsp; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732649AbfKGAW4 (ORCPT + 26 others); Wed, 6 Nov 2019 19:22:56 -0500 Received: from mail-pg1-f195.google.com ([209.85.215.195]:41980 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732452AbfKGAWz (ORCPT ); Wed, 6 Nov 2019 19:22:55 -0500 Received: by mail-pg1-f195.google.com with SMTP id h4so397677pgv.8 for ; Wed, 06 Nov 2019 16:22:55 -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=DeQmt4uNFQlcdJU+lnHrpKJXh0m7NA3EyMol7F5dCYM=; b=giGLYDsp5nBEBpAmVbLK6sFyoxa5/UJ50tE8VoCfPrp6W3M/UEiX2KvdIeLEJ2pbEq rqmChMG2jWXKMEGjGYb38PCDIBQtczjqxf7xMLdCaAxl1XCgnvZS82lnXyOYv0h7ZRNS dg3kA6sRy2wiHGJjn9Tw9Ow5ZpTJZLdCaQ3CvoZXGzODnkyhFk2KRsiDGB6NyDV4FV5K v8Y/iB6QWdFj/ObvfItlW9S433OjBXvJyigpI6uzjL4yhyETF+cS9yUuGlb9nga5u+Bu xtkP8RKhDxFA9O8y0j/ImYgUOV45yyR85um6frL1KUZN20RK607Eb/IR2RaFFDfsi8iq Mv6A== 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:mime-version:content-transfer-encoding; bh=DeQmt4uNFQlcdJU+lnHrpKJXh0m7NA3EyMol7F5dCYM=; b=jnPdTCzgUF10QNM3lL7mvdtiTS6k1k/bIjalku6sqtiCMbaMQ9Y9xBdSyOFHZeuBLj 8I9J8/uXEBhX45blCiI9WlLSjcr83BeMOhLo26Z13hhnQzjZUleRPikivBl4CzS/bLzf OAZekg5sL/ScwWkT40zPI9xb+L3bRAVQ9ltfWebT5KSBaq8ICdTmbdkUNfGf2g1+CJ45 dEG27yy/yH3pESpZsKuI6PwZQqaq1MWec0Ch3KGDdvQ4/kfroHC8h1speHJI5ArNXxUa QjwzCjHCpECqJRkVJe5EcTZ/WH+zNrLw42A4G9Ed6mwvjjy6I2RgMeN08GUsYidl8RXc e71g== X-Gm-Message-State: APjAAAUEJu6FAoZFFzZBIeERcik0fdPDeF5qYCX3500LuUzRlEBBggYL eAMoLeRDywknUhXwY9gDIwQVMA== X-Received: by 2002:a63:4622:: with SMTP id t34mr778490pga.359.1573086174966; Wed, 06 Nov 2019 16:22:54 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id i13sm155272pfo.39.2019.11.06.16.22.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Nov 2019 16:22:54 -0800 (PST) From: Bjorn Andersson To: Andy Gross , Bjorn Andersson Cc: Rob Herring , Mark Rutland , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH v2 3/3] arm64: dts: qcom: db845c: Enable PCIe controllers Date: Wed, 6 Nov 2019 16:22:47 -0800 Message-Id: <20191107002247.1127689-4-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20191107002247.1127689-1-bjorn.andersson@linaro.org> References: <20191107002247.1127689-1-bjorn.andersson@linaro.org> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enable the two PCIe controllers found on the Dragonboard845c. Reviewed-by: Vinod Koul Signed-off-by: Bjorn Andersson --- Changes since v1: - Picked up Vinod's R-b arch/arm64/boot/dts/qcom/sdm845-db845c.dts | 91 ++++++++++++++++++++++ 1 file changed, 91 insertions(+) -- 2.23.0 diff --git a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts index f5a85caff1a3..c314b5d55796 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-db845c.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-db845c.dts @@ -340,6 +340,39 @@ ; }; +&pcie0 { + status = "okay"; + perst-gpio = <&tlmm 35 GPIO_ACTIVE_LOW>; + enable-gpio = <&tlmm 134 GPIO_ACTIVE_HIGH>; + + vddpe-3v3-supply = <&pcie0_3p3v_dual>; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie0_default_state>; +}; + +&pcie0_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l1a_0p875>; + vdda-pll-supply = <&vreg_l26a_1p2>; +}; + +&pcie1 { + status = "okay"; + perst-gpio = <&tlmm 102 GPIO_ACTIVE_LOW>; + + pinctrl-names = "default"; + pinctrl-0 = <&pcie1_default_state>; +}; + +&pcie1_phy { + status = "okay"; + + vdda-phy-supply = <&vreg_l1a_0p875>; + vdda-pll-supply = <&vreg_l26a_1p2>; +}; + &pm8998_gpio { vol_up_pin_a: vol-up-active { pins = "gpio6"; @@ -382,6 +415,31 @@ }; &tlmm { + pcie0_default_state: pcie0-default { + clkreq { + pins = "gpio36"; + function = "pci_e0"; + bias-pull-up; + }; + + reset-n { + pins = "gpio35"; + function = "gpio"; + + drive-strength = <2>; + output-low; + bias-pull-down; + }; + + wake-n { + pins = "gpio37"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + }; + pcie0_pwren_state: pcie0-pwren { pins = "gpio90"; function = "gpio"; @@ -390,6 +448,39 @@ bias-disable; }; + pcie1_default_state: pcie1-default { + perst-n { + pins = "gpio102"; + function = "gpio"; + + drive-strength = <16>; + bias-disable; + }; + + clkreq { + pins = "gpio103"; + function = "pci_e1"; + bias-pull-up; + }; + + wake-n { + pins = "gpio11"; + function = "gpio"; + + drive-strength = <2>; + bias-pull-up; + }; + + reset-n { + pins = "gpio75"; + function = "gpio"; + + drive-strength = <16>; + bias-pull-up; + output-high; + }; + }; + sdc2_default_state: sdc2-default { clk { pins = "sdc2_clk";