Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6482213rwi; Mon, 24 Oct 2022 01:55:41 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5ky/PG2KtZ0reSRPjaGxT6mFE9675hMK7yk2jDnJ2v8bSFtf4izszWWUS9g1B0UGZveQbB X-Received: by 2002:a17:907:25c1:b0:77b:9966:ccf1 with SMTP id ae1-20020a17090725c100b0077b9966ccf1mr26362814ejc.763.1666601741126; Mon, 24 Oct 2022 01:55:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666601741; cv=none; d=google.com; s=arc-20160816; b=SVKXZZUsmyTFMFbDpTo1YdoNNyn+uAdl8fL2uxZkKKbC9OHDJSGzy2COXxsO5fIqrO Gap5yWpReW/jLUNmMTMD49FvNNDvXIiFTW/TfS3mg+vWx83q98u7XtJhnVi/rZYFfwl/ 2ODf7BiGI/D72FWmk2WSPChqy9u3IybagikzBY47fsbseKDtTi1Wpiufz94u+9fS38ZE yMbN/X1LA42Q6Yf4RlFPWYsAxx2Xf0+y68zVcTb3TpEkhW0H4HYeZ2hrX/BJoZ4nwgEX pjARh9m/8unjcC9Yu7Fvl28u+pq2MKKaMI/JqeqZ0j1mKhtn5f0w32gMMlR169xYa0c8 EjSQ== 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=fA7+ViS9RjZQJZ30H4QERUy3nQ7K/vJz8J+uPLd3GFo=; b=st5PRNh1lcCdPxdWxAlg7w/FvMabON0NF6tQmzAVzYpBz/sKnqe2waX+cI5TJv9NS3 G+mrFDyEBW+kyMJRsCUoObHJ5v8REiJIHl4zR+GbNuBSYDSFoF/lLD5VKgno/ksUGTXJ XNb0LIoK2ZrBbrYZsCefyV4AWpL3Jrd+jCPAmJMK/X11zi9lj2jPgQ9I0QAQekEgEY15 myUCbHkhBRtX7L1w7PLKFubagTnmwiNl5ebzPwu2v+1EUdxvElZ5LqpP/T+26pwVwPbG dEkSv+okdBbJ4SYR/8HeUXcNAxlq3quKkFx/j6iE32FcnJWwz8wyDG1Pxt0FM9cegSOD AyKw== 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 sh10-20020a1709076e8a00b0078dc3cb8b41si25484966ejc.507.2022.10.24.01.55.16; Mon, 24 Oct 2022 01:55:41 -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 S230436AbiJXI2c (ORCPT + 99 others); Mon, 24 Oct 2022 04:28:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230379AbiJXI17 (ORCPT ); Mon, 24 Oct 2022 04:27:59 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FE7E233AB; Mon, 24 Oct 2022 01:27:50 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 8AB14220E9A; Mon, 24 Oct 2022 10:27:12 +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 5CB2B220EB0; Mon, 24 Oct 2022 10:27:12 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 509ED180226C; Mon, 24 Oct 2022 16:27:10 +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 05/14] arm64: dts: Add i.MX8MM PCIe EP support on EVK board Date: Mon, 24 Oct 2022 16:06:34 +0800 Message-Id: <1666598803-1912-6-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 on EVK board. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 7d6317d95b13..d43eb2eb23bf 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -380,6 +380,20 @@ &sai2 { status = "okay"; }; +&pcie0_ep{ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie0>; + clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&clk IMX8MM_CLK_PCIE1_AUX>, + <&pcie0_refclk>; + clock-names = "pcie", "pcie_aux", "pcie_bus"; + assigned-clocks = <&clk IMX8MM_CLK_PCIE1_AUX>, + <&clk IMX8MM_CLK_PCIE1_CTRL>; + assigned-clock-rates = <10000000>, <250000000>; + assigned-clock-parents = <&clk IMX8MM_SYS_PLL2_50M>, + <&clk IMX8MM_SYS_PLL2_250M>; + status = "disabled"; +}; + &sai3 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai3>; -- 2.25.1