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

ARM: dts: ux500: Add pin configs for UART1 CTS/RTS pins

UART1 can optionally be used with additional CTS/RTS pins.
The pinctrl driver has an extra "u1ctsrts_a_1" pin group for them.

Add a new pin configuration to configure them correctly if needed.

Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
Link: https://lore.kernel.org/r/20191125122256.53482-4-stephan@gerhold.net
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

authored by

Stephan Gerhold and committed by
Linus Walleij
99e1df61 4dbeac73

+26
+26
arch/arm/boot/dts/ste-dbx5x0-pinctrl.dtsi
··· 65 65 ste,config = <&slpm_out_wkup_pdis>; 66 66 }; 67 67 }; 68 + 69 + u1ctsrts_a_1_default: u1ctsrts_a_1_default { 70 + default_mux { 71 + function = "u1"; 72 + groups = "u1ctsrts_a_1"; 73 + }; 74 + default_cfg1 { 75 + pins = "GPIO6_AF6"; /* CTS */ 76 + ste,config = <&in_pu>; 77 + }; 78 + default_cfg2 { 79 + pins = "GPIO7_AG5"; /* RTS */ 80 + ste,config = <&out_hi>; 81 + }; 82 + }; 83 + 84 + u1ctsrts_a_1_sleep: u1ctsrts_a_1_sleep { 85 + sleep_cfg1 { 86 + pins = "GPIO6_AF6"; /* CTS */ 87 + ste,config = <&slpm_in_wkup_pdis>; 88 + }; 89 + sleep_cfg2 { 90 + pins = "GPIO7_AG5"; /* RTS */ 91 + ste,config = <&slpm_out_hi_wkup_pdis>; 92 + }; 93 + }; 68 94 }; 69 95 70 96 uart2 {