diff mbox series

[U-Boot,v1,7/9] ARM: dts: stm32: Restore old usart1 clock bindings for stm32f7

Message ID 1550844016-11429-8-git-send-email-patrice.chotard@st.com
State Accepted
Commit 60121266c900f694b8750504a2edce0bac4b1d7d
Delegated to: Tom Rini
Headers show
Series Synchronize DT with v4.20 kernel for STM32F4/F7 and H7 boards | expand

Commit Message

Patrice CHOTARD Feb. 22, 2019, 2 p.m. UTC
As U-boot stm32f clock driver doesn't support new
bindings for auxiliary clocks (clocks = <&rcc 1 ....>),
restore old bindings for usart1 to get console output.

Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
---

 arch/arm/dts/stm32f7-u-boot.dtsi | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/arch/arm/dts/stm32f7-u-boot.dtsi b/arch/arm/dts/stm32f7-u-boot.dtsi
index 7816b79bcf9e..29b157324e66 100644
--- a/arch/arm/dts/stm32f7-u-boot.dtsi
+++ b/arch/arm/dts/stm32f7-u-boot.dtsi
@@ -143,4 +143,5 @@ 
 
 &usart1 {
 	u-boot,dm-pre-reloc;
+	clocks = <&rcc 0 STM32F7_APB2_CLOCK(USART1)>;
 };