Add optional RTS and CTS pins to H3 UARTs 2 and 3

This commit is contained in:
zador-blood-stained 2017-03-08 16:49:59 +03:00
parent b42054d78b
commit 52ecf017bd
2 changed files with 31 additions and 13 deletions

View File

@ -0,0 +1,31 @@
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 32dd4493..12d2f8e9 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -528,12 +528,26 @@
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+ uart2_rts_cts_pins: uart2_rts_cts {
+ allwinner,pins = "PA2", "PA3";
+ allwinner,function = "uart2";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
+
uart3_pins: uart3 {
allwinner,pins = "PA13", "PA14";
allwinner,function = "uart3";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
+
+ uart3_rts_cts_pins: uart3_rts_cts {
+ allwinner,pins = "PA15", "PA16";
+ allwinner,function = "uart3";
+ allwinner,drive = <SUN4I_PINCTRL_10_MA>;
+ allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
+ };
};
timer@01c20c00 {

View File

@ -1,13 +0,0 @@
diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index 12dc849a..d1b4cd79 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -509,7 +523,7 @@
};
uart3_pins: uart3 {
- allwinner,pins = "PA13", "PA14";
+ allwinner,pins = "PA13", "PA14", "PA15", "PA16";
allwinner,function = "uart3";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;