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

Patrice Chotard patrice.chotard at st.com
Fri Feb 22 14:00:14 UTC 2019


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 at st.com>
---

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

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)>;
 };
-- 
1.9.1



More information about the U-Boot mailing list