From patchwork Tue Feb 23 14:14:14 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 62697 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1853508lbl; Tue, 23 Feb 2016 06:14:33 -0800 (PST) X-Received: by 10.98.16.150 with SMTP id 22mr46568505pfq.128.1456236873390; Tue, 23 Feb 2016 06:14:33 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b24si47633019pfj.52.2016.02.23.06.14.32; Tue, 23 Feb 2016 06:14:33 -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=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753284AbcBWOOY (ORCPT + 30 others); Tue, 23 Feb 2016 09:14:24 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:38040 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753185AbcBWOOT (ORCPT ); Tue, 23 Feb 2016 09:14:19 -0500 Received: by mail-wm0-f49.google.com with SMTP id a4so210942490wme.1 for ; Tue, 23 Feb 2016 06:14:18 -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=Kv2HMKVzd/wdkZgtZR2FC/Gm83bvdmlQvmsvf8E6CRc=; b=kE1mQnfP3Hl24sJHH9ZLLR5Pdy0k/o/1xlBxPMloQicV/OU9PBgq8xbixIsNmKGYzj /ldFjo4ZVGR4Wc6AE8WpGm1+SqoydtZO0fztzP1pPe6ijAWRsuJWWIlVETwmGjhTcuQi vcGHglnP2g1c889FU3r3+HxgejtCZ5uY/UdTM= 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=Kv2HMKVzd/wdkZgtZR2FC/Gm83bvdmlQvmsvf8E6CRc=; b=TcOmIyZRHy27XaHIUiW4nb8Wv05Hr4l9Je52uqsHEgjDwdWYCpBiqIx0dDshI3U3sb 4KNu+js0ztpLtseoEvV2NayZu2SU9XOdaEdfr8OP7Ao8wzGTb7rl2prq6R+d0HlD1kML aP/oA7OazehHR6nl9ZjKeSSW2lq0fr9zVgtFFECLa7eR52YL/xulTIfQFJu5vAHtrueB fU4mZQEjV6m9XlP2lunve+qPTMwK/xu9166rVyR1o1peH2fmj3Q+jn370GZmDoK9zrax eOqUz+qXLXBpT0PmUQn8fAkupqb85oskOF36ZMX6rWGD7USQKk2ZAQHnm19lUsXkShe8 s0Ig== X-Gm-Message-State: AG10YORoJ8osSlzu7wPDk45gSwBRzakO2M2F12xVFN8p6Js4y0tHFBHC124+jDR/Xw4TLvT9 X-Received: by 10.194.189.231 with SMTP id gl7mr33439936wjc.162.1456236858459; Tue, 23 Feb 2016 06:14:18 -0800 (PST) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id v1sm29845080wjf.49.2016.02.23.06.14.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 23 Feb 2016 06:14:17 -0800 (PST) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: Rob Herring , Russell King , linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 03/12] ARM: dts: apq8064: add pci support in CM QS600 Date: Tue, 23 Feb 2016 14:14:14 +0000 Message-Id: <1456236854-2511-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1456236639-1379-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1456236639-1379-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch adds PCIE support to APQ8064, tested with Ethernet on Compulab QS600 board. Signed-off-by: Srinivas Kandagatla --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) -- 1.9.1 diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index 21095da..35f1d46 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -37,6 +37,18 @@ bias-disable; }; }; + + pcie_pins: pcie_pinmux { + mux { + pins = "gpio27"; + function = "gpio"; + }; + conf { + pins = "gpio27"; + drive-strength = <12>; + bias-disable; + }; + }; }; rpm@108000 { @@ -103,6 +115,11 @@ regulator-max-microvolt = <1900000>; bias-pull-down; }; + + pm8921_lvs6: lvs6 { + bias-pull-down; + }; + }; }; @@ -195,6 +212,16 @@ }; }; + pci@1b500000 { + status = "ok"; + vdda-supply = <&pm8921_s3>; + vdda_phy-supply = <&pm8921_lvs6>; + vdda_refclk-supply = <&v3p3_fixed>; + pinctrl-0 = <&pcie_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + amba { /* eMMC */ sdcc1: sdcc@12400000 {