Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp6422774pxb; Tue, 15 Feb 2022 02:01:46 -0800 (PST) X-Google-Smtp-Source: ABdhPJxCtYkg/7DPAN7cNB/SxFf+TqexYpDgQo3dRjVhJ8rzNWZDkft/fxAkf77WsSc5RVXMz627 X-Received: by 2002:a05:6402:51cd:: with SMTP id r13mr3040428edd.381.1644919305982; Tue, 15 Feb 2022 02:01:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644919305; cv=none; d=google.com; s=arc-20160816; b=useF1RJtXEvIVwAkL5VzGuNHmWZ95DQsu6rJHCjnD9jJ/WdoZZRzHXtjHtdytsLRGv HFN4ZUrgMf05VQb9eg2fLngxqutM8CL6HX+0+Qvm6GW/M7b7u3CrSkIn8gTAt4sWIdvW Z28o3IRsnz31bbIrI3/m+BRyek2SXfxDhlJm7ZQPdIuzF5p2OvZaJau+WKeGaySSfQOd tiQYkgtJI8N96lGa7F2eR3h0gUUduHvLFEz9RnFSI6DwlmHxLqdbGT2l2b0FY/b4SsTq 6fVt2DdsIWhmxYatXsTDsLHubVgz5thTdqHwSLxJd4xxExz+atcxpF+wOtV42rvJcbDc VHLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=NJD9zwBPIw68gVLakokqfLNqPlACdTfAHGCOtMvmbkE=; b=s6sFMfNjVVQYZjM36XguQj/Nfc0ZTPOtBOEZcKncedNy//bi2KCGPx5+FEp9F8DgZ4 AYYqRw7dP4TXreDq/5cQoNcupyMz581+G8VJi6QXHduwhrmJD/J32z+9t9w0KOMtPgfu CjKmdQTmf1tP84Sqf1O79pzmhx21SCE3B8vH/sBZaUs69s+3ph4kAseeKAguAOUHnnyg 4BnGqAwrmdujwKS7sE03gWFZnDA/kngeZ1cnpwX5bghyQQSTiGOmrANZJ0nKXDq/Zoz1 KsaPlik2njuDWbq7xw8LRsMWeDhAcn+QgTcSpufPc5N2yoShHzxyDch8/+ybZlbFRf+K luJA== 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 h3si24118512ejt.402.2022.02.15.02.01.23; Tue, 15 Feb 2022 02:01:45 -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 S234206AbiBOFsb (ORCPT + 99 others); Tue, 15 Feb 2022 00:48:31 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:36752 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232259AbiBOFsa (ORCPT ); Tue, 15 Feb 2022 00:48:30 -0500 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D552A2A275; Mon, 14 Feb 2022 21:48:20 -0800 (PST) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 79F351A22D7; Tue, 15 Feb 2022 06:48:19 +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 4B08D1A004A; Tue, 15 Feb 2022 06:48:19 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id CD17B183AC8A; Tue, 15 Feb 2022 13:48:17 +0800 (+08) From: Richard Zhu To: l.stach@pengutronix.de, bhelgaas@google.com, lorenzo.pieralisi@arm.com, shawnguo@kernel.org Cc: hongxing.zhu@nxp.com, linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-imx@nxp.com Subject: [PATCH v3 1/2] ARM: dts: imx6qp-sabresd: Enable PCIe support Date: Tue, 15 Feb 2022 13:16:31 +0800 Message-Id: <1644902192-12957-1-git-send-email-hongxing.zhu@nxp.com> X-Mailer: git-send-email 2.7.4 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,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 In the i.MX6QP sabresd board(sch-28857) design, one external oscillator is powered up by vgen3 and used as the PCIe reference clock source by the endpoint device. If RC uses this oscillator as reference clock too, PLL6(ENET PLL) would has to be in bypass mode, and ENET clocks would be messed up. To keep things simple, let RC use the internal PLL as reference clock and set vgen3 always on to enable the external oscillator for endpoint device on i.MX6QP sabresd board. NOTE: This reference clock setup is used to pass the GEN2 TX compliance tests, and isn't recommended as a setup in the end-user design. Signed-off-by: Richard Zhu --- arch/arm/boot/dts/imx6qp-sabresd.dts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/imx6qp-sabresd.dts b/arch/arm/boot/dts/imx6qp-sabresd.dts index 480e73183f6b..083cf90bcab5 100644 --- a/arch/arm/boot/dts/imx6qp-sabresd.dts +++ b/arch/arm/boot/dts/imx6qp-sabresd.dts @@ -50,8 +50,14 @@ MX6QDL_PAD_SD3_DAT7__SD3_DATA7 0x17059 }; }; +&vgen3_reg { + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; +}; + &pcie { - status = "disabled"; + status = "okay"; }; &sata { -- 2.25.1