From patchwork Mon Oct 24 08:06:34 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 8236 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp320126wru; Mon, 24 Oct 2022 01:29:12 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7kE8PgqQBw7SNKQUDOxHTox8VEC1ymopyJQnrtPit0J+lIuz9oxeeyKh/LHJzb6ci5+4di X-Received: by 2002:a17:90b:1808:b0:20c:8409:2007 with SMTP id lw8-20020a17090b180800b0020c84092007mr37666178pjb.226.1666600141590; Mon, 24 Oct 2022 01:29:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666600141; cv=none; d=google.com; s=arc-20160816; b=hRE1rP/0pFQxgRnvWV8eCiazdiBzOi8e00GN0rtK/NFDfFKgKwtlddB5hgT/rSv/ME BtSdw+l0KJUZ82fP9oIjmf0DnRzDaHlv2QFzEXvJ1yxGgZEUDaos7/LpHTwEVomv1KUV iIJpPMFamzJFYutbOYieucw8VOoumxOMuYP5JrJpiAXnAtFAdLym+N0K/TTNUaAqZFH2 Uba4Yg3HHjBC+B/ReC6GBswVsE2bZf2GD2nPYabpdoYgNICNq7avHevP2XmejNfScBYG UjWEcQRzniUsEXW7isTBZOskSn353S0lBvt4a7BXOQl6e8c1eogASwYi3pKg4vnLxpkh wLtQ== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pj11-20020a17090b4f4b00b0020d542eb5f0si10291722pjb.110.2022.10.24.01.28.49; Mon, 24 Oct 2022 01:29:01 -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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747556909817220710?= X-GMAIL-MSGID: =?utf-8?q?1747556909817220710?= 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>;