提交 0dc262f4 编写于 作者: V Vikas Manocha 提交者: Greg Kroah-Hartman

Arm: dts: stm32: remove extra compatible string for uart

This patch removes the extra compatibility string "st,stm32-usart" to
avoid confusion, save some time & space.
Signed-off-by: NVikas Manocha <vikas.manocha@st.com>
Reviewed-by: NPatrice Chotard <patrice.chotard@st.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 ea04f82a
...@@ -71,7 +71,7 @@ channel: a phandle to the DMA controller plus the following four integer cells: ...@@ -71,7 +71,7 @@ channel: a phandle to the DMA controller plus the following four integer cells:
Example: Example:
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 = <&clk_pclk2>; clocks = <&clk_pclk2>;
......
...@@ -2,14 +2,10 @@ ...@@ -2,14 +2,10 @@
Required properties: Required properties:
- compatible: can be either: - compatible: can be either:
- "st,stm32-usart",
- "st,stm32-uart", - "st,stm32-uart",
- "st,stm32f7-usart",
- "st,stm32f7-uart", - "st,stm32f7-uart",
- "st,stm32h7-usart"
- "st,stm32h7-uart". - "st,stm32h7-uart".
depending on whether the device supports synchronous mode depending is compatible with stm32(f4), stm32f7 or stm32h7.
and is compatible with stm32(f4), stm32f7 or stm32h7.
- reg: The address and length of the peripheral registers space - reg: The address and length of the peripheral registers space
- interrupts: - interrupts:
- The interrupt line for the USART instance, - The interrupt line for the USART instance,
...@@ -33,7 +29,7 @@ usart4: serial@40004c00 { ...@@ -33,7 +29,7 @@ usart4: serial@40004c00 {
}; };
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 = <&clk_pclk1>; clocks = <&clk_pclk1>;
...@@ -43,7 +39,7 @@ usart2: serial@40004400 { ...@@ -43,7 +39,7 @@ usart2: serial@40004400 {
}; };
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 164>; clocks = <&rcc 0 164>;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册