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

ARM: dts: stm32: Add alternate pinmux for UART3 pins

Add another mux option for UART3 pins, this is used on DRC Compact board.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: linux-stm32@st-md-mailman.stormreply.com
To: linux-arm-kernel@lists.infradead.org
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>

authored by

Marek Vasut and committed by
Alexandre Torgue
2ff9ec3a 5eabbd30

+41
+41
arch/arm/boot/dts/stm32mp15-pinctrl.dtsi
··· 2218 2218 }; 2219 2219 }; 2220 2220 2221 + usart3_pins_e: usart3-4 { 2222 + pins1 { 2223 + pinmux = <STM32_PINMUX('B', 10, AF7)>, /* USART3_TX */ 2224 + <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ 2225 + bias-disable; 2226 + drive-push-pull; 2227 + slew-rate = <0>; 2228 + }; 2229 + pins2 { 2230 + pinmux = <STM32_PINMUX('B', 11, AF7)>, /* USART3_RX */ 2231 + <STM32_PINMUX('D', 11, AF7)>; /* USART3_CTS_NSS */ 2232 + bias-pull-up; 2233 + }; 2234 + }; 2235 + 2236 + usart3_idle_pins_e: usart3-idle-4 { 2237 + pins1 { 2238 + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ 2239 + <STM32_PINMUX('D', 11, ANALOG)>; /* USART3_CTS_NSS */ 2240 + }; 2241 + pins2 { 2242 + pinmux = <STM32_PINMUX('G', 8, AF8)>; /* USART3_RTS */ 2243 + bias-disable; 2244 + drive-push-pull; 2245 + slew-rate = <0>; 2246 + }; 2247 + pins3 { 2248 + pinmux = <STM32_PINMUX('B', 11, AF7)>; /* USART3_RX */ 2249 + bias-pull-up; 2250 + }; 2251 + }; 2252 + 2253 + usart3_sleep_pins_e: usart3-sleep-4 { 2254 + pins { 2255 + pinmux = <STM32_PINMUX('B', 10, ANALOG)>, /* USART3_TX */ 2256 + <STM32_PINMUX('G', 8, ANALOG)>, /* USART3_RTS */ 2257 + <STM32_PINMUX('D', 11, ANALOG)>, /* USART3_CTS_NSS */ 2258 + <STM32_PINMUX('B', 11, ANALOG)>; /* USART3_RX */ 2259 + }; 2260 + }; 2261 + 2221 2262 usbotg_hs_pins_a: usbotg-hs-0 { 2222 2263 pins { 2223 2264 pinmux = <STM32_PINMUX('A', 10, ANALOG)>; /* OTG_ID */