Skip to content
Snippets Groups Projects
Commit 75d5853f authored by Patrice Chotard's avatar Patrice Chotard Committed by Tom Rini
Browse files

serial: stm32x7: remove stm32f7-usart and stm32h7-usart compatible


This patch remove the extra compatibility string "st,stm32h7-usart"
and "st,stm32f7-usart" to avoid confusion, save some time & space.

Signed-off-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Reviewed-by: default avatarVikas Manocha <vikas.manocha@st.com>
parent 2a52a952
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ ...@@ -76,7 +76,7 @@
}; };
usart1: serial@40011000 { usart1: serial@40011000 {
compatible = "st,stm32h7-usart", "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>; reg = <0x40011000 0x400>;
interrupts = <37>; interrupts = <37>;
status = "disabled"; status = "disabled";
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,7 @@
}; };
usart2: serial@40004400 { usart2: serial@40004400 {
compatible = "st,stm32h7-usart", "st,stm32h7-uart"; compatible = "st,stm32h7-uart";
reg = <0x40004400 0x400>; reg = <0x40004400 0x400>;
interrupts = <38>; interrupts = <38>;
status = "disabled"; status = "disabled";
......
...@@ -110,9 +110,7 @@ static int stm32_serial_probe(struct udevice *dev) ...@@ -110,9 +110,7 @@ static int stm32_serial_probe(struct udevice *dev)
#if CONFIG_IS_ENABLED(OF_CONTROL) #if CONFIG_IS_ENABLED(OF_CONTROL)
static const struct udevice_id stm32_serial_id[] = { static const struct udevice_id stm32_serial_id[] = {
{.compatible = "st,stm32f7-usart"},
{.compatible = "st,stm32f7-uart"}, {.compatible = "st,stm32f7-uart"},
{.compatible = "st,stm32h7-usart"},
{.compatible = "st,stm32h7-uart"}, {.compatible = "st,stm32h7-uart"},
{} {}
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment