Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4766662rwb; Tue, 8 Aug 2023 13:32:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHIEhou1LibAvgYZM5z1cCF7jYptcNgLtkLNFonsCGWN+XXQOodOPfhGs6S5U+WpO5Ui3iE X-Received: by 2002:a05:6a00:1d94:b0:687:8417:ab51 with SMTP id z20-20020a056a001d9400b006878417ab51mr573921pfw.8.1691526779299; Tue, 08 Aug 2023 13:32:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691526779; cv=none; d=google.com; s=arc-20160816; b=NKrJBOwI6Z/Vm77vaj3hQHWkN1BLUKo+5SLssZMNScAWpzImPdp61E3RCQpmfJkvaF viswAvU8UH6MtIDamZtEAjCIh75ziKwqFdmpa3qHDIUtyJvYhr0l5/XjSP/Qcg5O/Z4K xAL9mg7e7JJjWfWo3I3XDuxrgDOSt39/eaQqo9mb3VL6/Ww9NSPfRjQEPkQliIYtnZ4B Jj5ESKnt+USDbC64o3Y8IhCmO8LOqgZWe5NV275I8xE/E7xBF/AC70yt3CWdqRL35Gku MpCiaZhBlJfTgSpLF6gtoJgujZG2X7dOfI4KBKLVJwopQwdGUEJkntUuuJvtHhPWhJ8f w3Kg== 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=8mhNcA+qCXAkAoQ0PuYv+QVUlruayXMqEP6io11u+2k=; fh=cRb0aB90SbQyVFNPpVcxERgDOlz7nc5zFh0bRYzMTlo=; b=YWVqPpp0aU3dllWpT+z4BtmzT0Ga8CEzwYRVB8ATPs0RTAQ4JszW25KFDjwHDF/USl lYFbgEap0Mur9Z5gv7Io/JpcEOG7Ogo5QAahd/l+xT4vVUhQBwsfztEQkTGMNRXhRhQw MB8nmGBIgkJBOrAfN2ywJU6iVtlrYvggfoaxeVlvBflHrnkny+QKxC94SOkfsfDWka5w pVZrAuFZ70mNs+ErcWNKnba0TOaws4/XqPgymy1tFi1J6sU+fnxCKL2BzGrXQYJlDyjw Y2KTsMQ328mur7OXyygWNQV/MwgXPMz5+JG6YhF/A4/iTgtVMfiJbOTKk0OUcRbuz0FR +WsQ== 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 t3-20020a6549c3000000b00563477c3519si7405828pgs.488.2023.08.08.13.32.46; Tue, 08 Aug 2023 13:32:59 -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 S233201AbjHHTss (ORCPT + 99 others); Tue, 8 Aug 2023 15:48:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234803AbjHHTsf (ORCPT ); Tue, 8 Aug 2023 15:48:35 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E8724DEB7; Tue, 8 Aug 2023 09:53:06 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BC76D1A11CE; Tue, 8 Aug 2023 08:08:59 +0200 (CEST) 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 825CA1A11C8; Tue, 8 Aug 2023 08:08:59 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id D35B51800319; Tue, 8 Aug 2023 14:08:57 +0800 (+08) From: Richard Zhu To: frank.li@nxp.com, 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 v3 5/9] arm: dts: nxp: Add i.MX6SX PCIe EP support Date: Tue, 8 Aug 2023 13:34:14 +0800 Message-Id: <1691472858-9383-6-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1691472858-9383-1-git-send-email-hongxing.zhu@nxp.com> References: <1691472858-9383-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,RCVD_IN_MSPIKE_H2,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.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 f6b35923ad83..13411a843e07 100644 --- a/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi +++ b/arch/arm/boot/dts/nxp/imx/imx6sx.dtsi @@ -1471,5 +1471,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