From patchwork Mon Oct 24 08:06:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 8239 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp320236wru; Mon, 24 Oct 2022 01:29:30 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5esa2CXgP0KHGXzLqbYZntv2v/CXsNtJPYnc5Ks/eTcAFNukksq0Rl96KnqHU5xM8YEnj1 X-Received: by 2002:a17:90a:c09:b0:20d:7820:2e60 with SMTP id 9-20020a17090a0c0900b0020d78202e60mr70130513pjs.180.1666600170543; Mon, 24 Oct 2022 01:29:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666600170; cv=none; d=google.com; s=arc-20160816; b=ZgV2FqFUwpUKw0POQ+H04MrC9xVeQLKpXyNAA/WG5npK4X9jCnbxeEYBVpdCYjeXVM jrwtu9WlzdhEyskQJejuBub6wj8kmCAEoGonZXUXOgQ++kIRbL+3iGKXlFwHLzA+gwHU /wcjCemV2xM+qDvPexwU9aBhVi7zSBwtdbkaIidNJIf9LutcIeo8fhirQy82QYSrQYm0 cMRuld89AfLCUWMPt5NDh97/Q2BtCjqURBfdhXD9bPUxhW+jGYyhI6RXkAZA+CpqI0k2 Wtwqum0zoyrVIlyOd9x/q8rN+qd0A17hqpoot5wuhtx8RebV9kV/Gtifq5Ns6v93yq1e 11ag== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q5-20020a056a00084500b00560bdd654ffsi36959613pfk.314.2022.10.24.01.29.17; Mon, 24 Oct 2022 01:29:30 -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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747556940675513490?= X-GMAIL-MSGID: =?utf-8?q?1747556940675513490?= 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>; };