summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-09-27 15:44:49 +0200
committerTom Rini <trini@konsulko.com>2017-10-08 16:19:56 -0400
commit75d5853ffc304a8f1432ed50846d592113519b1f (patch)
tree8356fadead7ec8edce1f66d38889c0ba0632b175
parent2a52a9527ab404be6f81bacf70a484fe993d7d44 (diff)
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: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Vikas Manocha <vikas.manocha@st.com>
-rw-r--r--arch/arm/dts/stm32h743.dtsi4
-rw-r--r--drivers/serial/serial_stm32x7.c2
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/dts/stm32h743.dtsi b/arch/arm/dts/stm32h743.dtsi
index 16e93089d7..a413866bf6 100644
--- a/arch/arm/dts/stm32h743.dtsi
+++ b/arch/arm/dts/stm32h743.dtsi
@@ -76,7 +76,7 @@
};
usart1: serial@40011000 {
- compatible = "st,stm32h7-usart", "st,stm32h7-uart";
+ compatible = "st,stm32h7-uart";
reg = <0x40011000 0x400>;
interrupts = <37>;
status = "disabled";
@@ -84,7 +84,7 @@
};
usart2: serial@40004400 {
- compatible = "st,stm32h7-usart", "st,stm32h7-uart";
+ compatible = "st,stm32h7-uart";
reg = <0x40004400 0x400>;
interrupts = <38>;
status = "disabled";
diff --git a/drivers/serial/serial_stm32x7.c b/drivers/serial/serial_stm32x7.c
index 2f4eafa885..bafcc36efc 100644
--- a/drivers/serial/serial_stm32x7.c
+++ b/drivers/serial/serial_stm32x7.c
@@ -110,9 +110,7 @@ static int stm32_serial_probe(struct udevice *dev)
#if CONFIG_IS_ENABLED(OF_CONTROL)
static const struct udevice_id stm32_serial_id[] = {
- {.compatible = "st,stm32f7-usart"},
{.compatible = "st,stm32f7-uart"},
- {.compatible = "st,stm32h7-usart"},
{.compatible = "st,stm32h7-uart"},
{}
};