diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2020-03-13 14:42:45 -0300 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-03-26 22:58:46 +0800 |
commit | af84b3327ad269ffefcd66ddff2f5dea5eff38f8 (patch) | |
tree | 280021857fc9c45769577959fa0ab0adb77c38eb /arch/arm | |
parent | 23cb61761b137f088ef8625a1c4e7d9af2cbd296 (diff) |
ARM: dts: Activate pullups in the console pins on rv1108-elgin-r1
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/dts/rv1108-elgin-r1.dts | 11 |
1 files changed, 11 insertions, 0 deletions
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>; + }; + }; +}; |