Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2799675rwb; Sun, 15 Jan 2023 22:52:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXvITCK6BSdfEZ9BzlxzNZyUEOThY8Sm1K8FInQdX1LP7h0gQpPYMU3bFsk0iP+T5PI4pLkW X-Received: by 2002:a05:6a20:cb58:b0:a4:255b:f3bd with SMTP id hd24-20020a056a20cb5800b000a4255bf3bdmr88383719pzb.45.1673851933696; Sun, 15 Jan 2023 22:52:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673851933; cv=none; d=google.com; s=arc-20160816; b=dZemEXKVSxK+U+4skj2uQWk9uQg6RNAJ+JX1dTO4Lc1opUTN017PRcT/rJC0JL74ko NmiRlgVUPLp0WabiQv78HBF+YtA/SqE38iRDaPvtGrVX8p73csfh7N/US3TrsRl8UVa1 x7gUpCFkLb9f4H+J0wVDqebtmapxpbQD7stIE7bJeK2hPUNtAlaMNFjI/qqNWfN3Em1c tu8IeYkGTSZ7fCQgY9vf/ZVD5ThzW1yC1N7ukB+X+9DXvTnBdlF6cFYbgbsYpBilndBm ti+IGa7LTVpDrdUM0tsLW8zvjgY4d29ZtNhQeSHtJM0YWjfacJarEronMYMQ8VtpGq7d iarQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=O2HVkJLdkGYQj54G9H3tvPRmU4ed1M/CXVl7yySXuX4=; b=kQI8DXMGuTHHtWLJytmyvtPqwS41lSP4QeFPl0qeTN10ZPH+XoTLMvAi9vipoWc3Wr f1PWl3f0hcWXcx+Oy2yzJItBfffNzneUwJ5LgY+Ry7AeZ5Lx67wQCjU2r308uL5BHzYZ hmq4obLN1iI93yX7bittGI/q+9cNkvmNRzW5yvUh7KMxYwrBFTsCazidWEmRGpBfowp6 x1unqQ/U5MMKXRJ6VCW0E1w8Xg/Fkr18Y9XQsoWozXT5/rzg27l4yiTAvINT+sfYTnkZ eT5/T1GodjskeVd6aIgqIs2u1bnqCS6TrnTNlK+hLtjTl24Ujl82ExoomUi1D1eH84EY QZBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a63e44c000000b004772bd28105si28457493pgk.831.2023.01.15.22.52.07; Sun, 15 Jan 2023 22:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231730AbjAPGGY (ORCPT + 52 others); Mon, 16 Jan 2023 01:06:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45396 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231855AbjAPGGD (ORCPT ); Mon, 16 Jan 2023 01:06:03 -0500 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3D2AB441; Sun, 15 Jan 2023 22:06:00 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 764211A06D4; Mon, 16 Jan 2023 07:05:59 +0100 (CET) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 401D01A06BD; Mon, 16 Jan 2023 07:05:59 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id C7DC7183AC0F; Mon, 16 Jan 2023 14:05:57 +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 v5 04/14] arm64: dts: Add i.MX8MM PCIe EP support Date: Mon, 16 Jan 2023 13:41:14 +0800 Message-Id: <1673847684-31893-5-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1673847684-31893-1-git-send-email-hongxing.zhu@nxp.com> References: <1673847684-31893-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add i.MX8MM PCIe EP support. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mm.dtsi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm.dtsi b/arch/arm64/boot/dts/freescale/imx8mm.dtsi index 4ee89fdcf59b..8124761f629c 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1293,6 +1293,26 @@ pcie0: pcie@33800000 { status = "disabled"; }; + pcie0_ep: pcie_ep@33800000 { + compatible = "fsl,imx8mm-pcie-ep"; + reg = <0x33800000 0x400000>, + <0x18000000 0x8000000>; + reg-names = "regs", "addr_space"; + num-lanes = <1>; + interrupts = ; + interrupt-names = "dma"; + fsl,max-link-speed = <2>; + power-domains = <&pgc_pcie>; + resets = <&src IMX8MQ_RESET_PCIE_CTRL_APPS_EN>, + <&src IMX8MQ_RESET_PCIE_CTRL_APPS_TURNOFF>; + reset-names = "apps", "turnoff"; + phys = <&pcie_phy>; + phy-names = "pcie-phy"; + num-ib-windows = <4>; + num-ob-windows = <4>; + status = "disabled"; + }; + gpu_3d: gpu@38000000 { compatible = "vivante,gc"; reg = <0x38000000 0x8000>; -- 2.25.1