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: 64270 Delivered-To: patch@linaro.org Received: by 10.112.199.169 with SMTP id jl9csp232755lbc; Wed, 23 Mar 2016 12:48:18 -0700 (PDT) X-Received: by 10.66.90.199 with SMTP id by7mr6745750pab.113.1458762484102; Wed, 23 Mar 2016 12:48:04 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b74si6354001pfd.69.2016.03.23.12.48.03; Wed, 23 Mar 2016 12:48:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932710AbcCWTr4 (ORCPT + 7 others); Wed, 23 Mar 2016 15:47:56 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:33298 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932754AbcCWTrz (ORCPT ); Wed, 23 Mar 2016 15:47:55 -0400 Received: by mail-wm0-f47.google.com with SMTP id l68so247587230wml.0 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=jsYG6WBT3B5I/199A+Dp52GXT8ph7B+4PW1qSsLE7CxrSlspQYRWh6GK27TWGj7CA7 9wwFBzrTwtIKI3FK5dOzvjs7LTCFH9KK7K/p0liMvVsqj/g/K4CZvJ7lVbqzaB8QAOTn +HP0LoV2UEj1dGEPRSKYngDiqVQJX5adiinExphZDUmhO76z502GRpFjG0L3ZaT//Qp9 1XH26OipCrjYOovjPb9mdhj/wE57EUiDvKAba767jwYKjG7AF/eit9zUEvffLHI75VNX A35uBo9r+MJ4OGHOZ7MInPQJ3YxL4QuN0sQes5fuizsBX/VXFLWWyB0aJYZxegN/KGbb lKnA== X-Gm-Message-State: AD7BkJLJowCEotnFBS7aPKbzcxE5yD7upucZKoqbJmih1DsTpbnAhIbmPYYXUKAy7DNILcMJ 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 Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-soc@vger.kernel.org, Srinivas Kandagatla 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> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This patch adds pcie and regulators required to get on board ATL1C ethernet working. --- .../arm/boot/dts/qcom-apq8064-dragonboard-600c.dts | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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";