From patchwork Mon Oct 24 08:06:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 8242 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp320567wru; Mon, 24 Oct 2022 01:30:40 -0700 (PDT) X-Google-Smtp-Source: AMsMyM72Ey3JsCiOsysehfJA+kVOYUqo58zw/eZtAJWzTtraqddTxcDuUDlstibZlAZM8aUFOEBq X-Received: by 2002:a17:902:7b91:b0:185:4548:3a96 with SMTP id w17-20020a1709027b9100b0018545483a96mr32491107pll.130.1666600240063; Mon, 24 Oct 2022 01:30:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666600240; cv=none; d=google.com; s=arc-20160816; b=QI3h6BiKeKmQVE/9CEeeqzXPhjZ4qM+kSi0MkM3zx0+5MP8ihQjVVKqGXhrPjEP3t0 N8yaLm9UdgRojMy5wtcVY2LGEXRRuSrqtlinwczmtBescUFyaoAT8vUZdw8BTJviDte3 2bb2CzkChiTZEyf18khPYixVB8lsJ/nMYJIKl0x6ZxlP12a5jvIb5mVtsGwVtNV6qtRe o1wvGbhmOT1W3pP2vec8p2k1XbC+v2DZ6t57chLQdQ2dg+ieDrScdsjBGfHl+BQZIbF3 7QOuR8LyzS1tgkq/miV4jpNsnwr6ZLMxyK5+4ZD7GdVy9Pye2b/1/y/dB/SlVyfGgwE9 eqcg== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id r134-20020a632b8c000000b0042b30f95f99si35300151pgr.807.2022.10.24.01.30.26; Mon, 24 Oct 2022 01:30:40 -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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747557013045750503?= X-GMAIL-MSGID: =?utf-8?q?1747557013045750503?= 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"; };