Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6507419rwi; Mon, 24 Oct 2022 02:18:22 -0700 (PDT) X-Google-Smtp-Source: AMsMyM514r3xP6KUemEE3W1KdU/3GKVPnK8jx2WM2fUe0nH1j3txYA27yNEpT1DUVr5JMETqxMNY X-Received: by 2002:a17:90b:4d91:b0:213:f1b:dab5 with SMTP id oj17-20020a17090b4d9100b002130f1bdab5mr4886335pjb.95.1666603101894; Mon, 24 Oct 2022 02:18:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666603101; cv=none; d=google.com; s=arc-20160816; b=xYjWw/vf1EynVGg1Zbvmx8BBAK6c3rbc8L/a/W3EVZHRqqfoG9oHuWU009LGOC379l M7NF0I6mKWimnolB/qqJjBV/cNG3uzwt9nnkVhlSCbLat/oDVrR841wS7qzEaT+yzXdQ HrHMwCgTBxMwIqPqRlmFFabUslkqA/ipMbyrse7GtOgOFF1B//peRLGgbg7WeMRyxloE gQRQTxAMUBjSDRW9RaAEczTMAF1XkrbiWS1gF/dBHmdQUH2nlLRXjz5F0jKnVY9Y9sgn pib1Y9wzawu8jGevtDeEFBOlEwJ5S4ChDWGPLZ+8NF0tjX+AhXPjTZgwDAMIny0DbrWq adHw== 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=NPN2gqMuqThBX7NJwXbn22cjk8rEf/aETqkq0xSjSwg=; b=SGMB5d8mobSjS04oV1DucjoTo3SgtWFsv3noB36D/InRIOqZv0DVkC920Dyr1m/r1t CtPA8wi3e3qJszJy9r86fTF8gPOGSo2f3g0jq/niA3ku1Mak8+debe6ecl31UJY6Xc2r S4TRNkOat8ssJ4TguQmbGyi0d4NcmlDUGXrAbi4jqw6GdS6yRpP5lcrs5kqRvYbJS3IB LlBU82SakyDF2awBM0PoLMZ3r0OGIzAMtznTj7BD6inpqe3ctqeYJ9ekeXGjL/znZQM7 wPT8CrQXuCXMqlXc1HINqYrd0fSVU0YulTZmZVE5sB6hBDb/aptMeoy/Zu6t3Fge81DV fZ3A== 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 q8-20020a170902dac800b001867d0e4307si12702623plx.372.2022.10.24.02.18.10; Mon, 24 Oct 2022 02:18:21 -0700 (PDT) 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 S230447AbiJXI2g (ORCPT + 99 others); Mon, 24 Oct 2022 04:28:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55760 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230375AbiJXI17 (ORCPT ); Mon, 24 Oct 2022 04:27:59 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA2DA42D51; Mon, 24 Oct 2022 01:27:48 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 0A0331B8F1F; Mon, 24 Oct 2022 10:27:11 +0200 (CEST) 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 C67831B8F37; Mon, 24 Oct 2022 10:27:10 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 080741820F58; Mon, 24 Oct 2022 16:27:08 +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: [RESEND v4 04/14] arm64: dts: Add i.MX8MM PCIe EP support Date: Mon, 24 Oct 2022 16:06:33 +0800 Message-Id: <1666598803-1912-5-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1666598803-1912-1-git-send-email-hongxing.zhu@nxp.com> References: <1666598803-1912-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 afb90f59c83c..eca7a42ac52a 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm.dtsi @@ -1291,6 +1291,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