From patchwork Mon Feb 23 07:55:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 5863071 Return-Path: X-Original-To: patchwork-linux-arm-msm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 72259BF440 for ; Mon, 23 Feb 2015 07:57:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9674C2062B for ; Mon, 23 Feb 2015 07:57:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BC8AF2062A for ; Mon, 23 Feb 2015 07:57:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752493AbbBWHzo (ORCPT ); Mon, 23 Feb 2015 02:55:44 -0500 Received: from mail-wi0-f179.google.com ([209.85.212.179]:58438 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752444AbbBWHzl (ORCPT ); Mon, 23 Feb 2015 02:55:41 -0500 Received: by mail-wi0-f179.google.com with SMTP id hi2so14603195wib.0 for ; Sun, 22 Feb 2015 23:55:39 -0800 (PST) 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=XfOhaIEN4uQXLer5f9G9QR7B9ZTgaHgFgSKjTboWJyk=; b=lCPbPNrZ6Fi8t5qIIyj1OyIRDhbdpcWR8ApWZUSjIURc2504iisZ1bMk3IuzgHgR95 ey2XXh1GzLrkNfH7fgLen7uMw4qcOjozdy6/HTy2CM83m4g2fJcOW/flXezHL0fkKTgK ZXe/UVgruSWqzchXQgI/DjcDbxzRfLiaV38tSYVngQH2wP8rxhTOdOp1fMQAvtGU+C/f S6VrbJjh1buT1otc/vVtsgBOSSr20HFJB1nFQF466+YA962faMhdFpdOAq6Ra2XayXUB xARVivJ7E3B1dSo8m6CO9OS720SwMUcw+5yVdgQcvd2AvymDEvgUlkZI5HzaudTYN8R8 Cyvg== X-Gm-Message-State: ALoCoQkdcV5i7i2i1elz4EmROnePxA0dAKykn8kKUNZEmS3NKxSBMDKb3QiTpStWYtJJn7TpJQBH X-Received: by 10.180.75.200 with SMTP id e8mr17434233wiw.95.1424678139770; Sun, 22 Feb 2015 23:55:39 -0800 (PST) Received: from srini-ThinkPad-X1-Carbon-2nd.dlink.com (host-2-96-88-56.as13285.net. [2.96.88.56]) by mx.google.com with ESMTPSA id w8sm5933275wja.4.2015.02.22.23.55.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 22 Feb 2015 23:55:38 -0800 (PST) From: Srinivas Kandagatla To: Kumar Gala , linux-arm-msm@vger.kernel.org Cc: Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Russell King , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Nicolas Dechesne Subject: [PATCH 06/12] ARM: DT: apq8064: add pci support in CM QS600 Date: Mon, 23 Feb 2015 07:55:35 +0000 Message-Id: <1424678135-13178-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> References: <424678035-12862-1-git-send-email-srinivas.kandagatla@linaro.org> Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, 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 From: Nicolas Dechesne This patch adds PCIE support to APQ8064, tested with Ethernet on Compulab QS600 board. Signed-off-by: Nicolas Dechesne Acked-by: Igor Grinberg --- arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts index 5d75666..6e62f24 100644 --- a/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts +++ b/arch/arm/boot/dts/qcom-apq8064-cm-qs600.dts @@ -1,4 +1,5 @@ #include "qcom-apq8064-v2.0.dtsi" +#include / { model = "CompuLab CM-QS600"; @@ -40,6 +41,24 @@ }; }; + /* on board fixed 3.3v supply */ + v3p3_pcieclk: v3p3-pcieclk { + compatible = "regulator-fixed"; + regulator-name = "PCIE V3P3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + pci@1b500000 { + status = "ok"; + pcie-clk-supply = <&v3p3_pcieclk>; + avdd-supply = <&pm8921_s3>; + vdd-supply = <&pm8921_lvs6>; + qcom,external-phy-refclk; + reset-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + amba { /* eMMC */ sdcc1: sdcc@12400000 {