ARM: dts: at91: sama7g5ek: enable pull-up for serial debug line
authorEugen Hristev <eugen.hristev@microchip.com>
Thu, 28 Jan 2021 08:14:11 +0000 (10:14 +0200)
committerEugen Hristev <eugen.hristev@microchip.com>
Thu, 11 Feb 2021 07:26:40 +0000 (09:26 +0200)
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 <eugen.hristev@microchip.com>
arch/arm/dts/sama7g5ek.dts

index ff9c9eb..3a4fdd3 100644 (file)
        pinctrl_flx3_default: flx3_default {
                pinmux = <PIN_PD16__FLEXCOM3_IO0>,
                         <PIN_PD17__FLEXCOM3_IO1>;
-               bias-disable;
+               bias-pull-up;
        };
 
        pinctrl_sdmmc0_cmd_data_default: sdmmc0_cmd_data_default {