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:
parent
b11ec57445
commit
3d3a3007fa
3 changed files with 12 additions and 10 deletions
|
@ -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
|
||||
|
|
|
@ -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 {};
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue