From patchwork Mon Mar 31 19:02:44 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frank Li X-Patchwork-Id: 14033857 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5CFAFC3600B for ; Mon, 31 Mar 2025 19:16:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:MIME-Version:Cc:To: In-Reply-To:References:Message-Id:Content-Transfer-Encoding:Content-Type: Subject:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=+k5RxLS7FE4cDKq0kg1vgemQ8TlXUWbKUwU78zrT7/w=; b=RCq4uddSg2QHAzwpYWNjPGLOmg Al/4wzhcOmeTRnON9WU0zIIzCJxVqP2jXdjDGZgn2rmMSiJJAFSpNKl3Sz0CB9kcRGJMpSO2zQvy3 WKi7xfcb1X6EB+UW7OIqRbNO07BWtr7cL2Ko61aMM6jJpHwWWICr5jReGY2uipAY9Ck8RsKi/2a45 rh+jnraSxAROPaAZzfV0N/CMWibCDyUYo2hvbrb4Oi57yI1VPUtQ7ZpiZo+97j8Aj5cnaeX2YVCeH /WBkbpkLCwcSJBxczqq7KAPA21vwfPeGfhJt1n5x+wEwng3AZTBPYFrS1Hq+XwvHFzBtwINflcj2b 1mEowwMQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.1 #2 (Red Hat Linux)) id 1tzKcR-00000001DHY-1BXE; Mon, 31 Mar 2025 19:16:23 +0000 Received: from mail-vi1eur03on20618.outbound.protection.outlook.com ([2a01:111:f403:260c::618] helo=EUR03-VI1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.98.1 #2 (Red Hat Linux)) id 1tzKPw-00000001B4R-0m6k for linux-arm-kernel@lists.infradead.org; Mon, 31 Mar 2025 19:03:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OosIdn4wVtkgm6fm7cxPZFGY2CT+Z+51jOqiSOGBjIXEmUXVvkyewbCSmWHRcg5wDeCJhWKVOoyq/n1Rrk5BIOPIbz+6sLBkWcgxEb1opCx+jVsZDEmFtZLt9MiT6LF5c+ZlZRiU17QUk0k0yfDXlHh/B1m7sfKemKfWa/uoRcmBft/xPRfLiFmoytbPSzCpuEDHYDEpyb1X9afSvvluhE5vbPbxh/eRLXr0neYhRJfDX6BBg98zKX/Hq3IJocNBVhT7XwTcf0CrhFQK0DFv/LDhS/Hd4PF5bIlV1BDLGCyUDstsizfuwvf4QyYL1Cqp2zLeR/2C+w0F5Ixo9E4fVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=+k5RxLS7FE4cDKq0kg1vgemQ8TlXUWbKUwU78zrT7/w=; b=JaMQwI8Um+zpgtrpCuNG7k/lxRLdN/OrA9A3P4zhrbPk3vGgGiQAGTdc434GQiKB2IxuHnrpkbNZCCNWyeteabFkC/JMCLALUA/ku28pPli4IvEoxHMrm1AOD8Cjdff8q0W2RURiInMmsVN0xKiW3hXe6iORbcSYMorEsaTpFc9B4KdT8BbGmfkqgD9BVLsXMRdkmJnmhTG8zYn/pE1z9zjnZRtedJQxFeGsDFeaIwlmdO+q9ifraK+Pevij1+cNUyc7T/m+/sRHEUU8knwluk/G766OP03WZrIoO9IouXXoRjcW9Y/MNUei5Zu41DGsIe4CRwyOcjVBYmqJEes6Og== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=+k5RxLS7FE4cDKq0kg1vgemQ8TlXUWbKUwU78zrT7/w=; b=A1n8MZRYgkvjTRpHt8g6eaPRnf05OdK29bN3SmWMFaznBQzEzUQfSGyQG/4VstcI63h2ZWB36vMzbW6Oluy/2bbRyKkGJZOkSNGpVb+TIUpRLx3TJ36G6JZzgUzwU90jX2S0kgOlnpA/zKMod8aW7BkBk3UwFT1m2X0o+69luhBuPJmexs30KqTPHS+GU+3HR4h5rYSl6kChXf7K7F5iPVd1vNizP1ICnQt7jLtGb3G02f8iSt/mtAtHtYWCcHzpdliM4Tv4uk0Sjc75PWppYcy5XV3H8MgCFU2aY0yCoZe1iuKPt+lymVBBdAAuuK38yV0v7CV9L4gttcAdteJF2g== Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) by PAXPR04MB8557.eurprd04.prod.outlook.com (2603:10a6:102:214::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.44; Mon, 31 Mar 2025 19:03:22 +0000 Received: from PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06]) by PAXPR04MB9642.eurprd04.prod.outlook.com ([fe80::9126:a61e:341d:4b06%2]) with mapi id 15.20.8534.048; Mon, 31 Mar 2025 19:03:22 +0000 From: Frank Li Date: Mon, 31 Mar 2025 15:02:44 -0400 Subject: [PATCH 6/8] arm64: dts: imx8mm-evk: add pcie0-ep node and apply pcie0-ep overlay file Message-Id: <20250331-imx8_pcie_ep_dts-v1-6-270ef0868ac9@nxp.com> References: <20250331-imx8_pcie_ep_dts-v1-0-270ef0868ac9@nxp.com> In-Reply-To: <20250331-imx8_pcie_ep_dts-v1-0-270ef0868ac9@nxp.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam Cc: devicetree@vger.kernel.org, imx@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, hongxing.zhu@nxp.com, Frank Li X-Mailer: b4 0.13-dev-e586c X-Developer-Signature: v=1; a=ed25519-sha256; t=1743447781; l=1928; i=Frank.Li@nxp.com; s=20240130; h=from:subject:message-id; bh=Lca0eWP1thUX0lrJavIW4Pve2PFsHUOe0rBJVo4fl7Y=; b=OjDsOsGWiW+I6kP1qM06T7wHgRiwl/vV5DKIrtCxD2QItsK6OSUAUH14KCiHRLd3uCtOBIxVk kFpKLUmgNnICIJKMYMqzsSdkwqEbJfE506kzEWR19Mrg0W0Djm+hyjj X-Developer-Key: i=Frank.Li@nxp.com; a=ed25519; pk=I0L1sDUfPxpAkRvPKy7MdauTuSENRq+DnA+G4qcS94Q= X-ClientProxiedBy: PH1PEPF000132E4.NAMP220.PROD.OUTLOOK.COM (2603:10b6:518:1::24) To PAXPR04MB9642.eurprd04.prod.outlook.com (2603:10a6:102:240::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: PAXPR04MB9642:EE_|PAXPR04MB8557:EE_ X-MS-Office365-Filtering-Correlation-Id: dc169a48-b0bf-4c1e-3708-08dd7086b505 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|7416014|1800799024|366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I?= =?utf-8?q?rB9BNRN4Qt5glBOgLi5rcWQ5VhkuBNQwrH5TzdmicnAZ2Kvl5JqGmnfZcGtE7ia08?= =?utf-8?q?/pe15VdmJLC6EsvmgyShQzwlG0rLeDb71DBOZl/B/VIx20RWnzc1X14eYoN6TatfI?= =?utf-8?q?f8CDanvGRO5bvA04R8xdrJDQP0QIHhnyVTTO7ZD/k+1ZP+HhTltEj0rSpXrKcdToV?= =?utf-8?q?Uf6WMJLU6xrJ3IBenh1FMYvLuipZiratslxyZUZ8k1FRtS7b9uGxUge/GDlBz5NQn?= =?utf-8?q?QzMv1jKpoh83M6V1VpEHb/wIiZ6B4kLOzlZji06ri+w2eMCpQADKXVqQw3iI9cdVr?= =?utf-8?q?rC4x3Ms0MpVHMNDC1bw8uaY4niKNf6qbU18jzkBTLrsn9vS/znaqGUHblySIQVyLg?= =?utf-8?q?GoUPRUqNNQC0sF7zpPO7/tBMu5OitkfcVF9awi5fDjWzj+n9tSX7DSwQYkRaQOI/O?= =?utf-8?q?h376Q7kz4ufjretlEoJ7p4M5C3bNO/AlLylqzg+I8Q6jzYHdxUMQrRqNbHlkJ3CdC?= =?utf-8?q?HUIxruSnbK54qp+ARBkhP0r8hp8cwtBPhhhzLJtc8/DJPdtQQU8hTxBLrK3LCQduG?= =?utf-8?q?+2zrdu3ESCQ?= X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR04MB9642.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(7416014)(1800799024)(366016)(376014)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?q?gu/+0TJ2D+7QygBIvZjXT61g2Qvo?= =?utf-8?q?3Trrzwg5oLzqtcHi+mqubkUt6LOO2UNwMxuqYY8MCMqdFjcfjZOomhca3WdzUYicd?= =?utf-8?q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f-8?q?0fOE0o5htReiz5nvf4z7rh2ecLEoZ03sPKhlMZF3dc1bJUa4wh25dpGRkIms7rCgU?= =?utf-8?q?IPaffGHrV5Z/nJpI/hRws2EQP+rf0CBgTPEyzd0K65qoiN/0TbFjW9D5k8LmUopzL?= =?utf-8?q?kjAP4QdffZRuzuY/AKlO1Hy1sANYtJY7iRl2qDnnL1wvDI+yzk9rmxtfirxIv7n43?= =?utf-8?q?pgxL+r5popSkQdu1mRnLK37GUSVpdGMhx+nazJDzxMyONzlqOWhcvvvCo5KP8DZd3?= =?utf-8?q?FxrKddODJXSjFs4Q4bNG6N/4QULH15JNKlrqNmll+Nau/r4XCE4wxDygNyF38BrmN?= =?utf-8?q?HDCcGW088twV8JqZ+n8NFD5sEkemJpH1D6tPJvOLhyz4meqasw91d6HtS14JLwZnc?= =?utf-8?q?h9vTRFrZ9kvfAWIVUnLugj8PS/kV1UwklbtyCe23UPASH7MReLv5mgvV/g1JFmdaj?= =?utf-8?q?ulRwiLT2f4MJ+ZRlt2c4A9IQu3kmv4jI2Fx8yvhE2m3lElGUL3kx2RMVz6wc/yMPl?= =?utf-8?q?PA9N1I9YqYH+oSwKzqErTLCpu66TE9C7clstr7i3xL6O6hIk9U8MirfwnIdJ359I9?= =?utf-8?q?SCm4cn9gnMmL?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc169a48-b0bf-4c1e-3708-08dd7086b505 X-MS-Exchange-CrossTenant-AuthSource: PAXPR04MB9642.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2025 19:03:22.3216 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: LdpYgO79mmIXGpO0kq5y3GKeJoeYPa5c/szjThILsJt6vJ0eY7V7BCj4tWCkBw5J64Ey4kxdAwEhtwtQ7BGeGw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8557 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250331_120328_230618_E24E18A6 X-CRM114-Status: GOOD ( 10.74 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add pcie0-ep node information and apply pcie0-ep overlay file. Signed-off-by: Frank Li --- arch/arm64/boot/dts/freescale/Makefile | 5 +++++ arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/Makefile b/arch/arm64/boot/dts/freescale/Makefile index 7778a0b3abe37..4f2f50203dd86 100644 --- a/arch/arm64/boot/dts/freescale/Makefile +++ b/arch/arm64/boot/dts/freescale/Makefile @@ -116,6 +116,11 @@ dtb-$(CONFIG_ARCH_MXC) += imx8mm-emcon-avari.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-emtop-baseboard.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-evkb.dtb + +imx8mm-evk-pcie-ep-dtbs += imx8mm-evk.dtb imx-pcie0-ep.dtbo +imx8mm-evkb-pcie-ep-dtbs += imx8mm-evkb.dtb imx-pcie0-ep.dtbo +dtb-$(CONFIG_ARCH_MXC) += imx8mm-evk-pcie-ep.dtb imx8mm-evkb-pcie-ep.dtb + dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-ctouch2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-icore-mx8mm-edimm2.2.dtb dtb-$(CONFIG_ARCH_MXC) += imx8mm-iot-gateway.dtb diff --git a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi index 5f8336217bb88..622caaa78eaf1 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi +++ b/arch/arm64/boot/dts/freescale/imx8mm-evk.dtsi @@ -544,6 +544,19 @@ &pcie0 { status = "okay"; }; +&pcie0_ep { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_pcie0>; + clocks = <&clk IMX8MM_CLK_PCIE1_ROOT>, <&pcie0_refclk>, + <&clk IMX8MM_CLK_PCIE1_AUX>; + 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";