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: 44894 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wg0-f69.google.com (mail-wg0-f69.google.com [74.125.82.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 9BFE52158C for ; Mon, 23 Feb 2015 07:55:52 +0000 (UTC) Received: by mail-wg0-f69.google.com with SMTP id k14sf15976329wgh.0 for ; Sun, 22 Feb 2015 23:55:51 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=ddWK9Hn5j+7qBjkxiylGP75EaJcSIBmTJgVm2Q+RyFI=; b=VPr0AzrVmQWq7bIA8U75ASU4tGaCelJZXleY9jXHy4LBmjXi33fhQmcOzfZn5O7TBJ jJGP4P03/FLj9pcH3Nms4wZmL77XHCf5UPQ1yTg4aXJ1IVqi+wHIaGsQ2KeoW8n93Pk1 ijsBg6k7bgmPoK4PBTRpg8WhMNsR2ZP+3Nxd5TpY7XHow8s+8dC8uKFYtbYYdFxMva0j PNJGGVyaE1Ntq5XA4in4rreqgrf5/ha7d6Ju1z2KSEU64V+nRng6ilc4hDDDU3O3gP+b jv4N+dz3CKbyqG9Og6G9xvN7IyJ1bw3D6g5863bUnGficVBPi642W9ly+pJyj8Ot2NUy 3BSg== X-Gm-Message-State: ALoCoQlhyOIe2kYTr8GKaG/yhR6O1MnoeNpK7Cbv2VK8wHzwbYJolOl3eIbaBgT+I45xDuOsv6VY X-Received: by 10.112.219.102 with SMTP id pn6mr449643lbc.12.1424678151913; Sun, 22 Feb 2015 23:55:51 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.153.5.9 with SMTP id ci9ls513361lad.40.gmail; Sun, 22 Feb 2015 23:55:51 -0800 (PST) X-Received: by 10.152.37.69 with SMTP id w5mr8605751laj.15.1424678151665; Sun, 22 Feb 2015 23:55:51 -0800 (PST) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id ac6si4177693lbc.7.2015.02.22.23.55.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Feb 2015 23:55:51 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by labgf13 with SMTP id gf13so16708578lab.9 for ; Sun, 22 Feb 2015 23:55:51 -0800 (PST) X-Received: by 10.152.87.3 with SMTP id t3mr8661884laz.19.1424678151568; Sun, 22 Feb 2015 23:55:51 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.35.133 with SMTP id h5csp1103879lbj; Sun, 22 Feb 2015 23:55:50 -0800 (PST) X-Received: by 10.68.65.5 with SMTP id t5mr16971284pbs.135.1424678149943; Sun, 22 Feb 2015 23:55:49 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u1si7523005pdh.187.2015.02.22.23.55.48; Sun, 22 Feb 2015 23:55:49 -0800 (PST) Received-SPF: none (google.com: linux-kernel-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752534AbbBWHzp (ORCPT + 28 others); Mon, 23 Feb 2015 02:55:45 -0500 Received: from mail-wi0-f171.google.com ([209.85.212.171]:60330 "EHLO mail-wi0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402AbbBWHzk (ORCPT ); Mon, 23 Feb 2015 02:55:40 -0500 Received: by mail-wi0-f171.google.com with SMTP id hi2so14752810wib.4 for ; Sun, 22 Feb 2015 23:55:39 -0800 (PST) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: srinivas.kandagatla@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , From: Nicolas Dechesne This patch adds PCIE support to APQ8064, tested with Ethernet on Compulab QS600 board. Signed-off-by: Nicolas Dechesne --- 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 {