From patchwork Fri Dec 18 12:38:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 58658 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp998651lbb; Fri, 18 Dec 2015 04:39:50 -0800 (PST) X-Received: by 10.98.71.203 with SMTP id p72mr4742039pfi.151.1450442390107; Fri, 18 Dec 2015 04:39:50 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g14si12818524pfd.149.2015.12.18.04.39.49; Fri, 18 Dec 2015 04:39:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932192AbbLRMjg (ORCPT + 6 others); Fri, 18 Dec 2015 07:39:36 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:36485 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932167AbbLRMjd (ORCPT ); Fri, 18 Dec 2015 07:39:33 -0500 Received: by mail-wm0-f50.google.com with SMTP id p187so61875766wmp.1 for ; Fri, 18 Dec 2015 04:39:32 -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; bh=oLSJzpw7ZmafF4Suj6L2S7lSaBlV3nCd9Qe55QQ+ERc=; b=E8yxpZ/I/j9VdGDTcx8y265FmBrm+63/PqWG5NoDx83gcn1tEywtUYFujzHnIoKZ0P yVotdu6gbUP2KyRgbAmNwV4uXbWUuCetL/ctoo6vV4PiT5Adam/KGy4/W0w2f6cmocOE 8B0A7NNxJCUCZm9Ui4N2HozGTX93SY+Hl4/s8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=oLSJzpw7ZmafF4Suj6L2S7lSaBlV3nCd9Qe55QQ+ERc=; b=YwrcEeppUSh92qQCwq99BgbxAtp/AaxXM0Q6j/Q0ZmT9sp5VzZizBEsy5riUdi4U8U lKzjiTTW8synwth6rUUeUwDep0boaTcYlIEtfY7XDHSFx8ku5vWHHEYY5HjJyOnYYOhn 3FLooHZVz97CnrGa5BpLH3D6l/wj7v1JBZ7AMuotbjUCdGPBtA/5s9VCp3Uuh3aOIuFc a+N5hgRGC4xbWY5vMOPOIGYz3GvCrYk2m72/EOtf1IOo9DwZXbuRRvUtNN8U4sCihJ/F ATaez5nGLTfWZT1iZ+GLXdKKVc4GCYd2lLVi1qtGCcdFWUgC2lK5sFAqReFV3wBf8rII +uUA== X-Gm-Message-State: ALoCoQkMeAHEN8KDVyRy9u7AgMz4v3JcU3/x7HQ1wfKYnnksTPdgA0KIA2WnRMTM63VeyHMr0vdFdmR/f2UzxglroBSvnIkt8w== X-Received: by 10.28.13.138 with SMTP id 132mr3165882wmn.62.1450442372238; Fri, 18 Dec 2015 04:39:32 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id c13sm6521619wmd.14.2015.12.18.04.39.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2015 04:39:31 -0800 (PST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Cc: Srinivas Kandagatla , Russell King , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v5 5/5] ARM: dts: ifc6410: enable pcie dt node for this board Date: Fri, 18 Dec 2015 14:38:59 +0200 Message-Id: <1450442339-18765-6-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1450442339-18765-1-git-send-email-stanimir.varbanov@linaro.org> References: <1450442339-18765-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable pcie dt node and fill pcie dt node with regulator, pinctrl and reset gpio, to use the pcie on the ifc6410 board. Signed-off-by: Stanimir Varbanov --- arch/arm/boot/dts/qcom-apq8064-ifc6410.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index f40e93f09673..4584850add62 100644 --- a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts +++ b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts @@ -47,6 +47,18 @@ bias-disable; }; }; + + pcie_pins: pcie_pinmux { + mux { + pins = "gpio27"; + function = "gpio"; + }; + conf { + pins = "gpio27"; + drive-strength = <12>; + bias-disable; + }; + }; }; rpm@108000 { @@ -123,6 +135,10 @@ lvs1 { bias-pull-down; }; + + lvs6 { + bias-pull-down; + }; }; }; @@ -231,6 +247,16 @@ status = "okay"; }; + pci@1b500000 { + status = "ok"; + vdda-supply = <&pm8921_s3>; + vdda_phy-supply = <&pm8921_lvs6>; + vdda_refclk-supply = <&ext_3p3v>; + pinctrl-0 = <&pcie_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + qcom,ssbi@500000 { pmic@0 { gpio@150 {