From patchwork Mon Jan 16 05:41:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 43973 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1041169wrn; Sun, 15 Jan 2023 22:07:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXttqx9qYqGvRu33eLpbgacnQiT1bOcabXMMFrSQH8O7woTju5kgsTKw3Ju2066DhusC1A44 X-Received: by 2002:a05:6402:12da:b0:49b:7416:e3ff with SMTP id k26-20020a05640212da00b0049b7416e3ffmr13329105edx.5.1673849256060; Sun, 15 Jan 2023 22:07:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673849256; cv=none; d=google.com; s=arc-20160816; b=s0MCPTOntlN1Dv/58O3fw4/sO/wEqrJslunMhINrZiLOg9kYXFU3GlyBTQo6U879HW O2eLINb9D928YUNw78PCQmjoNE0veeM5IMLAx5aIkftLgURA9VkEDsQVfz36mr/Wacm5 MpQdima5W6c72QEoVzxt91YHILuhAkfvFfUB6bFjSQHyVsOkNfzPIsOJy4Uj8L7doN8N YfWFea2kxpl2/Kg8eGcj99077fxKi//By3hESzAteqCy+MMci1eiHRQN3StKHXvlrQ/r pXIi4BXBfuYXXptOLufMslwllS2bWud1HsOcSX882/Npgf6LINvDE/rZgvhVUA6VgYUP 68KQ== 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=huLo128bXTIteWEgnjFI6GaEtqxNzRSxzotybtKiVYk=; b=WJP1TWVRHS/KYshQt0bypyHQht8cymBJBLAbz8Sf/ZDCAQ4Rst86bOZ9Fh/WKQGsHa f8bRLqpcCwiiDaQmDB3DQQMTbluPXLg38Pxlbij+ynsbzJHqmRYEPkmfKYYt8S4OxXBd i5kOwHp8Pekc/ZNfYMj5EcLgxco5Z089nUfUpsANM+06gksVGDM9o9F9vL4yRt6k0wP6 mTdEpu0CHYKaBCjhKofTx5NjT3cNKywKXJnEu4K55cVq522/TfMfam22nXreO+LqBzNq jyRVGW7lt9iRaiz62/lROQIlsX+0FJh2/GbO1QU1hlTVIhOOmUyyFkNF/X7NHVVBb+WK Muog== 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 dm24-20020a05640222d800b0046aff5119c6si25978596edb.428.2023.01.15.22.07.12; Sun, 15 Jan 2023 22:07:36 -0800 (PST) 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 S232018AbjAPGGi (ORCPT + 99 others); Mon, 16 Jan 2023 01:06:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231921AbjAPGGI (ORCPT ); Mon, 16 Jan 2023 01:06:08 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC720A26D; Sun, 15 Jan 2023 22:06:04 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id B3C9D202063; Mon, 16 Jan 2023 07:06:03 +0100 (CET) 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 85785202069; Mon, 16 Jan 2023 07:06:03 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id B42AE183ABF9; Mon, 16 Jan 2023 14:06:01 +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: [PATCH v5 07/14] arm64: dts: Add i.MX8MQ PCIe EP support on EVK board Date: Mon, 16 Jan 2023 13:41:17 +0800 Message-Id: <1673847684-31893-8-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1673847684-31893-1-git-send-email-hongxing.zhu@nxp.com> References: <1673847684-31893-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?1755158157553646241?= X-GMAIL-MSGID: =?utf-8?q?1755158157553646241?= 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 78937910f403..c815c4b8907e 100644 --- a/arch/arm64/boot/dts/freescale/imx8mq-evk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mq-evk.dts @@ -378,6 +378,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>; };