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: 5863161 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 7517D9F37F for ; Mon, 23 Feb 2015 07:59:35 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9E9322062B for ; Mon, 23 Feb 2015 07:59:34 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C91E720615 for ; Mon, 23 Feb 2015 07:59:33 +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 1YPntI-0002wM-61; Mon, 23 Feb 2015 07:57:20 +0000 Received: from mail-wi0-f178.google.com ([209.85.212.178]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1YPns1-00021i-Rm for linux-arm-kernel@lists.infradead.org; Mon, 23 Feb 2015 07:56:02 +0000 Received: by mail-wi0-f178.google.com with SMTP id em10so14574864wid.5 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=ZjhB22ZrP6spe4wpWgY1r1kS1GqnGcBr6d2vLt4ySNi6dd6uFthvegcej3IEul96ws MjQT2dT5ABBE1Ue0Ehoypo5MG6HxV2zKCZVruiRhIF5eDO3BOW/LQbVeJhEW8UstV4iK Ih6TQwYXtirh0TInRUmZKCjqqd63AtJue6WOW2u9nwckkIuZSvw1vwvHR4rz6Tccp0Nb r+gZRhXz2t5KfkKkg5HYXkKyZt4eFusoX+mc/cEv4D0rDdw3aU9E8ojVhVffS0zfubaX Qy6/ruO/T3k1KFnlD/SVX6waIyKKD0gsukEQk9zZxFVuEdq49V1ipYSlTilR2t2XUcak 4MHw== X-Gm-Message-State: ALoCoQnwbWufnVyJJMu8NTaAtx1nbMCWQ72c4QHRfGzQM2Pcd2zPoZF8SgYPe2M6uQo/XoFrHzPr 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 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> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150222_235602_091061_B93C65F2 X-CRM114-Status: UNSURE ( 9.90 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -0.7 (/) Cc: Mark Rutland , devicetree@vger.kernel.org, Russell King , Pawel Moll , Ian Campbell , linux-kernel@vger.kernel.org, Rob Herring , Nicolas Dechesne , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 {