Skip to content

Commit

Permalink
dt-bindings: serial: add compatible for stm32h7
Browse files Browse the repository at this point in the history
Introduce new compatibles for "st,stm32h7-usart" and "st,stm32h7-uart".
This new compatible allow to use optional wake-up interrupt.

Signed-off-by: Fabrice Gasnier <fabrice.gasnier@st.com>
Signed-off-by: Bich Hemon <bich.hemon@st.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Fabrice Gasnier authored and Greg Kroah-Hartman committed Jul 30, 2017
1 parent ada8004 commit 20e4cfc
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions Documentation/devicetree/bindings/serial/st,stm32-usart.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
* STMicroelectronics STM32 USART

Required properties:
- compatible: Can be either "st,stm32-usart", "st,stm32-uart",
"st,stm32f7-usart" or "st,stm32f7-uart" depending on whether
the device supports synchronous mode and is compatible with
stm32(f4) or stm32f7.
- compatible: can be either:
- "st,stm32-usart",
- "st,stm32-uart",
- "st,stm32f7-usart",
- "st,stm32f7-uart",
- "st,stm32h7-usart"
- "st,stm32h7-uart".
depending on whether the device supports synchronous mode
and is compatible with stm32(f4), stm32f7 or stm32h7.
- reg: The address and length of the peripheral registers space
- interrupts: The interrupt line of the USART instance
- interrupts:
- The interrupt line for the USART instance,
- An optional wake-up interrupt.
- clocks: The input clock of the USART instance

Optional properties:
Expand Down

0 comments on commit 20e4cfc

Please sign in to comment.