From patchwork Fri Dec 18 12:38:58 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 58659 Delivered-To: patch@linaro.org Received: by 10.112.89.199 with SMTP id bq7csp998767lbb; Fri, 18 Dec 2015 04:40:02 -0800 (PST) X-Received: by 10.66.246.161 with SMTP id xx1mr4839730pac.106.1450442402372; Fri, 18 Dec 2015 04:40:02 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l82si137401pfi.145.2015.12.18.04.40.01; Fri, 18 Dec 2015 04:40:02 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932235AbbLRMj7 (ORCPT + 29 others); Fri, 18 Dec 2015 07:39:59 -0500 Received: from mail-wm0-f50.google.com ([74.125.82.50]:34350 "EHLO mail-wm0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753283AbbLRMja (ORCPT ); Fri, 18 Dec 2015 07:39:30 -0500 Received: by mail-wm0-f50.google.com with SMTP id l126so63923797wml.1 for ; Fri, 18 Dec 2015 04:39:30 -0800 (PST) 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=G3h2pDDggyJOD5TIyJKsc4OvFyKa2ssaycQEUxLhwCY=; b=hIm7YbaK/fBZD4suiOPus4UrH3/bO8ku9cdpWfsPo/V7MowLxGstE0y0rh0MuwBFKX O0bP0Q9/NZwzkw6XV5XQyiPvtbpqC/KgsPX/1tTYazCjW18KxDNy8CMsAZkdWMu+Xha3 P8mEPx2NQVWKNf3YU1sNHmJ5xmtI77IV+C1Bs= 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=G3h2pDDggyJOD5TIyJKsc4OvFyKa2ssaycQEUxLhwCY=; b=NkiCq4/KleI2IZZog5/VeQhMKFnH++SGwR1ThIuW/a4G4HuseiLgpMGwLSLHOf685F qkd9LORBZievFGDO8Oijj3nP6MGzxsk5MDKiMgeq7plSPKWQIDi+oirDqFU+XcdgsHQ6 xTH7iXKxjsTQ23ZvPMZyCQzI5x7FZVJTwAc3rV9/Uqfgq1njNz/HlxVJx9NUUllf+US0 oJ6s2BfdcZwgr3lNDCILTH4XOqncrEcn1tjwCNjdUKE006BS0TPoLcwMNcJJhnVsiZDa kAqBvhU9sxiQ1KJ4TdZOW4PQBrPvP0oEWL2sOkPSh3Gv6fkCGC5rcI2HVIVcjFpGg+AB YXMg== X-Gm-Message-State: ALoCoQn7pTskpSP8XbLGQ4PIUu37Pzio/IxOANcycowVtI2WAlCh2UEVat3XUE406/f36KX0pZc4tYOPy6n/nNx6WAKZbqi4xw== X-Received: by 10.194.185.42 with SMTP id ez10mr4498918wjc.82.1450442369617; Fri, 18 Dec 2015 04:39:29 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id c13sm6521619wmd.14.2015.12.18.04.39.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 18 Dec 2015 04:39:29 -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 , Russell King , Rob Herring , Rob Herring , Mark Rutland , Pawel Moll , Ian Campbell , Arnd Bergmann , Jingoo Han , Pratyush Anand , Bjorn Andersson , Stanimir Varbanov Subject: [PATCH v5 4/5] ARM: dts: apq8064: add pcie devicetree node Date: Fri, 18 Dec 2015 14:38:58 +0200 Message-Id: <1450442339-18765-5-git-send-email-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1450442339-18765-1-git-send-email-stanimir.varbanov@linaro.org> References: <1450442339-18765-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 1a57278cb818..495807eab8f3 100644 --- a/arch/arm/boot/dts/qcom-apq8064.dtsi +++ b/arch/arm/boot/dts/qcom-apq8064.dtsi @@ -705,5 +705,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"; + }; }; };