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: 7883211 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3B1809F1AF for ; Fri, 18 Dec 2015 12:42:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5496B204D6 for ; Fri, 18 Dec 2015 12:42:12 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D9EC4204D3 for ; Fri, 18 Dec 2015 12:42:10 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9uL9-0000v6-O2; Fri, 18 Dec 2015 12:40:55 +0000 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a9uK9-0007Y2-Og for linux-arm-kernel@lists.infradead.org; Fri, 18 Dec 2015 12:39:54 +0000 Received: by mail-wm0-x230.google.com with SMTP id p187so63272126wmp.0 for ; Fri, 18 Dec 2015 04:39:33 -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=gwKr7jVrpDBUk8zGDaMYtkEGIDC20yT9yz6xBobh5epRMPnPFm0LhOxRG+jnZcZnV2 wAlh+LhJYo9XXzv+61j3HCEiKiyzCHAe0tWl3/5ncY9LhyFSBdK2lteC3eJGWYQTo/78 7ou44LVFDtf8sgerZ0AEfwUAGYaBMicr7x5Sh7MFViTVHZ8vhqEv4WUyzVXG5tomg7rP QaoHxsZcO+CYUyc4thLZkXS1R7NjIO+Eoykg0TclZnwQVUIy0SwuZp9GAFhHC4kBIdM4 ZM1PZaD0pfXwZCgiLe2Oy5sOBi3XhH3DfiDtP6y67CEDiK6hZa55xlXbSEL0bAkyHXTf xh0g== X-Gm-Message-State: ALoCoQkGk0CyY0lvNL7hR27QgGDhO83EAMBH6y+7T9RKZiEbP7sD0u80ahCVy8VpH1cXHciW/ev6bu+5YzDgEXodwqQAZNFYdA== 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151218_043954_048150_BAC3A068 X-CRM114-Status: GOOD ( 10.63 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mark Rutland , Russell King , Arnd Bergmann , Pawel Moll , Ian Campbell , Jingoo Han , Pratyush Anand , Stanimir Varbanov , Rob Herring , Srinivas Kandagatla , Bjorn Andersson MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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(+) 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 {