From patchwork Tue Aug 9 13:40:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Simek X-Patchwork-Id: 9271255 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 9DD0F60754 for ; Tue, 9 Aug 2016 13:43:52 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8F40328391 for ; Tue, 9 Aug 2016 13:43:52 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 83B95283E2; Tue, 9 Aug 2016 13:43:52 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 1306E28391 for ; Tue, 9 Aug 2016 13:43:52 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bX7HQ-0007g8-Uc; Tue, 09 Aug 2016 13:41:16 +0000 Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bX7H0-00079k-6d for linux-arm-kernel@lists.infradead.org; Tue, 09 Aug 2016 13:40:51 +0000 Received: by mail-wm0-x244.google.com with SMTP id i5so3176392wmg.2 for ; Tue, 09 Aug 2016 06:40:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monstr-eu.20150623.gappssmtp.com; s=20150623; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=1CS91comJhoQ+Z6njmFJVqSxrNJ42qSz4A9YeyP+g/I=; b=gyS2s7pILL4QG+dh+1i8xACHgwZYH7RP+60Rv2Ec6FgFHso/+ue7Bhmp7YXwm5LoHK CbWOrAfZLJMNld/wJ9lf4qwqy7Sx9dSr8JIX1M9c1vll4dEcyaZI7Ojdu3Vdhiv61OnO 7JvlXK7hMx7HL2YnF3xVSb1puYnJczWIkSXTCYOQ4omwlF5cirrTpOdM/y/eBGRq+5R3 Ljj8/seCT3igJbCx5Qb8jn2u2eq40jn9nqOD/072Dw1pOaaM3WDMuzwXkDkOlQixDIhH tEWy+Ld278Mw2y1s6iqRLFELQEKBAL0Q0N9OOfbUH3UFxGV6/50bPh0w8SRtW44ZyR+s o4Zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:in-reply-to:references; bh=1CS91comJhoQ+Z6njmFJVqSxrNJ42qSz4A9YeyP+g/I=; b=kqRcsw3pN6USnjbqoaf0HGxYaEcVIjIPNS1+gpbp6RT9WlnOZ4aMBp0eX3UxxrRhOD CKLwQx+JJKkbQfndPpn/D/FUw66uQBe05Cu1GfUFVfc+Gu4vyxhNddWj6f0k1Ec/4hPs B1cBWnm6NF/e/EmFXPrlQ3tle4ahdqM1xGwO3PUhRMY80ACA3L8/Rc0sHVpDkBfYLQYo OjEfSjeot4/pCwomIQnxD54s1WefSDaY515iax+NoOe/R48fAhZhXMueX5NUvbJR5+yh 7KMazZZb2OMftyQRi4AWWVdP3RV3J88mnBhk/XR0qB4Xhnnz+ZALRr2jeGQZYuZfLRYi QGlQ== X-Gm-Message-State: AEkoouvTVKRfTGgQXh+VDbZneHYHfnX1jPrti98uV4BsXwF9h2KbJ6yi+eLgvnE36CbQpQ== X-Received: by 10.194.238.42 with SMTP id vh10mr88329347wjc.111.1470750028780; Tue, 09 Aug 2016 06:40:28 -0700 (PDT) Received: from localhost (nat-35.starnet.cz. [178.255.168.35]) by smtp.gmail.com with ESMTPSA id q23sm3423046wme.17.2016.08.09.06.40.27 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 09 Aug 2016 06:40:28 -0700 (PDT) From: Michal Simek To: linux-arm-kernel@lists.infradead.org, Rob Herring Subject: [PATCH v3 2/2] ARM64: zynqmp: Add PCIe node Date: Tue, 9 Aug 2016 15:40:24 +0200 Message-Id: <5930f26f4b5dd129dce09f0a707817d5cf82fde9.1470750018.git.michal.simek@xilinx.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160809_064050_462910_8574F723 X-CRM114-Status: GOOD ( 10.04 ) 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 , devicetree@vger.kernel.org, monstr@monstr.eu, Catalin Marinas , Will Deacon , Alexander Graf , linux-kernel@vger.kernel.org, Bharat Kumar Gogada , =?UTF-8?q?S=C3=B6ren=20Brinkmann?= MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add PCIe node with prefetchable memory which goes beyond 4GB. Signed-off-by: Bharat Kumar Gogada Signed-off-by: Michal Simek --- Changes in v3: - New patch to show usage of 2/2 on main amba bus Changes in v2: None arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 39 ++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi index d24014765111..fbdd6ab98988 100644 --- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi +++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi @@ -193,6 +193,45 @@ #size-cells = <0>; }; + pcie: pcie@fd0e0000 { + compatible = "xlnx,nwl-pcie-2.11"; + status = "disabled"; + #address-cells = <3>; + #size-cells = <2>; + #interrupt-cells = <1>; + msi-controller; + device_type = "pci"; + interrupt-parent = <&gic>; + interrupts = <0 118 4>, + <0 117 4>, + <0 116 4>, + <0 115 4>, /* MSI_1 [63...32] */ + <0 114 4>; /* MSI_0 [31...0] */ + interrupt-names = "misc", "dummy", "intx", + "msi1", "msi0"; + msi-parent = <&pcie>; + reg = <0x0 0xfd0e0000 0x0 0x1000>, + <0x0 0xfd480000 0x0 0x1000>, + <0x80 0x00000000 0x0 0x1000000>; + reg-names = "breg", "pcireg", "cfg"; + ranges = <0x02000000 0x00000000 0xe0000000 0x00000000 + 0xe0000000 0x00000000 0x10000000 + /* non-prefetchable memory */ + 0x43000000 0x00000006 0x00000000 0x00000006 + 0x00000000 0x00000002 0x00000000>; + /* prefetchable memory */ + interrupt-map-mask = <0x0 0x0 0x0 0x7>; + interrupt-map = <0x0 0x0 0x0 0x1 &pcie_intc 0x1>, + <0x0 0x0 0x0 0x2 &pcie_intc 0x2>, + <0x0 0x0 0x0 0x3 &pcie_intc 0x3>, + <0x0 0x0 0x0 0x4 &pcie_intc 0x4>; + pcie_intc: legacy-interrupt-controller { + interrupt-controller; + #address-cells = <0>; + #interrupt-cells = <1>; + }; + }; + sata: ahci@fd0c0000 { compatible = "ceva,ahci-1v84"; status = "disabled";