Add optional RTS and CTS pins to H3 UARTs 2 and 3
This commit is contained in:
parent
b42054d78b
commit
52ecf017bd
31
patch/kernel/sun8i-dev/add-uart-rts-cts-pins.patch
Normal file
31
patch/kernel/sun8i-dev/add-uart-rts-cts-pins.patch
Normal 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 {
|
||||
@ -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>;
|
||||
Loading…
Reference in New Issue
Block a user