From patchwork Thu Dec 3 13:35:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 57653 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3500249lbb; Thu, 3 Dec 2015 05:36:36 -0800 (PST) X-Received: by 10.66.90.194 with SMTP id by2mr13133980pab.2.1449149795870; Thu, 03 Dec 2015 05:36:35 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 65si12166770pfo.90.2015.12.03.05.36.35; Thu, 03 Dec 2015 05:36:35 -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; 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; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760288AbbLCNgX (ORCPT + 28 others); Thu, 3 Dec 2015 08:36:23 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:35086 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760263AbbLCNgS (ORCPT ); Thu, 3 Dec 2015 08:36:18 -0500 Received: by wmuu63 with SMTP id u63so21392230wmu.0 for ; Thu, 03 Dec 2015 05:36:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=v7OglF5EqJldkiLfUP10lvnDqdAZe50ZyO5TIxqXSZk=; b=x25Uu+xJgbkKL4DHIlED9CBoSWuhlpb+oWcb9srmaissnlUJSw/T2GQXyx/IfMPK8m qsh6OuxxVp0dP19WkCy28YP1Qp23XZ543233WRu6TFGCfYaolL3/Rbj2MXqXe9DZaqBP FFcBFKcL23/Z5rekQE/7Kp9Gsc0Dm91SUR8jR7ADh0hoGLyh7Kp42/Ert2nvC36SPrbJ xZvgu3jrI44mIP4Wuhk50VXjBHlCELDCAHivUwnNubHGRgdflQ5CWSIJGyqia12qiZLJ pFhpzzp63C9LYDIaS0Fk3agMU7yrTUybwyc10THXF//xfeqjjBSLljir9lk7J+jMlhvv oNQg== 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=v7OglF5EqJldkiLfUP10lvnDqdAZe50ZyO5TIxqXSZk=; b=nIep3BBIKqYEZbVRGS6oYQsfmNoH/hzVpWv6WACbbaVVIDrb/VlocpJLCbKdu8QAgH Ey1eKNjza3F0p/T5LYE9kMTnRjEeP4o+6XW1YHK5ba/ZvCOzQetGbJce+n8jOSx5Oyb5 bcz1LpjzeixSix5BcbZHh3jdlZaOFhLjwqwAof55qbbJBePTCwmJtCDu6HgxJGPzz5oW y+U/XtV+M7F3DxZy8zd/0E6YxRGoCcKskEFApJkPgY3/oMpXBtSK4DeRMUWEm65NtVeC 6iWSAFK9nq+byg7x4qngrp7DwTLCR5IjYQP0tAlmC+WzkOOdNdmrWPXXu1x+NCeX+8HG eBeQ== X-Gm-Message-State: ALoCoQlLr6otg1jJ27FbYiUSpawdA81g9EtCPzgcCDYLBFPVlvD2D7KHLfpNSb4zFx8LFYox29W+ X-Received: by 10.194.188.11 with SMTP id fw11mr12647692wjc.146.1449149776933; Thu, 03 Dec 2015 05:36:16 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id h189sm35769187wme.1.2015.12.03.05.36.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2015 05:36:16 -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 , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v4 5/5] ARM: dts: ifc6410: enable pcie dt node for this board Date: Thu, 3 Dec 2015 15:35:24 +0200 Message-Id: <1449149725-27607-6-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> References: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts b/arch/arm/boot/dts/qcom-apq8064-ifc6410.dts index 11ac608b6d50..f203b94ee460 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 @@ pm8921_lvs1: lvs1 { bias-pull-down; }; + + pm8921_lvs6: 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 {