Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6506293rwi; Mon, 24 Oct 2022 02:17:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7dxhvXt78dd3pyUAqYqZArp34C0IX8ERTRZOWknkx65y/d+FtvUyput0/LZs3SkuTws4ez X-Received: by 2002:a17:902:ccc4:b0:186:6fcb:3fcf with SMTP id z4-20020a170902ccc400b001866fcb3fcfmr19383141ple.100.1666603024366; Mon, 24 Oct 2022 02:17:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666603024; cv=none; d=google.com; s=arc-20160816; b=CW209DylCi5D2yGbjD74iiFb4V33IP2q4uGdie+Yl6f+WSeANDTxpRQLpUG6eGeZlL 4YdydyGKBaLgTbt1HNs+U1ZStuGOjx0GDUh6ikdO1ZuEOIRnWUYKLx/I837kb8ir87F1 W7SvMQZPw357Yh6F8LaQzqPX+WeVVbq2azDAXV6s3YCY6qfJDHYGbo6qMrM4IlVNU2JG Ale+w9GfcLH/yn8OXgFQ2c8ObT7768n+d0m51kgvKmuvZLSNE0w+roIlnkx71auytKuC OY79S4zWVDyEXQR87UKtCe5HVzpU4KAZpzP7U34NRVBzHDeI2t1F2CT0DAC3/5k8yhZB kYSg== 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=f0C1QqLZTfegWalyf8kwrRY4ZLX3DoqcLbcNh2p24tM=; b=j03EuUe3Vonjj2nN1buM2fdCVx7QiILE0olLMS6PqTBKQJz3LtcijfjYu/4K6x6lbR 430C/BpoWP65ZKuBvKIS4Vj2HXn5FsbazqGAWK+Xlbp4e6gw/QJ7LSJNCVOfoFTxN8jg TAqzs5sqlsYecvaWInPFUue/t0oCm+g6lquWPb+5u42jM4rT4ryd8ys6VhP+mXQ+W/ud X8qn9GUvtEIC8a8Z5MynGfftoo9uLAMWbGa+zm0z5feLJCoIvVNul4SyNlINWM/YKKZf IgUrr94F/c2UrGJBkqgpNN3a/yXKobnNXOGee6lTKfPqK/oKM3UZMvsYaxzoyr9l87Hf ZSOQ== 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 s136-20020a632c8e000000b0046f0ae1bb8fsi2972534pgs.785.2022.10.24.02.16.53; Mon, 24 Oct 2022 02:17:04 -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 S231127AbiJXI2r (ORCPT + 99 others); Mon, 24 Oct 2022 04:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230425AbiJXI2H (ORCPT ); Mon, 24 Oct 2022 04:28:07 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2BEC51B7AD; Mon, 24 Oct 2022 01:27:52 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 2017A220E63; Mon, 24 Oct 2022 10:27:15 +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 E5CB7220E49; Mon, 24 Oct 2022 10:27:14 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 279DE180226C; Mon, 24 Oct 2022 16:27:13 +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 07/14] arm64: dts: Add i.MX8MQ PCIe EP support on EVK board Date: Mon, 24 Oct 2022 16:06:36 +0800 Message-Id: <1666598803-1912-8-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.MX8MQ PCIe EP support on EVK board. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mq-evk.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts index 82387b9cb800..9f3bad9b49a6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -377,6 +377,18 @@ &pcie1 { status = "okay"; }; +&pcie1_ep { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie1>; + clocks = <&clk IMX8MQ_CLK_PCIE2_ROOT>, + <&clk IMX8MQ_CLK_PCIE2_AUX>, + <&clk IMX8MQ_CLK_PCIE2_PHY>, + <&pcie0_refclk>; + clock-names = "pcie", "pcie_aux", "pcie_phy", "pcie_bus"; + vph-supply = <&vgen5_reg>; + status = "disabled"; +}; + &pgc_gpu { power-supply = <&sw1a_reg>; }; -- 2.25.1