boards: arm: stm32h747i_disco: rework uart split between CM4 and CM7

Move uart/usart pinctrl to common file.
Set status in dedicated m7 or m4 file.
But only one core can control a peripheral instance.
Arbitrary default choice:
usart1 --> m7
uart8 --> m4

Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
This commit is contained in:
Alexandre Bourdiol 2021-06-18 19:44:45 +02:00 committed by Anas Nashif
commit 3d3a3007fa
3 changed files with 12 additions and 10 deletions

View file

@ -75,7 +75,15 @@
d3ppre = <2>;
};
arduino_serial: &uart8 {};
&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
current-speed = <115200>;
};
&uart8 {
pinctrl-0 = <&uart8_tx_pj8 &uart8_rx_pj9>;
current-speed = <115200>;
};
&spi5 {
pinctrl-0 = <&spi5_nss_pk1 &spi5_sck_pk0

View file

@ -48,13 +48,11 @@
};
&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
current-speed = <115200>;
/* status = "okay"; */
};
&uart8 {
pinctrl-0 = <&uart8_tx_pj8 &uart8_rx_pj9>;
current-speed = <115200>;
status = "okay";
};
arduino_serial: &uart8 {};

View file

@ -69,15 +69,11 @@
};
&usart1 {
pinctrl-0 = <&usart1_tx_pa9 &usart1_rx_pa10>;
current-speed = <115200>;
status = "okay";
};
&uart8 {
pinctrl-0 = <&uart8_tx_pj8 &uart8_rx_pj9>;
current-speed = <115200>;
status = "okay";
/* status = "okay"; */
};
&spi5 {