From patchwork Fri Mar 13 17:42:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Otavio Salvador X-Patchwork-Id: 243621 List-Id: U-Boot discussion From: otavio at ossystems.com.br (Otavio Salvador) Date: Fri, 13 Mar 2020 14:42:45 -0300 Subject: [PATCH 1/4] ARM: dts: Activate pullups in the console pins on rv1108-elgin-r1 In-Reply-To: <20200313174248.925841-1-otavio@ossystems.com.br> References: <20200313174248.925841-1-otavio@ossystems.com.br> Message-ID: <20200313174248.925841-2-otavio@ossystems.com.br> In order to make the console pins more robust to noise, activate the pullups and increase its drive strength. Signed-off-by: Otavio Salvador Reviewed-by: Kever Yang --- arch/arm/dts/rv1108-elgin-r1.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/dts/rv1108-elgin-r1.dts b/arch/arm/dts/rv1108-elgin-r1.dts index 32b95940b0..83e8b31838 100644 --- a/arch/arm/dts/rv1108-elgin-r1.dts +++ b/arch/arm/dts/rv1108-elgin-r1.dts @@ -40,9 +40,20 @@ }; &uart2 { + pinctrl-names = "default"; + pinctrl-0 = <&uart2m0_xfer_pullup>; status = "okay"; }; &usb20_otg { status = "okay"; }; + +&pinctrl { + uart2m0 { + uart2m0_xfer_pullup: uart2m0-xfer-pullup { + rockchip,pins = <2 RK_PD2 RK_FUNC_1 &pcfg_pull_up_drv_8ma>, + <2 RK_PD1 RK_FUNC_1 &pcfg_pull_up_drv_8ma>; + }; + }; +};