From patchwork Mon Aug 14 11:34:18 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 9898629 X-Patchwork-Delegate: agross@codeaurora.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 11A01602BA for ; Mon, 14 Aug 2017 11:35:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 051382858E for ; Mon, 14 Aug 2017 11:35:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id EE0A528613; Mon, 14 Aug 2017 11:35:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 78E8A2858E for ; Mon, 14 Aug 2017 11:35:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753144AbdHNLfQ (ORCPT ); Mon, 14 Aug 2017 07:35:16 -0400 Received: from mail-io0-f177.google.com ([209.85.223.177]:38907 "EHLO mail-io0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752870AbdHNLee (ORCPT ); Mon, 14 Aug 2017 07:34:34 -0400 Received: by mail-io0-f177.google.com with SMTP id g71so37418562ioe.5 for ; Mon, 14 Aug 2017 04:34:34 -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=jNkJS2AgvyzmMekYvyg4e0usx+qMGvwW6JQFFFJvmlw=; b=OF09rKx0ltlf6Tlg1wBITsD7QzN2yLjqBpA1unR5mY9wOnoJ4vJkQ0QrXi4N04RDO3 kL8WpQFL1A1zcZH6Pspv7dUQYJLa/wNdE0l3WlXxqtWb/PgB0mdo9ATwSCk8f4JrAOMr 8Kw+9UIgh8nNvIL11DSBVZt2OEtXpXeNYL12M= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=jNkJS2AgvyzmMekYvyg4e0usx+qMGvwW6JQFFFJvmlw=; b=VJuwWHnePpoyo8VFMleJK8SZhGRzkSs98ZkARiTbf3VEWMcaDFS3DnsxBAWll7UDMk xQE1zLw7dY0Q0ufnApYmOZoEiWtUn0qW0whkVH6QcqIZfnIdggXI2ARodVn+ceUDdhYJ PNMHUvfxEwtKcAVcGWJkJOBbOnsszgZlJeBHnZxc9UjAT13qosZy3VfkAdj0JVMCLZ58 8s/BQyY33FY9u8byMSsUQN3flWRUrFfklRmpjYsjtNHp2UMDaq2OZ0AEfoRb5x3qi0ac Xu212kLlpUKDXgcVl7/Wh65dQ0fdMzkELPTLj+M279aXi69w0DohtSqsZR0o67eMzqAL 3P8A== X-Gm-Message-State: AHYfb5gd4Vrr28Sh1cYAae6yUa0eebDxdWyzDoYo3x4xeXNkGOx6Hgwd VjIaFaaMHQTPpmDjP+eAoA== X-Received: by 10.107.132.33 with SMTP id g33mr18280522iod.300.1502710473892; Mon, 14 Aug 2017 04:34:33 -0700 (PDT) Received: from localhost.localdomain (static.8.26.4.46.clients.your-server.de. [46.4.26.8]) by smtp.gmail.com with ESMTPSA id y4sm2679994itb.22.2017.08.14.04.34.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 14 Aug 2017 04:34:33 -0700 (PDT) From: srinivas.kandagatla@linaro.org To: Andy Gross , linux-arm-msm@vger.kernel.org Cc: linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 2/3] arm64: dts: apq8096-db820c: Enable on board 3 pcie root complex Date: Mon, 14 Aug 2017 13:34:18 +0200 Message-Id: <20170814113420.30866-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170814113420.30866-1-srinivas.kandagatla@linaro.org> References: <20170814113420.30866-1-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-Virus-Scanned: ClamAV using ClamSMTP From: Srinivas Kandagatla This patch adds enables 3 instances of root complexes which are exposed on DB820c board. 3 Instances are terminted as below PCIE0 => QCA6174 PCIE1 => MINI PCIE CARD PCIE2 => GBE ETHERNET Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi index 789f3e87321e..18c61693529e 100644 --- a/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi +++ b/arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi @@ -138,6 +138,22 @@ pinctrl-names = "default"; pinctrl-0 = <&usb2_vbus_det_gpio>; }; + + agnoc@0 { + qcom,pcie@00600000 { + perst-gpio = <&msmgpio 35 GPIO_ACTIVE_LOW>; + }; + + qcom,pcie@00608000 { + status = "okay"; + perst-gpio = <&msmgpio 130 GPIO_ACTIVE_LOW>; + }; + + qcom,pcie@00610000 { + status = "okay"; + perst-gpio = <&msmgpio 114 GPIO_ACTIVE_LOW>; + }; + }; };