From patchwork Thu Dec 3 13:35:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 57654 Delivered-To: patch@linaro.org Received: by 10.112.155.196 with SMTP id vy4csp3500386lbb; Thu, 3 Dec 2015 05:36:53 -0800 (PST) X-Received: by 10.66.159.226 with SMTP id xf2mr13074163pab.23.1449149812904; Thu, 03 Dec 2015 05:36:52 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 68si12116907pfi.137.2015.12.03.05.36.52; Thu, 03 Dec 2015 05:36:52 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro-org.20150623.gappssmtp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760302AbbLCNgv (ORCPT + 28 others); Thu, 3 Dec 2015 08:36:51 -0500 Received: from mail-wm0-f49.google.com ([74.125.82.49]:36236 "EHLO mail-wm0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760247AbbLCNgQ (ORCPT ); Thu, 3 Dec 2015 08:36:16 -0500 Received: by wmww144 with SMTP id w144so21349237wmw.1 for ; Thu, 03 Dec 2015 05:36:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=YYc/gH8xVu/FxzzjcMfLibaOc36brqws5szFcntUjYw=; b=loebewRuPgvZpN0l/fy2o5z09BN1zcIRfUHickD7qKuOw1BaihahDH5US/KIRVCF2h 263zl9WKDcH6zdLaTq73OxD8+MSuqXEtP3iPG94DjWA+RPTSsfN5HB9ELJnb7lsXC43/ MJd0yrMPzgcjZVflGkz7+UAGCpeloh9/9ULGe45v1G+0Uxw0VSdk9b0UBAwNhcZG20c9 +M3kzVc3zEmZezcNhjgL678B+lS17K/8DOookDtiOSl2ujtM/vD+2xHO/kr3PoHkWlAB alsKqysQCKv2Dlr6uMaiYuMgfO8byHTQR3t2up456IGlXQn8uF03iF0HL5NtEJIZYduE eHoQ== 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=YYc/gH8xVu/FxzzjcMfLibaOc36brqws5szFcntUjYw=; b=ZmowtiT3X+SwWgHBXt3IHXJO1B4kp1U0igdDWowHLfckqgiuCD6x7/CJGKOpvAh5VO zGPtr44PhaYhkSfO+qOLxiYwW9gP2aZ+26AE5vC+yXZ3gBlrSgMg8hPx4FZcHVJpjpAy 4qc03TOmsF9HhBCK45u8r18HJzpSAhWIq9Ge9aNCiIszVzxprNtZAkpccp2jztT01Rw4 JUccJH7cTyNvohCJ4aZ37ohq/wN71JTl/mORiB+hI+pl2694wR/dnc0kx0DRXfq5Q6I8 tj6EBwd6Ve3G6ouUsB+6JOPlCLnkQkejEW/dJFUMiBTgG7rDqH5CdonVL9N3UeCuqxrJ MMrw== X-Gm-Message-State: ALoCoQk2iQtBRE6/oswKGSNYTgIFmMSXyqsTTochavgqZ5R9OK3qR3B+eXrHXlugePW+Onu6upi+ X-Received: by 10.194.78.212 with SMTP id d20mr12018759wjx.70.1449149774898; Thu, 03 Dec 2015 05:36:14 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id h189sm35769187wme.1.2015.12.03.05.36.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Dec 2015 05:36:14 -0800 (PST) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-pci@vger.kernel.org, Bjorn Helgaas Cc: Srinivas Kandagatla , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v4 4/5] ARM: dts: apq8064: add pcie devicetree node Date: Thu, 3 Dec 2015 15:35:23 +0200 Message-Id: <1449149725-27607-5-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> References: <1449149725-27607-1-git-send-email-stanimir.varbanov@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the pcie dt node so that it can probe and used. Signed-off-by: Stanimir Varbanov --- arch/arm/boot/dts/qcom-apq8064.dtsi | 36 +++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) -- 1.7.9.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a4c1762b53ea..847150fbfdbf 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -659,5 +659,41 @@ compatible = "qcom,tcsr-apq8064", "syscon"; reg = <0x1a400000 0x100>; }; + + pcie: pci@1b500000 { + compatible = "qcom,pcie-apq8064", "snps,dw-pcie"; + reg = <0x1b500000 0x1000 + 0x1b502000 0x80 + 0x1b600000 0x100 + 0x0ff00000 0x100000>; + reg-names = "dbi", "elbi", "parf", "config"; + device_type = "pci"; + linux,pci-domain = <0>; + bus-range = <0x00 0xff>; + num-lanes = <1>; + #address-cells = <3>; + #size-cells = <2>; + ranges = <0x81000000 0 0 0x0fe00000 0 0x00100000 /* I/O */ + 0x82000000 0 0 0x08000000 0 0x07e00000>; /* memory */ + interrupts = ; + interrupt-names = "msi"; + #interrupt-cells = <1>; + interrupt-map-mask = <0 0 0 0x7>; + interrupt-map = <0 0 0 1 &intc 0 36 IRQ_TYPE_LEVEL_HIGH>, /* int_a */ + <0 0 0 2 &intc 0 37 IRQ_TYPE_LEVEL_HIGH>, /* int_b */ + <0 0 0 3 &intc 0 38 IRQ_TYPE_LEVEL_HIGH>, /* int_c */ + <0 0 0 4 &intc 0 39 IRQ_TYPE_LEVEL_HIGH>; /* int_d */ + clocks = <&gcc PCIE_A_CLK>, + <&gcc PCIE_H_CLK>, + <&gcc PCIE_PHY_REF_CLK>; + clock-names = "core", "iface", "phy"; + resets = <&gcc PCIE_ACLK_RESET>, + <&gcc PCIE_HCLK_RESET>, + <&gcc PCIE_POR_RESET>, + <&gcc PCIE_PCI_RESET>, + <&gcc PCIE_PHY_RESET>; + reset-names = "axi", "ahb", "por", "pci", "phy"; + status = "disabled"; + }; }; };