From patchwork Wed Dec 20 00:02:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Vasut X-Patchwork-Id: 13499344 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B0835C41535 for ; Wed, 20 Dec 2023 00:04:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=zGm378zxIfva95TeD4RG1yavQqFNhCkuM5KYG59IHcE=; b=YvhPBH5KWUgMll 4ytZ1FJR7E9/UsYn3Z90dft5upGKieT1819xAhVCrazt4hRhSqixQ5etEkDl7vRnrGdseuUbsWvqp aB3ao+y/alo0zb4O5eCXPg15s7lKVWoFVlHpPcSC35RjtqZeQfciDYb28eUQglIruFY8knwmHQwZS fX5+H/WIKKuINs1M98rf4Myg8Mppn9I9lUvNqNF4li1nOFQkQ9mt9jXf/E62213Em1iR9VGyWOVFX UtmoGitvr3EC8jjoigX3ibojiuJm56VxdYllejWdmTdIuE5uXDirH3WpJni8DO8Qw4pGVpPg+NtB5 aYKo2eQnrbKjS92D5zOw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rFk4Q-00FjUd-1z; Wed, 20 Dec 2023 00:04:18 +0000 Received: from phobos.denx.de ([2a01:238:438b:c500:173d:9f52:ddab:ee01]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rFk4O-00FjTS-0p for linux-arm-kernel@lists.infradead.org; Wed, 20 Dec 2023 00:04:17 +0000 Received: from tr.lan (ip-86-49-120-218.bb.vodafone.cz [86.49.120.218]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: marex@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 179AD86E5E; Wed, 20 Dec 2023 01:04:09 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1703030649; bh=snWfkyID8+PR11Wf6qKJQp8+QcTOjr/YidafSNOm00M=; h=From:To:Cc:Subject:Date:From; b=OOChNBWnvRpJzq1V65Q0FfHQ1nU3FfidXv/5cMENh3bx8toYo3OLxfhGPUOlv6cTL m79IqdmjAQQxc1QWQWn9rmQYM6AWxLnrL2xr0/Mt1QySaRCiu27uSiToVgirpv7eTv 6jrbwvNyQmPl1jsOukAXLBg7zyfiGISObieIDEZ9dJB/fCtNtxZ7YiZjXghqmLCa/o 7EJ+g2r54s3LD2ESGIfbnyNBJp8j6BBlLVHm8DUurjfBts9a3U7Ki4YJ43Eb1IBglN nZ/ZqCwvaIPeDrdimFt+Ova9AxfGbygWyh5y8vHeDOyKLh3ur0M+jd6OeyplC3u/A8 bIeyVy+Zgea8Q== From: Marek Vasut To: linux-arm-kernel@lists.infradead.org Cc: Marek Vasut , Conor Dooley , Fabio Estevam , Krzysztof Kozlowski , NXP Linux Team , Pengutronix Kernel Team , Rob Herring , Sascha Hauer , Shawn Guo , devicetree@vger.kernel.org Subject: [PATCH] arm64: dts: imx8mp: Disable UART4 by default on Data Modul i.MX8M Plus eDM SBC Date: Wed, 20 Dec 2023 01:02:42 +0100 Message-ID: <20231220000345.42593-1-marex@denx.de> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231219_160416_472286_6C537DBB X-CRM114-Status: GOOD ( 14.32 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org UART4 is used as CM7 coprocessor debug UART and may not be accessible from Linux in case it is protected by RDC. The RDC protection is set up by the platform firmware. UART4 is not used on this platform by Linux. Disable UART4 by default to prevent boot hangs, which occur when the RDC protection is in place. Fixes: 562d222f23f0 ("arm64: dts: imx8mp: Add support for Data Modul i.MX8M Plus eDM SBC") Signed-off-by: Marek Vasut Reviewed-by: Fabio Estevam --- Cc: Conor Dooley Cc: Fabio Estevam Cc: Krzysztof Kozlowski Cc: NXP Linux Team Cc: Pengutronix Kernel Team Cc: Rob Herring Cc: Sascha Hauer Cc: Shawn Guo Cc: devicetree@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org --- arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts index 34e9aecc403bd..88e1b76d7d75f 100644 --- a/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts +++ b/arch/arm64/boot/dts/freescale/imx8mp-data-modul-edm-sbc.dts @@ -491,7 +491,7 @@ &uart3 { /* A53 Debug */ &uart4 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart4>; - status = "okay"; + status = "disabled"; }; &usb3_phy0 {