From patchwork Wed Mar 23 19:47:51 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 8653761 Return-Path: X-Original-To: patchwork-linux-arm@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 BEC9DC0553 for ; Wed, 23 Mar 2016 19:51:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C92F7203ED for ; Wed, 23 Mar 2016 19:51:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 03FC1203E5 for ; Wed, 23 Mar 2016 19:51:51 +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 1aionH-0004lX-MQ; Wed, 23 Mar 2016 19:50:15 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aiolK-0002tv-Tq for linux-arm-kernel@lists.infradead.org; Wed, 23 Mar 2016 19:48:17 +0000 Received: by mail-wm0-x22e.google.com with SMTP id l68so38106363wml.1 for ; Wed, 23 Mar 2016 12:47:54 -0700 (PDT) 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=r4NwoNdFwapygs2gJEtSiAl4Y84Bf7jUq6PWCfESN38=; b=PYZtGLNl9mjGEFiv8ssRWwoVoFijRlmWdyFYQn4i5nDd0GDvbYBAT9Px3+YIaewcVj 3EE6arE5O01uTVj4d7ZQ124lRQkngZii3x2z+LAxl2XC/Lazp7nVJ8gvCgaIBUl6Z1P4 TrnLUXIsuIE+Qyc52Jd0pH+IDyRkjwjclqT8s= 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=r4NwoNdFwapygs2gJEtSiAl4Y84Bf7jUq6PWCfESN38=; b=W5F+QLJzv3owYgGlc+Er1o4hShBbDxGYBbeYFJakniuw0jOxnAu0w5CbLIa+PCH3so PoSflJTvNMN2hdzLtIwY/Y3hjdQMtagv3ozpRvZOInfdvZq+BpDE1fEGa0naGvE3tJUp bVXfvSE9rV6uOiGS51Y+NUlHBWKk6qkqeIginCFBN4K//8S1Ck66Wcv8y5JDYiDO40OE oEhiCuivo4jpFlBrEcV1hybg1k+4uHSsw22PrpBFyE9anpOaw1ayUFvTgsyiL5BT3skt MdH3XzYaybnJH51D7ViF43WIAwZI8WKAE67WP4ZPL9rPXsXPAY8mAqORsoSmziGjG6vP h74A== X-Gm-Message-State: AD7BkJIP9awPJQtyTsrpDD34pP1Ekg8C72zzy32NVoFxscqGsrGZFCLLbce/zgMO1BES4Avi X-Received: by 10.28.215.79 with SMTP id o76mr29153840wmg.95.1458762473679; Wed, 23 Mar 2016 12:47:53 -0700 (PDT) Received: from localhost.localdomain (host-92-17-247-99.as13285.net. [92.17.247.99]) by smtp.gmail.com with ESMTPSA id i137sm22210718wmf.18.2016.03.23.12.47.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 23 Mar 2016 12:47:53 -0700 (PDT) From: Srinivas Kandagatla To: Andy Gross , linux-arm-msm@vger.kernel.org Subject: [PATCH 08/12] ARM: dts: dragonboard-600c: add pcie support Date: Wed, 23 Mar 2016 19:47:51 +0000 Message-Id: <1458762471-9676-1-git-send-email-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> References: <1458762366-9233-1-git-send-email-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160323_124815_378330_272C1345 X-CRM114-Status: GOOD ( 10.59 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Srinivas Kandagatla , linux-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED, T_DKIM_INVALID, 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 This patch adds pcie and regulators required to get on board ATL1C ethernet working. Acked-by: Bjorn Andersson --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts index 5374510..d3e6193 100644 --- a/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts +++ b/arch/arm/boot/dts/qcom-apq8064-dragonboard-600c.dts @@ -20,6 +20,16 @@ regulator-type = "voltage"; regulator-boot-on; }; + + /* on board fixed 3.3v supply */ + vcc3v3: vcc3v3 { + compatible = "regulator-fixed"; + regulator-name = "VCC3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + }; soc { @@ -31,6 +41,18 @@ bias-disable; }; }; + + pcie_pins: pcie_pinmux { + mux { + pins = "gpio27"; + function = "gpio"; + }; + conf { + pins = "gpio27"; + drive-strength = <12>; + bias-disable; + }; + }; }; rpm@108000 { @@ -109,6 +131,10 @@ regulator-max-microvolt = <1900000>; bias-pull-down; }; + + lvs6 { + bias-pull-down; + }; }; }; @@ -135,6 +161,16 @@ }; }; + pci@1b500000 { + status = "okay"; + vdda-supply = <&pm8921_s3>; + vdda_phy-supply = <&pm8921_lvs6>; + vdda_refclk-supply = <&vcc3v3>; + pinctrl-0 = <&pcie_pins>; + pinctrl-names = "default"; + perst-gpio = <&tlmm_pinmux 27 GPIO_ACTIVE_LOW>; + }; + /* OTG */ phy@12500000 { status = "okay";