Commit b4d79954 authored by Guillaume Gautier's avatar Guillaume Gautier Committed by Benjamin Cabé
Browse files

boards: st: stm32n6: enable a second uart for stm32n6 boards



Enable a second UART for Nucleo N657x0-Q and STM32N6570 DK boards.

Signed-off-by: default avatarGuillaume Gautier <guillaume.gautier-ext@st.com>
parent 6f67555d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -33,3 +33,5 @@
			   <21 0 &gpioh 9 0>;	/* D15 */
	};
};

arduino_serial: &usart3 {};
+2 −0
Original line number Diff line number Diff line
@@ -99,6 +99,8 @@ Default Zephyr Peripheral Mapping:
- LD2 : PG10
- USART_1_TX : PE5
- USART_1_RX : PE6
- USART_3_TX : PD8
- USART_3_RX : PD9

System Clock
------------
+9 −0
Original line number Diff line number Diff line
@@ -118,3 +118,12 @@
	current-speed = <115200>;
	status = "okay";
};

&usart3 {
	clocks = <&rcc STM32_CLOCK(APB1, 17)>,
		 <&rcc STM32_SRC_CKPER USART2_SEL(1)>;
	pinctrl-0 = <&usart3_tx_pd8 &usart3_rx_pd9>;
	pinctrl-names = "default";
	current-speed = <115200>;
	status = "okay";
};
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ arch: arm
ram: 1024
flash: 1024
supported:
  - arduino_serial
  - dma
  - gpio
  - uart
+2 −0
Original line number Diff line number Diff line
@@ -34,3 +34,5 @@
			   <21 0 &gpioh 9 0>;	/* D15 */
	};
};

arduino_serial: &usart2 {};
Loading