ARM: dts: Activate pullups in the console pins on rv1108-elgin-r1
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 13 Mar 2020 17:42:45 +0000 (14:42 -0300)
committerKever Yang <kever.yang@rock-chips.com>
Thu, 26 Mar 2020 14:58:46 +0000 (22:58 +0800)
In order to make the console pins more robust to noise, activate
the pullups and increase its drive strength.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rv1108-elgin-r1.dts

index 32b95940b071e7c82a466c3104dbd59588a839b7..83e8b3183847cdb9b7cb608b4aaca0be95466c8d 100644 (file)
 };
 
 &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>;
+               };
+       };
+};