From nobody Tue Dec 23 14:11:43 2025 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1CC03C6FA86 for ; Tue, 27 Sep 2022 09:17:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231774AbiI0JRK (ORCPT ); Tue, 27 Sep 2022 05:17:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46976 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231634AbiI0JQx (ORCPT ); Tue, 27 Sep 2022 05:16:53 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CEBA9F778; Tue, 27 Sep 2022 02:16:37 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 480C820EC90; Tue, 27 Sep 2022 11:16:35 +0200 (CEST) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0148820EC91; Tue, 27 Sep 2022 11:16:35 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 8E48D181D0CA; Tue, 27 Sep 2022 17:16:32 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, bhelgaas@google.com, robh+dt@kernel.org, lorenzo.pieralisi@arm.com, shawnguo@kernel.org, kishon@ti.com, kw@linux.com, frank.li@nxp.com Cc: hongxing.zhu@nxp.com, linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: [PATCH v4 08/14] arm64: dts: Add i.MX8MP PCIe EP support Date: Tue, 27 Sep 2022 16:57:10 +0800 Message-Id: <1664269036-16142-9-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1664269036-16142-1-git-send-email-hongxing.zhu@nxp.com> References: <1664269036-16142-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Add i.MX8MP PCIe EP support. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mp.dtsi | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp.dtsi b/arch/arm64/boot/dt= s/freescale/imx8mp.dtsi index 21a4cc417c81..104d61a64a00 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mp.dtsi @@ -1142,6 +1142,25 @@ pcie: pcie@33800000 { status =3D "disabled"; }; =20 + pcie_ep: pcie_ep@33800000 { + compatible =3D "fsl,imx8mp-pcie-ep"; + reg =3D <0x33800000 0x000400000>, <0x18000000 0x08000000>; + reg-names =3D "regs", "addr_space"; + num-lanes =3D <1>; + interrupts =3D ; /* eDMA */ + interrupt-names =3D "dma"; + fsl,max-link-speed =3D <3>; + power-domains =3D <&hsio_blk_ctrl IMX8MP_HSIOBLK_PD_PCIE>; + resets =3D <&src IMX8MP_RESET_PCIE_CTRL_APPS_EN>, + <&src IMX8MP_RESET_PCIE_CTRL_APPS_TURNOFF>; + reset-names =3D "apps", "turnoff"; + phys =3D <&pcie_phy>; + phy-names =3D "pcie-phy"; + num-ib-windows =3D <4>; + num-ob-windows =3D <4>; + status =3D "disabled"; + }; + gpu3d: gpu@38000000 { compatible =3D "vivante,gc"; reg =3D <0x38000000 0x8000>; --=20 2.25.1