Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp6481925rwi; Mon, 24 Oct 2022 01:55:20 -0700 (PDT) X-Google-Smtp-Source: AMsMyM42PBq5UpQvBUHvyolCguzFBQZWXywYaoyhty5ghsSBJtjLMKaLdDzYXiWBVKBxfNFmX3KT X-Received: by 2002:a17:906:7313:b0:78e:c2a:a3fa with SMTP id di19-20020a170906731300b0078e0c2aa3famr25546747ejc.581.1666601720112; Mon, 24 Oct 2022 01:55:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666601720; cv=none; d=google.com; s=arc-20160816; b=akCTkCNK1h+QCGT6OiTl296/DWcAgba0HBbjztoekZCQD1iJZrsY/HVntehAL6490U wp7gsVNjZiMpBwaExqX3wy5GLo4I6tIe2tikVQ3zLoRAURpcYP8JkwY92FaVZ58iNoYS ifFtXg1Uj5h/u6KRkaXV5WRjeig7V20Gwd/w9BICTMwSXfLRuaS6uwoVMIYxovAg7WGe KiR47gQe2ZqVPK9AbZMo+qmizfM8saIeWD6S6XqZMXSKEB8CcE7v/3RXE3/LbhppBC5O Dxu/7evbPKHqRByuSkrYH21Osz+FNL/9R/Tg5RKzdhrWLADPBZqMAViMpc89xLJXNAIW EEhA== 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=QjE3K/fqTcmhGKgofMhZGICz74qv+eB+rggGpQIKHj8=; b=NH1snV/wJgZdFwMXPSYkp7ipfWrLOd+qhYDiE67k2wqPJprCcG0yFYvmhuE+j4EFAq nnPUJ1IKugic7f1wrcfvI/2DDj/iRPuPDb2K3tukRMyEzCIYNnQFPjPuEgdyA9b8nyUz mNYY5cYRqYeOqZkWc78RvzlMOSjWID4aAIbvTufF4jK/k9QhPXq0zWkIbBq1OtEsCPic sOigAwEk6RBAakmv/IkKNcjtUrfgcrOZZOGmZm86Tv6FUAin1yksrB04HeimnasyHw1f 6GrNIGtRXirfgn51rBA15M0jzLca9UuUZd2ZWli/rxjqysp8r96fmj2yaq+kCcKYMMyn 3fMA== 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 n8-20020a05640205c800b004590ae88029si33141563edx.610.2022.10.24.01.54.55; Mon, 24 Oct 2022 01:55:20 -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 S231181AbiJXI3Q (ORCPT + 99 others); Mon, 24 Oct 2022 04:29:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230405AbiJXI2Y (ORCPT ); Mon, 24 Oct 2022 04:28:24 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E54759248; Mon, 24 Oct 2022 01:28:11 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 6082A220EAF; Mon, 24 Oct 2022 10:27:17 +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 2CD60220E9B; Mon, 24 Oct 2022 10:27:17 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B8F1A180226C; Mon, 24 Oct 2022 16:27:15 +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 09/14] arm64: dts: Add i.MX8MP PCIe EP support on EVK board Date: Mon, 24 Oct 2022 16:06:38 +0800 Message-Id: <1666598803-1912-10-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.MX8MP PCIe EP support on EVK board. Signed-off-by: Richard Zhu --- arch/arm64/boot/dts/freescale/imx8mp-evk.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts index 9f1469db554d..6daaa5ddc6b6 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-evk.dts @@ -390,6 +390,19 @@ &pcie { status = "okay"; }; +&pcie_ep{ + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie0>; + clocks = <&clk IMX8MP_CLK_HSIO_ROOT>, + <&clk IMX8MP_CLK_PCIE_ROOT>, + <&clk IMX8MP_CLK_HSIO_AXI>; + clock-names = "pcie", "pcie_aux", "pcie_bus"; + assigned-clocks = <&clk IMX8MP_CLK_PCIE_AUX>; + assigned-clock-rates = <10000000>; + assigned-clock-parents = <&clk IMX8MP_SYS_PLL2_50M>; + status = "disabled"; +}; + &snvs_pwrkey { status = "okay"; }; -- 2.25.1