Received: by 2002:a05:6a10:1a4d:0:0:0:0 with SMTP id nk13csp3499980pxb; Fri, 11 Feb 2022 00:52:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJyyzUC3Pr/mB2yyUlhNp6SyFsn5g8aYmbjNN2tS3WX8M6QF2ydGREtp/COwO1jo2Q26s9Mr X-Received: by 2002:a17:906:5191:: with SMTP id y17mr491346ejk.353.1644569551590; Fri, 11 Feb 2022 00:52:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644569551; cv=none; d=google.com; s=arc-20160816; b=FumWLXEZ8nf4Gpgo/fKtJ/cTBNog6RhZA+MoNqm8HlrOY6r5DlHzER9DCpg8im8+sO ya02ZXxCZ/7Szl2ou8Ub3IUMh3bbozJUQ1AB2JuGVyG2ClkaE/DcIkArlatAdc6ATc5q ylTYxlyTOEsdwmnpS6Y9005W/Z+uTPjARHywvHHpYbIXThekbBCIRDHtBhQwWwhcFg4t g5gz4KNx2OivoqS6kb/El/UAsuS40eJM/K4KLPP2XnqiHHwtZnnVDmOv97zkmDa60AVi 8rLbAqMwXxydWX6LwXaPhglroKas4cjPVfBfvXtnkBLdEahXbHEMKZqmD2iXemMIOSjc gUSA== 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=fg5pzDl4M2Qa27EZzS1YAZJ7ueWZmEiouWn1unglUno=; b=Dne0oF8PUw0sbklB6DLpwhnCBXjoCeDM7YQE7mCHqfZQSqluTYK/QxMRQD4+ejpl3k sHbNvkeU6RNEmAOcBqgziJjgeV/Dv6N41uc/nquMPfJ/1Ho1K/YGLoTQcgYDRSYbSHB9 XfsVJeHYi0ilNPVCSHJSWlFa27/r2ffQ1UTr8EHMOmKPkVQCDBC4ByDbHeXbDuiSrG2j rRIqrgylN9xK6staLqDlm2l5CFc6/Z3ZDmD6IQ23O3kqcRq4koinwZPeJipYZ/Sd7OdV kJLipNtm+nM75g1OnrUfjkVxSHI0w/0yjG7W5AAQDZvVG+F4kjAKmmNTzJpn+6I7SsVE XsFw== 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 g25si8557713edq.472.2022.02.11.00.52.06; Fri, 11 Feb 2022 00:52:31 -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 S1347892AbiBKIEh (ORCPT + 99 others); Fri, 11 Feb 2022 03:04:37 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:33020 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347887AbiBKIEc (ORCPT ); Fri, 11 Feb 2022 03:04:32 -0500 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9F852BD2; Fri, 11 Feb 2022 00:04:31 -0800 (PST) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 468C5201B51; Fri, 11 Feb 2022 09:04:30 +0100 (CET) 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 0D8B4201B4E; Fri, 11 Feb 2022 09:04:30 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by aprdc01srsp001v.ap-rdc01.nxp.com (Postfix) with ESMTP id 861A9183AC99; Fri, 11 Feb 2022 16:04:28 +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 v2 1/2] ARM: dts: imx6qp-sabresd: Enable PCIe support Date: Fri, 11 Feb 2022 15:32:58 +0800 Message-Id: <1644564779-8448-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 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 always 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