]> git.sur5r.net Git - u-boot/commitdiff
serial: stm32x7: remove stm32f7-usart and stm32h7-usart compatible
authorPatrice Chotard <patrice.chotard@st.com>
Wed, 27 Sep 2017 13:44:49 +0000 (15:44 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 8 Oct 2017 20:19:56 +0000 (16:19 -0400)
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>
arch/arm/dts/stm32h743.dtsi
drivers/serial/serial_stm32x7.c

index 16e93089d72666a1075b503366fd4327a53c1bee..a413866bf6d880e5b86822c6abc5d4f902ed5831 100644 (file)
@@ -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";
index 2f4eafa885ac9c281c6f3e78c565c0506747d7d3..bafcc36efc4a13581d999f7d10221354f3e1729e 100644 (file)
@@ -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"},
        {}
 };