Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp566722rwo; Wed, 2 Aug 2023 00:00:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlH/XtL3hPAjBEoDJaIDlx1aSjlRT59R9p/XDvno4D8NCp32N1rZ8vHNukeAdhhwCvdYyuQp X-Received: by 2002:a05:6402:1353:b0:522:3a37:a45f with SMTP id y19-20020a056402135300b005223a37a45fmr3958669edw.21.1690959610187; Wed, 02 Aug 2023 00:00:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690959610; cv=none; d=google.com; s=arc-20160816; b=eJya2k6tqkiliCHk66UeZAvzdxVLgJnmEFOXyWkFvCL9LL7xiuW4YgHF1xZkggAI+r S1DSur1aA8M6IG+IY4qkTrAa9sITX8yZZ2Vq90Syc0OMFuRFL5+zLEeGpZai5W3/KXk6 rT4ZzmF9AjGhb+f1KAFeyh+Unq9p+Dxzy1uEdWN2cvN/kgz/5deERG5Rz8lNlvnuUxxn kpq5n9cXLzY9wKQ3Lgi+i2khVzQ4QxtuVc5Iv2WocLiEJMBa4t0CD1g9GqyulHQ2u74O Q2Rv/vdtKCArECdkYxuuJT0lYgI+v2i6XD4ONtPc9p09M+Rh/ZACVl12hCrrrj49igxA jFeg== 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=PG4gd05/jK7ZUqwuKbriNo5XAeqoxIBTD/9k3F+aelA=; fh=z1MafgbF6R1gkKU1hfSs3mUT954SWLMzSuIx/+pap2A=; b=BrlEwKf+OYyQDH9mby4Zke8gZttYfEKJYCl9+YUR5n26YSKSlWShOF09kLUAzMNuhm 6bTyQ4P/BO+Ikx9xcbyy7UOyIjouixAIeMmqDVC08V691NXKRHye37aTwabYPX9rAwYq y60DeFcdJ4SOAy1SsvcHdP8G3Zh2nQ8mipmB5lpbLJArbRRItnEgjC6R8Y1DoHZIh0Gv rPbO9SSMaDSv81h00jVh4Ol4F3+DUeEeDRywlQJ904dNUqDA2LDR+izTBximi0upkOLl 5//ZaVZ/Ju2I5/ZunbcBXvxouM/FIaOl2KGfzXXzdnVTDloEGDV+u3aHkJuVZ/kMFiw2 Z+SQ== 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 f2-20020a50ee82000000b0051e33b22db7si9247831edr.497.2023.08.01.23.59.46; Wed, 02 Aug 2023 00:00:10 -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 S232361AbjHBGuT (ORCPT + 99 others); Wed, 2 Aug 2023 02:50:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231620AbjHBGta (ORCPT ); Wed, 2 Aug 2023 02:49:30 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C23D2735; Tue, 1 Aug 2023 23:49:12 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id DAFF7201A3D; Wed, 2 Aug 2023 08:41:14 +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 ACB58200E7D; Wed, 2 Aug 2023 08:41: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 1CDC11820F57; Wed, 2 Aug 2023 14:41:13 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, shawnguo@kernel.org, lpieralisi@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org 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 5/9] arm: dts: nxp: Add i.MX6SX PCIe EP support Date: Wed, 2 Aug 2023 14:06:47 +0800 Message-Id: <1690956412-2439-6-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1690956412-2439-1-git-send-email-hongxing.zhu@nxp.com> References: <1690956412-2439-1-git-send-email-hongxing.zhu@nxp.com> X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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.MX6SX PCIe EP support. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/nxp/imx/imx6sx.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi index 3a4308666552..fc3a73b408d0 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -1465,5 +1465,22 @@ pcie: pcie@8ffc000 { power-domain-names = "pcie", "pcie_phy"; status = "disabled"; }; + + pcie_ep: pcie-ep@8ffc000 { + compatible = "fsl,imx6sx-pcie-ep"; + reg = <0x08ffc000 0x04000>, <0x08000000 0xf00000>; + reg-names = "dbi", "addr_space"; + num-lanes = <1>; + clocks = <&clks IMX6SX_CLK_PCIE_AXI>, + <&clks IMX6SX_CLK_LVDS1_OUT>, + <&clks IMX6SX_CLK_PCIE_REF_125M>, + <&clks IMX6SX_CLK_DISPLAY_AXI>; + clock-names = "pcie", "pcie_bus", "pcie_phy", "pcie_inbound_axi"; + power-domains = <&pd_disp>, <&pd_pci>; + power-domain-names = "pcie", "pcie_phy"; + num-ib-windows = <4>; + num-ob-windows = <4>; + status = "disabled"; + }; }; }; -- 2.34.1