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 299E8C001DF for ; Sun, 30 Jul 2023 12:56:09 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 0410386911; Sun, 30 Jul 2023 14:56:07 +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="I0RypIwY"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 6028A86926; Sun, 30 Jul 2023 14:56:05 +0200 (CEST) Received: from s.wrqvwxzv.outbound-mail.sendgrid.net (s.wrqvwxzv.outbound-mail.sendgrid.net [149.72.154.232]) (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 CDBF0868C1 for ; Sun, 30 Jul 2023 14:56:02 +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:mime-version:to:cc:content-transfer-encoding: content-type:cc:content-type:from:subject:to; s=s1; bh=vaHp1PJNJeULd2fANQkopwef6JXsP4Fq+e02iiwlJJA=; b=I0RypIwYdtaHogqx5Qqnn9RsErtNfFNYD0L93DdC3Bke1o9OJmI+b3V/6WiImL55o05Y k455aFu4sGGIioYMkLoz2816oUMYo/cJlRTZoOMSD6kx+tyw+KHMabh89EcdQJFWcu6EKd DGDlH4xTJQjs8vW2IViPYMYYpIjDqNBCM1PdCDl1KGDB6W3tRimrnKaJ3eDOdVqeL90M/Y D5E1NsrRTp3Kiy40QUq69d0gCejc/HtNEHOnDRFWEMZePhZVE7svfwDCNCQnkYdMbC2ivH LpOHlGbZ5b9xI3DQbREML6w0cu9qSr8Y2KhzAWA1Ns/AFAwAm48B4/Tz2cgUIHIg== Received: by filterdrecv-d7bbbc8bf-zxdrb with SMTP id filterdrecv-d7bbbc8bf-zxdrb-1-64C65DE1-5 2023-07-30 12:56:01.190135321 +0000 UTC m=+6959769.613783588 Received: from bionic.localdomain (unknown) by geopod-ismtpd-0 (SG) with ESMTP id gcLvnQOaSASQHOj8Zr136w Sun, 30 Jul 2023 12:56:00.814 +0000 (UTC) From: Jonas Karlman Subject: [PATCH] rockchip: rk3568-rock-3a: Fix pcie2x1 and pcie3x2 pinctrl override Date: Sun, 30 Jul 2023 12:56:01 +0000 (UTC) Message-ID: <20230730125557.3661911-1-jonas@kwiboo.se> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-SG-EID: =?us-ascii?Q?TdbjyGynYnRZWhH+7lKUQJL+ZxmxpowvO2O9SQF5CwCVrYgcwUXgU5DKUU3QxA?= =?us-ascii?Q?fZekEeQsTe+RrMu3cja6a0h9S37QxtMoDN=2FJ4om?= =?us-ascii?Q?xaSF2mkPQ5iF49gUkU6bdpTmrAm+KHtvTqmBpMI?= =?us-ascii?Q?X1ATwjBWqpQXchdP6PwVJv6On3vHG=2FJw8egNvpV?= =?us-ascii?Q?w=2F4pT8+8QWxv20+qwhUidrPHWiOrz9CJfaWdKIz?= =?us-ascii?Q?3JO2OXh76BSJMIIPg7tfZ53cICjoDN3zYdO30u?= To: Kever Yang , Simon Glass , Philipp Tomsich , Akash Gajjar , Jonas Karlman Cc: 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 The pcie pinctrl override added in the commit a76aa6ffa6cd ("rockchip: rk3568-rock-3a: Enable PCIe and NVMe support") is causing a pinmux issue on linux when using a EFI boot flow. Remove the pinctrl override in u-boot.dtsi to fix this issue. PCIe/NVMe continues to work in both u-boot and linux after this change. Also revert disable of sdmmc2 and uart1 to fix use of wifi in linux when using a EFI boot flow. Fixes: a76aa6ffa6cd ("rockchip: rk3568-rock-3a: Enable PCIe and NVMe support") Fixes: 073d911ae64a ("rockchip: rk3568-rock-3a: Sync device tree from linux") Signed-off-by: Jonas Karlman --- This may depend on the following series for a clean apply: - rockchip: rk3568: Device Tree updates v2 - rockchip: rk35xx: Fix SPI Flash alias v2 - rockchip: rk3568: Use dwc3-generic driver v4 arch/arm/dts/rk3568-rock-3a-u-boot.dtsi | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi index a36a329f59c5..f26a6cb899f7 100644 --- a/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi +++ b/arch/arm/dts/rk3568-rock-3a-u-boot.dtsi @@ -12,22 +12,6 @@ }; }; -&pcie2x1 { - pinctrl-0 = <&pcie20m1_pins &pcie_reset_h>; -}; - -&pcie3x2 { - pinctrl-0 = <&pcie30x2m1_pins &pcie3x2_reset_h>; -}; - -&pinctrl { - pcie { - pcie3x2_reset_h: pcie3x2-reset-h { - rockchip,pins = <2 RK_PD6 RK_FUNC_GPIO &pcfg_pull_none>; - }; - }; -}; - &sdhci { cap-mmc-highspeed; mmc-ddr-1_8v; @@ -53,14 +37,6 @@ }; }; -&sdmmc2 { - status = "disabled"; -}; - -&uart1 { - status = "disabled"; -}; - &uart2 { clock-frequency = <24000000>; bootph-all; -- 2.41.0