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 419DDC04A94 for ; Wed, 2 Aug 2023 19:40:14 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 43F4E8686F; Wed, 2 Aug 2023 21:40:12 +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="hwOfNZax"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 8921C86879; Wed, 2 Aug 2023 21:40:10 +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 45EFD8685D for ; Wed, 2 Aug 2023 21:40:08 +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=mRbRURG6+XNp1qEh267WT1qBt2m57YAw9G5d7IG8L4U=; b=hwOfNZaxS6PEcUBCFnHIHI8LvZ2feJgHLfXqdHwIqXaHrJ04SivGGKdNWQeik2hg59yQ NR47nVAqq050TFgTxrse5Bv+w78jgUYIvA26VMIDTSePF7Cx7bsOcfHH4vAUaRGi/p9pcP aOkLLB9gm86omO/RgpV1V/fhQHXh5dTVMgFS5Q+7NAkCE5KFryjpzPSfaYZRYZCqiRu0BE RId5e0rPNoMfu1s/0ZbVvZKdpkdpneoJ6ZHykA4QKaKqMc/0W1ZISIGLevXG8JcC/wlriR RGkWB1EfeXkOvUegUv7RvlYyO+76GyXYpnvaJSOGnAYWVvcgg4DigwMweoroX5pA== Received: by filterdrecv-d7bbbc8bf-qc8hg with SMTP id filterdrecv-d7bbbc8bf-qc8hg-1-64CAAFE1-25 2023-08-02 19:34:57.58333357 +0000 UTC m=+7242904.709371918 Received: from bionic.localdomain (unknown) by geopod-ismtpd-canary-0 (SG) with ESMTP id n4iU8If7QMmPFUKNiAZ47A for ; Wed, 02 Aug 2023 19:34:57.298 +0000 (UTC) From: Jonas Karlman Subject: [PATCH v2 7/7] rockchip: rk3568-radxa-e25: Enable pcie3x1 node Date: Wed, 02 Aug 2023 19:34:57 +0000 (UTC) Message-ID: <20230802190424.2963185-8-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230802190424.2963185-1-jonas@kwiboo.se> References: <20230802190424.2963185-1-jonas@kwiboo.se> MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h4NoJYlBrLnRO6RdY?= =?us-ascii?Q?s=2F0rzWhGDRdDSG8B1xsrSb+2UaQXwDEaq92fiuW?= =?us-ascii?Q?Z7=2FWhf0SoquOFHiYxlOEzDROp=2FWxp4wGPGyL7X3?= =?us-ascii?Q?IjgHiT=2F4EEfm3ninkyeWrqiWqaMihZEmt9fVKqW?= =?us-ascii?Q?YCZNmqJl=2FRXCXh0LHK1HSeuPAb0qW8yU5c95b+?= To: Kever Yang , Simon Glass , Philipp Tomsich , Jonas Karlman Cc: Eugen Hristev , Jon Lin , FUKAUMI Naoki , John Clark , 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 --- v2: - No change 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