From patchwork Thu Jan 28 08:14:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 1432589 X-Patchwork-Delegate: eugen.hristev@microchip.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.a=rsa-sha256 header.s=mchp header.b=G2Be3l6C; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DRCtg2SKJz9sBy for ; Thu, 28 Jan 2021 19:14:35 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7FCE9825C4; Thu, 28 Jan 2021 09:14:29 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=microchip.com header.i=@microchip.com header.b="G2Be3l6C"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0C79D8262D; Thu, 28 Jan 2021 09:14:28 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 30E19825C4 for ; Thu, 28 Jan 2021 09:14:22 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=quarantine dis=none) header.from=microchip.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=Eugen.Hristev@microchip.com DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1611821662; x=1643357662; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=5pSXFHwI5n9cZ+XkQ8F7ssVE1AofFCi3NeW/hhWCojY=; b=G2Be3l6CBmmDvxrsS9jnBiIwpzb3AbaqBo5r2CqgVgg56qOMGVPNmhav txoR8A0evYPMyZDO5BUw6NXFxeDyjg4DaBYlj6RGoSJA0WHcJi0iydq2m +GDyjslg5L6tM/gUIhLCI0dTenyV0eK0Pov/7gl4N8qq+mdgxPoIMGko6 4fpdl9IqRBuH3Rav0YVwF88g2RuI7gtLvnJxoH7HLxtslIPeXwjkUcHav hS1zakRLBv8fdnejIJ1uOLR8tXH8xdrXjcf5BS1NndiMc/cCOmAM19Nv/ 9bWEeCzjimvVMPwzkETl2hldrWfEj9rpVddjFyZgvX8Bah3/LS3S5fVK3 w==; IronPort-SDR: /OO7oXzd3rsE3u/CxLu08I7oA1mzedtCrY/9DX58MIxWmK3xH+REea8FLd5OjswZGfXHsu7wDc L6bKvleQApmYdrSDkejw077yyjFYC+Rvu/LT7nX2xxPr0ZLh2Fe/n7+57ypQe9KJ5lSPWULrI3 OfZJCQet42v8teBLaVPtlInEMBvBqOtvLO0uTm5VZUF0lVhv6JfHvYTS+GfD6BMdQzf+KtFECk ZZrw39j8JZS0Br77cYxb66NvRITbx79TAx2AXf0sPNKK7r6NAfqS1nnzCrcZ+whuHn3OwEeokM N7g= X-IronPort-AV: E=Sophos;i="5.79,381,1602572400"; d="scan'208";a="107599462" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 28 Jan 2021 01:14:20 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 28 Jan 2021 01:14:20 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 28 Jan 2021 01:14:15 -0700 From: Eugen Hristev To: CC: Eugen Hristev Subject: [PATCH] ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line Date: Thu, 28 Jan 2021 10:14:11 +0200 Message-ID: <20210128081411.1139971-1-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 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.102.3 at phobos.denx.de X-Virus-Status: Clean If the serial tx/rx are floating, it can happen that bogus characters are detected on the line at boot time. This leads to U-boot accidentally thinking someone pressed a key to stop autoboot, thus stopping booting process. This can happen if the serial cable is not connected. There are hardware pull-ups on the board connected to serial cable VBUS. To solve this when the cable is not plugged, enable internal pull-ups as well for the tx/rx lines. Signed-off-by: Eugen Hristev --- arch/arm/dts/sama7g5ek.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/dts/sama7g5ek.dts b/arch/arm/dts/sama7g5ek.dts index ff9c9eb45c..3a4fdd38a5 100644 --- a/arch/arm/dts/sama7g5ek.dts +++ b/arch/arm/dts/sama7g5ek.dts @@ -122,7 +122,7 @@ pinctrl_flx3_default: flx3_default { pinmux = , ; - bias-disable; + bias-pull-up; }; pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default {