From patchwork Mon Jan 16 05:41:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Zhu X-Patchwork-Id: 43972 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1041141wrn; Sun, 15 Jan 2023 22:07:31 -0800 (PST) X-Google-Smtp-Source: AMrXdXtV9HuEa93IxoTQkzyZrHoE+JkqoHasiCyNjCIk9+88DXNnN65FGVeSNY+Mv+mReLnlX+Jy X-Received: by 2002:a17:906:5786:b0:78d:f455:3105 with SMTP id k6-20020a170906578600b0078df4553105mr72237054ejq.45.1673849250805; Sun, 15 Jan 2023 22:07:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673849250; cv=none; d=google.com; s=arc-20160816; b=ssXwNw1h6h+EfTP7APGxIrpFqqX6Uv9Hpu6zCQesHXDwwzhg3EcUMWOUpJcjK3nbAu EsCZrvUXV1+rg2+hitDFNObOALkF320kosrn7DnlSDMEmu5qKzC+/mhS0y3PgUbbK/Od t3WriHrgr8rz1ZX++/zlj+2JscmufCCSEamXzzZgr3HXel+V3o471qVB4PQxAtR8lPCo TNa1d05sWfnXjMkO+h+bhf5SHb1lHCbXqWuGei3sfSwBDwwILI5ghQ7wBywjMHyfNA7+ 5xY8oDMt4TK3ZGIqYWHTTNp7hlNl+3cwu1PS5n/vgOlAnJeVUTPpA4494g0AJxfuFKjG vJZA== 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=Iz+MCQjFYoT8Cnhb4AOi9Y5biJaZ4utKeJ0Eccfdixg=; b=iWS8crUh37ppMJkg6GWtNd/1ywQfuej/UZQU5YERI/1u+NoSJv50v7cMNgb6Xlvd8q A9a4fcv4dexhZqTJNPDZxqkwyBTk6K06yTUE83lQuvDfLTWKysGgWsB2JCKYWnXZtL7R 536u3NQN8QKccQwvn+k97beDj9CCv6yN3ODD0bF1cQROy7LClTxVsaYnQKr/FlfGmx4j EE4ir3O8MPECxI2AErgUxKgYJWyRTbRVsbssAKu7ZA0E+5OwCzbPxGORYs/nc95W5l/P XGENPMhZTwrvjV3ND+7diCSDT+/OCYZGG76K+iI5UmIWc8L3215UZB1IAXp++xtRFrUq zXEg== 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 cw9-20020a170906478900b0086d67a10566si6782141ejc.190.2023.01.15.22.07.05; Sun, 15 Jan 2023 22:07:30 -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 S232004AbjAPGG2 (ORCPT + 99 others); Mon, 16 Jan 2023 01:06:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45386 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231916AbjAPGGG (ORCPT ); Mon, 16 Jan 2023 01:06:06 -0500 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB96444AD; Sun, 15 Jan 2023 22:06:02 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id A58051A06BD; Mon, 16 Jan 2023 07:06:01 +0100 (CET) Received: from aprdc01srsp001v.ap-rdc01.nxp.com (aprdc01srsp001v.ap-rdc01.nxp.com [165.114.16.16]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E20BA1A06D5; Mon, 16 Jan 2023 07:06:00 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 20D32183ABF9; Mon, 16 Jan 2023 14:05:59 +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 05/14] arm64: dts: Add i.MX8MM PCIe EP support on EVK board Date: Mon, 16 Jan 2023 13:41:15 +0800 Message-Id: <1673847684-31893-6-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?1755158152011019014?= X-GMAIL-MSGID: =?utf-8?q?1755158152011019014?= 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 e0b604ac0da4..894118704156 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -372,6 +372,20 @@ &pcie0 { 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"; +}; + &sai2 { #sound-dai-cells = <0>; pinctrl-names = "default";