From patchwork Mon Nov 23 09:29:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 7678531 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 ABE3BBF90C for ; Mon, 23 Nov 2015 09:32:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D3F2D2061D for ; Mon, 23 Nov 2015 09:32:27 +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 121302061B for ; Mon, 23 Nov 2015 09:32:27 +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 1a0nST-0005ft-Tg; Mon, 23 Nov 2015 09:30:49 +0000 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1a0nRn-00041s-1N for linux-arm-kernel@lists.infradead.org; Mon, 23 Nov 2015 09:30:08 +0000 Received: by wmuu63 with SMTP id u63so45496896wmu.0 for ; Mon, 23 Nov 2015 01:29:46 -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 :in-reply-to:references; bh=cNBoCEEH0moyx2DlnKVXWTvkiskAGOQa9o55ltyiDS4=; b=erkX7a9TXPFhVC4Rb22Q1K0ZwRG7ClOOhtUj3sQhvlmuO+HxIjiDkYUu+4/aP7EKqD KEFE9sVEAmqwqYztBvPPRWx4JtL82O64w9wb3tOIZBOTaK4oB6BSxcVDU7FLCqRf8yUb l8wQBvDGATLQIY5WMFod2QXmn36t7U5N/BWreEDr1ViPPqQUo4u6BmIHI+F/Q4mc/MHx +3RHd30iUSW+Z57xWnMySSHxre7IfaFp86oq3SRXxf8mrvBX31qIipAxlL5CCUaecKCp 30sBLmBjGDVUCMg284D21Ud43GDxhO1UzZO2HT7BOLm17mUyABUcPvWoDTzAf0N6NNBq y4wg== 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:in-reply-to:references; bh=cNBoCEEH0moyx2DlnKVXWTvkiskAGOQa9o55ltyiDS4=; b=Dhljh0aoYd2pLI30VoBhn4ZdKDV6VhG9eG3FnNlUMdW/EBu7cHz9LSd9XJDbMx0r/W o7v4CX1NYb+sAZ+IvXcuSX+D8ytpzcAu1fdHTE7U88+/bwiQem5B2DXiiSHMAIbA0f+m FxlxexJQbJwEzBj+5lzyg1UtxXwGunuE0TQ5pNALEWSJqFvz0gQhY/Kbe6sWggpXDP7X n2dCsCH2N8piK9Bgy7iTVcSM01t/mYK/SO0Qzk36sDvw+2gB0TMSJDmpf9OBjeLvZD5X 7Ug9Hj4gXN8fjHWaCCt+k3HwwkF9Fbky82DrLVwNqjFRXlR4HziM4+tzwwz3MZ39wsD+ L3bg== X-Gm-Message-State: ALoCoQmtzd9UXKVUgz++ckbnMEGsKZqchg1c8viaywBJ4+1rV12A4DKrAVti74wvxvEnCoZ3bOPb X-Received: by 10.28.96.193 with SMTP id u184mr6180991wmb.64.1448270986125; Mon, 23 Nov 2015 01:29:46 -0800 (PST) Received: from mms734.qualcomm.mm-sol.com ([37.157.136.206]) by smtp.gmail.com with ESMTPSA id k125sm5547508wmf.2.2015.11.23.01.29.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 23 Nov 2015 01:29:45 -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 Subject: [PATCH v3 5/6] ARM: dts: apq8064: add pcie devicetree node Date: Mon, 23 Nov 2015 11:29:02 +0200 Message-Id: <6f3e1dfd0fb433dbe07242ad32c5cbca39126e59.1448270813.git.stanimir.varbanov@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20151123_013007_254507_361F3DEE X-CRM114-Status: GOOD ( 11.57 ) X-Spam-Score: -2.6 (--) 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: Mark Rutland , Arnd Bergmann , Pawel Moll , Ian Campbell , Jingoo Han , Pratyush Anand , Stanimir Varbanov , Rob Herring , Srinivas Kandagatla , Bjorn Andersson 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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable 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 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(+) diff --git a/arch/arm/boot/dts/qcom-apq8064.dtsi b/arch/arm/boot/dts/qcom-apq8064.dtsi index a4c1762b53ea..bb7181e8ef2f 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-v0", "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"; + }; }; };