Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2796213rwb; Sun, 15 Jan 2023 22:48:10 -0800 (PST) X-Google-Smtp-Source: AMrXdXuU68L31asCjZ+C74avWV5eOSt2r9FWlXlcx3qpGpXrGZXVbnZ0cCzas6dESDUtoHEE1c8e X-Received: by 2002:a17:902:e8ca:b0:194:9c0d:9732 with SMTP id v10-20020a170902e8ca00b001949c0d9732mr763427plg.46.1673851689963; Sun, 15 Jan 2023 22:48:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673851689; cv=none; d=google.com; s=arc-20160816; b=QtTLz0M4EWvbJYaLsOD+ld5agX0pGcuOVbg31JH2QZ7YjVwx9hejTrrO+bEGk+nNho lZqAy+vJdSplwRscmzT3IlysnbLOl60AYv/86U1uc5SdhfGwrdDSgiJXQZlsrb3lBVEZ 0OAKxLzRqApqFwbcop7D4GX6uYJa+rNWzUO4Ay4EA3XVr7YBnH1ERd6sAYXj8FKGx+8i yHnzwQCrffEMMsZIovk3gqYlCjSdUQxcDBFFANe45OQ7p4pZoJPhV3RJdm23om4Vd4xH HzIqXoqfFV8aSU7XBQCj3c3/+GEDHn8qxaICSWVwspeN4/5tzPeEqD3BomoszqnFjwJG 682A== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i12-20020a63e44c000000b004772bd28105si28457493pgk.831.2023.01.15.22.48.03; Sun, 15 Jan 2023 22:48:09 -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 + 52 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 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"; -- 2.25.1