Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: sun7i: Split the RTS and CTS pins out of the UART nodes

Some UART nodes on the A20 DTSI do not share the same pattern that we use
everywhere else, with the RTS and CTS pins split away from the TX and RX
pins. Make those pin groups consistent with the rest of our DT.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>

+15 -5
+2 -2
arch/arm/boot/dts/sun7i-a20-hummingbird.dts
··· 215 215 216 216 &uart2 { 217 217 pinctrl-names = "default"; 218 - pinctrl-0 = <&uart2_pi_pins>; 218 + pinctrl-0 = <&uart2_pi_pins>, <&uart2_cts_rts_pi_pins>; 219 219 status = "okay"; 220 220 }; 221 221 222 222 &uart3 { 223 223 pinctrl-names = "default"; 224 - pinctrl-0 = <&uart3_pg_pins>; 224 + pinctrl-0 = <&uart3_pg_pins>, <&uart3_cts_rts_pg_pins>; 225 225 status = "okay"; 226 226 }; 227 227
+1 -1
arch/arm/boot/dts/sun7i-a20-mk808c.dts
··· 173 173 174 174 &uart2 { 175 175 pinctrl-names = "default"; 176 - pinctrl-0 = <&uart2_pi_pins>; 176 + pinctrl-0 = <&uart2_pi_pins>, <&uart2_cts_rts_pi_pins>; 177 177 status = "okay"; 178 178 }; 179 179
+12 -2
arch/arm/boot/dts/sun7i-a20.dtsi
··· 935 935 }; 936 936 937 937 uart2_pi_pins: uart2-pi-pins { 938 - pins = "PI16", "PI17", "PI18", "PI19"; 938 + pins = "PI18", "PI19"; 939 + function = "uart2"; 940 + }; 941 + 942 + uart2_cts_rts_pi_pins: uart2-cts-rts-pi-pins { 943 + pins = "PI16", "PI17"; 939 944 function = "uart2"; 940 945 }; 941 946 942 947 uart3_pg_pins: uart3-pg-pins { 943 - pins = "PG6", "PG7", "PG8", "PG9"; 948 + pins = "PG6", "PG7"; 949 + function = "uart3"; 950 + }; 951 + 952 + uart3_cts_rts_pg_pins: uart3-cts-rts-pg-pins { 953 + pins = "PG8", "PG9"; 944 954 function = "uart3"; 945 955 }; 946 956