Commit 6c7b8412 authored by Vikas Manocha's avatar Vikas Manocha Committed by Greg Kroah-Hartman

Arm: dts: stm32: remove extra compatible string from DT & driver

This patch remove the extra compatibility string "st,stm32-usart" from
driver & device tree.
Signed-off-by: default avatarVikas Manocha <vikas.manocha@st.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0dc262f4
...@@ -315,7 +315,7 @@ iwdg: watchdog@40003000 { ...@@ -315,7 +315,7 @@ iwdg: watchdog@40003000 {
}; };
usart2: serial@40004400 { usart2: serial@40004400 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40004400 0x400>; reg = <0x40004400 0x400>;
interrupts = <38>; interrupts = <38>;
clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART2)>; clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART2)>;
...@@ -323,7 +323,7 @@ usart2: serial@40004400 { ...@@ -323,7 +323,7 @@ usart2: serial@40004400 {
}; };
usart3: serial@40004800 { usart3: serial@40004800 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40004800 0x400>; reg = <0x40004800 0x400>;
interrupts = <39>; interrupts = <39>;
clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART3)>; clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART3)>;
...@@ -387,7 +387,7 @@ dac2: dac@2 { ...@@ -387,7 +387,7 @@ dac2: dac@2 {
}; };
usart7: serial@40007800 { usart7: serial@40007800 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40007800 0x400>; reg = <0x40007800 0x400>;
interrupts = <82>; interrupts = <82>;
clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART7)>; clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART7)>;
...@@ -395,7 +395,7 @@ usart7: serial@40007800 { ...@@ -395,7 +395,7 @@ usart7: serial@40007800 {
}; };
usart8: serial@40007c00 { usart8: serial@40007c00 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40007c00 0x400>; reg = <0x40007c00 0x400>;
interrupts = <83>; interrupts = <83>;
clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART8)>; clocks = <&rcc 0 STM32F4_APB1_CLOCK(UART8)>;
...@@ -445,7 +445,7 @@ timer@7 { ...@@ -445,7 +445,7 @@ timer@7 {
}; };
usart1: serial@40011000 { usart1: serial@40011000 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40011000 0x400>; reg = <0x40011000 0x400>;
interrupts = <37>; interrupts = <37>;
clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART1)>; clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART1)>;
...@@ -456,7 +456,7 @@ usart1: serial@40011000 { ...@@ -456,7 +456,7 @@ usart1: serial@40011000 {
}; };
usart6: serial@40011400 { usart6: serial@40011400 {
compatible = "st,stm32-usart", "st,stm32-uart"; compatible = "st,stm32-uart";
reg = <0x40011400 0x400>; reg = <0x40011400 0x400>;
interrupts = <71>; interrupts = <71>;
clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART6)>; clocks = <&rcc 0 STM32F4_APB2_CLOCK(USART6)>;
......
...@@ -136,7 +136,7 @@ rtc: rtc@40002800 { ...@@ -136,7 +136,7 @@ rtc: rtc@40002800 {
}; };
usart2: serial@40004400 { usart2: serial@40004400 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40004400 0x400>; reg = <0x40004400 0x400>;
interrupts = <38>; interrupts = <38>;
clocks = <&rcc 1 CLK_USART2>; clocks = <&rcc 1 CLK_USART2>;
...@@ -144,7 +144,7 @@ usart2: serial@40004400 { ...@@ -144,7 +144,7 @@ usart2: serial@40004400 {
}; };
usart3: serial@40004800 { usart3: serial@40004800 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40004800 0x400>; reg = <0x40004800 0x400>;
interrupts = <39>; interrupts = <39>;
clocks = <&rcc 1 CLK_USART3>; clocks = <&rcc 1 CLK_USART3>;
...@@ -177,7 +177,7 @@ cec: cec@40006c00 { ...@@ -177,7 +177,7 @@ cec: cec@40006c00 {
}; };
usart7: serial@40007800 { usart7: serial@40007800 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40007800 0x400>; reg = <0x40007800 0x400>;
interrupts = <82>; interrupts = <82>;
clocks = <&rcc 1 CLK_UART7>; clocks = <&rcc 1 CLK_UART7>;
...@@ -185,7 +185,7 @@ usart7: serial@40007800 { ...@@ -185,7 +185,7 @@ usart7: serial@40007800 {
}; };
usart8: serial@40007c00 { usart8: serial@40007c00 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40007c00 0x400>; reg = <0x40007c00 0x400>;
interrupts = <83>; interrupts = <83>;
clocks = <&rcc 1 CLK_UART8>; clocks = <&rcc 1 CLK_UART8>;
...@@ -193,7 +193,7 @@ usart8: serial@40007c00 { ...@@ -193,7 +193,7 @@ usart8: serial@40007c00 {
}; };
usart1: serial@40011000 { usart1: serial@40011000 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40011000 0x400>; reg = <0x40011000 0x400>;
interrupts = <37>; interrupts = <37>;
clocks = <&rcc 1 CLK_USART1>; clocks = <&rcc 1 CLK_USART1>;
...@@ -201,7 +201,7 @@ usart1: serial@40011000 { ...@@ -201,7 +201,7 @@ usart1: serial@40011000 {
}; };
usart6: serial@40011400 { usart6: serial@40011400 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40011400 0x400>; reg = <0x40011400 0x400>;
interrupts = <71>; interrupts = <71>;
clocks = <&rcc 1 CLK_USART6>; clocks = <&rcc 1 CLK_USART6>;
......
...@@ -67,7 +67,7 @@ timer5: timer@40000c00 { ...@@ -67,7 +67,7 @@ timer5: timer@40000c00 {
}; };
usart2: serial@40004400 { usart2: serial@40004400 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40004400 0x400>; reg = <0x40004400 0x400>;
interrupts = <38>; interrupts = <38>;
status = "disabled"; status = "disabled";
...@@ -99,7 +99,7 @@ dac2: dac@2 { ...@@ -99,7 +99,7 @@ dac2: dac@2 {
}; };
usart1: serial@40011000 { usart1: serial@40011000 {
compatible = "st,stm32f7-usart", "st,stm32f7-uart"; compatible = "st,stm32f7-uart";
reg = <0x40011000 0x400>; reg = <0x40011000 0x400>;
interrupts = <37>; interrupts = <37>;
status = "disabled"; status = "disabled";
......
...@@ -736,11 +736,8 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev) ...@@ -736,11 +736,8 @@ static struct stm32_port *stm32_of_get_stm32_port(struct platform_device *pdev)
#ifdef CONFIG_OF #ifdef CONFIG_OF
static const struct of_device_id stm32_match[] = { static const struct of_device_id stm32_match[] = {
{ .compatible = "st,stm32-usart", .data = &stm32f4_info},
{ .compatible = "st,stm32-uart", .data = &stm32f4_info}, { .compatible = "st,stm32-uart", .data = &stm32f4_info},
{ .compatible = "st,stm32f7-usart", .data = &stm32f7_info},
{ .compatible = "st,stm32f7-uart", .data = &stm32f7_info}, { .compatible = "st,stm32f7-uart", .data = &stm32f7_info},
{ .compatible = "st,stm32h7-usart", .data = &stm32h7_info},
{ .compatible = "st,stm32h7-uart", .data = &stm32h7_info}, { .compatible = "st,stm32h7-uart", .data = &stm32h7_info},
{}, {},
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment