From patchwork Mon Nov 23 09:29:03 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 57130 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp1324792lbb; Mon, 23 Nov 2015 01:30:16 -0800 (PST) X-Received: by 10.98.1.213 with SMTP id 204mr14854215pfb.128.1448271016487; Mon, 23 Nov 2015 01:30:16 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ml1si18044600pab.189.2015.11.23.01.30.16; Mon, 23 Nov 2015 01:30:16 -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 S1754285AbbKWJaM (ORCPT + 28 others); Mon, 23 Nov 2015 04:30:12 -0500 Received: from mail-wm0-f43.google.com ([74.125.82.43]:38459 "EHLO mail-wm0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754231AbbKWJ3t (ORCPT ); Mon, 23 Nov 2015 04:29:49 -0500 Received: by wmec201 with SMTP id c201so96297231wme.1 for ; Mon, 23 Nov 2015 01:29:48 -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 :in-reply-to:references; bh=IB8jvZRGiCvLjS/HPd2Femgvl22e5SPYYFizqbYl1ss=; b=EJRZOopzM+lSzm3gbLjj5mBXO3oHWhO7jn/3dOVwgNlK2SeRvOP6JCIEzfgd2QZw/y 3Pt4UX+Af5ny1/+AdlLW+XHTb0kRk6ezNttiI6FHwb3IMN+lIbty4IIGbZJQaJa88Tdw 2fXtn6jHnYxuU7dq+0Y7jfXPo+bEzrXBWRfALIp0ANRWWI1YWgfEAXAP4tcWjOtzQ4sU 5K6XW6kNJodTedSj74KXGv1RLCCMYZGi32SomAlkqaTEh/JKfwV2i14lAnpJG9flBTmp KGYBEKwNnmxNKh18ZZxICPHuKdqu5WP9RZ63G6yJvH1beNUZZ/NhCsEcneMaXcg0QMDP feQA== 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:in-reply-to:references; bh=IB8jvZRGiCvLjS/HPd2Femgvl22e5SPYYFizqbYl1ss=; b=AymWAaIIPW2l0fuJxd6YSReWXvzjaoWUm3146FVDc1Pa7Ge+Dys3reoJD4bRkN46B5 d0/9uVheqgT9cxFmjfyBvisoEhs9CFW7GRb6503R8LZJOmTkRjc0pojiXAyskvR8nSFh ySmSpIb28NnBjFkPF2/Jhf3r57zzuw2n1mJlFlE0pQMqVjdTZvPNu1aCd/DozyWrhQnz dufMptEt1cVGvKsYB8QmkAnUayjdkCzlFHrTiieyqjFaQ8TAgMtRE/0zfuCuI5FFqMJp 991Ng9h/A8m4NEu/TBHcq5b+GkKcAC7NG5XvzbxToiU8HKxaL92x5nc/b0MhuuvdXefe YYCg== X-Gm-Message-State: ALoCoQlJo508pbZYCSobKwQeDzsVmFkQFrFn6EbbPrvj68sszMnQuLDyLhIDOpmnwigumY1NEitv X-Received: by 10.28.227.198 with SMTP id a189mr14886084wmh.74.1448270988474; Mon, 23 Nov 2015 01:29:48 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id k125sm5547508wmf.2.2015.11.23.01.29.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 01:29:47 -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 v3 6/6] ARM: dts: ifc6410: enable pcie dt node for this board Date: Mon, 23 Nov 2015 11:29:03 +0200 Message-Id: X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: 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..bdee36a9b418 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; }; }; + + pcie0_pins: pcie0_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 = <&pcie0_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + qcom,ssbi@500000 { pmic@0 { gpio@150 {