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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A4668C41513 for ; Wed, 2 Aug 2023 07:04:03 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7CC5986C81; Wed, 2 Aug 2023 09:03:56 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=kwiboo.se header.i=@kwiboo.se header.b="MdtM1fEf"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8AF1B867D8; Wed, 2 Aug 2023 09:03:54 +0200 (CEST) Received: from wfbtzhsw.outbound-mail.sendgrid.net (wfbtzhsw.outbound-mail.sendgrid.net [159.183.224.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4E7FE86C81 for ; Wed, 2 Aug 2023 09:03:52 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kwiboo.se Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=bounces+31435339-7456-u-boot=lists.denx.de@em2124.kwiboo.se DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kwiboo.se; h=from:subject:in-reply-to:references:mime-version:to:cc: content-transfer-encoding:content-type:cc:content-type:from:subject:to; s=s1; bh=sq6icGTsvViXNMJGhlxAJGIgjN+yv/+ud4nHnigkfGI=; b=MdtM1fEf1qygAgUUHN8Pao7rpeYB8dDxfl7ZggAHmFA8+N4pdsrjy2JNMduArk3TURqw gcW33bYN0yW2TV2db1settpcC4TfOsm1jrvCWrEhmqTp/ywKikwOYNWAMXlRoz0D0dP/i7 pXGDhKAGh6XB+vzRqF/gT+OeREFiSSUNO05i0T8lGRHrhao0Qq6hUl0dCE6tswXzj+DwXr H5ANebYS862udyN21WqtaBOOZPc3IG1Hx5DP/wdPCCnP0AGXHXwz7J18NZ6FOuhG3vE5I+ 1V7QNMTXJ8ePUACyMa7U/FCRwXdw4YMOQ1BpXXVnoxkjiV5m9ZEAk++0QqDY0zOA== Received: by filterdrecv-d7bbbc8bf-r6vsn with SMTP id filterdrecv-d7bbbc8bf-r6vsn-1-64C9FEA2-1B 2023-08-02 06:58:42.502220829 +0000 UTC m=+3073350.698975194 Received: from bionic.localdomain (unknown) by geopod-ismtpd-3 (SG) with ESMTP id jEmr6jfYRyqZqgml84K9cQ Wed, 02 Aug 2023 06:58:42.313 +0000 (UTC) From: Jonas Karlman Subject: [PATCH RESEND 6/6] rockchip: rk3568-radxa-e25: Enable pcie3x1 node Date: Wed, 02 Aug 2023 06:58:42 +0000 (UTC) Message-ID: <20230802065834.2273853-7-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230802065834.2273853-1-jonas@kwiboo.se> References: <20230802065834.2273853-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h+6BBoL=2F7pUeBkFGs?= =?us-ascii?Q?zmuTy9Vp=2FSrixJUyHSIBDWyZ+YKPOrveOWFVOUv?= =?us-ascii?Q?PuFWnk55Y7TQ1PXDKrOQUNp4SF4rHd+JqmfTNHj?= =?us-ascii?Q?dHLueFVWSvip=2FdJUNHYQ0mNYNiJd5qeZY3ACUvk?= =?us-ascii?Q?N1QcOvkpcEFZjadJTzQcXkZoQxYShE=2Ftdiujam?= To: Kever Yang , Simon Glass , Philipp Tomsich , Jonas Karlman Cc: Eugen Hristev , Jon Lin , u-boot@lists.denx.de X-Entity-ID: P7KYpSJvGCELWjBME/J5tg== Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean Enable mini PCIe slot, pcie3x1 node, now that the PCIe PHY driver support bifurcation. A pinctrl is assigned for reset-gpios or the device may freeze running pci enum and nothing is connected to the mini PCIe slot. Also drop the AHCI_PCI Kconfig option as this option is not required for a functional M.2 SATA drive slot. Signed-off-by: Jonas Karlman --- arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi | 11 +++++++++-- configs/radxa-e25-rk3568_defconfig | 1 - 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi b/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi index 572bdc5665b1..1136f0bb3b81 100644 --- a/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi +++ b/arch/arm/dts/rk3568-radxa-e25-u-boot.dtsi @@ -8,9 +8,16 @@ }; }; -/* PCIe PHY driver in U-Boot does not support bifurcation */ &pcie3x1 { - status = "disabled"; + pinctrl-0 = <&pcie30x1_reset_h>; +}; + +&pinctrl { + pcie { + pcie30x1_reset_h: pcie30x1-reset-h { + rockchip,pins = <0 RK_PC3 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &sdhci { diff --git a/configs/radxa-e25-rk3568_defconfig b/configs/radxa-e25-rk3568_defconfig index a905100a794d..2dfff6af3bd1 100644 --- a/configs/radxa-e25-rk3568_defconfig +++ b/configs/radxa-e25-rk3568_defconfig @@ -54,7 +54,6 @@ CONFIG_OF_SPL_REMOVE_PROPS="clock-names interrupt-parent assigned-clocks assigne CONFIG_SPL_DM_SEQ_ALIAS=y CONFIG_SPL_REGMAP=y CONFIG_SPL_SYSCON=y -CONFIG_AHCI_PCI=y CONFIG_DWC_AHCI=y CONFIG_SPL_CLK=y CONFIG_ROCKCHIP_GPIO=y -- 2.41.0