[U-Boot] [PATCH 14/15] ARM: DTS: stm32: add "simple-bus" compatible for clocks node

patrice.chotard at st.com patrice.chotard at st.com
Fri Aug 4 13:18:45 UTC 2017


From: Patrice Chotard <patrice.chotard at st.com>

This is a workaround to bind clocks fixed-clocks subnodes.
This constraint has been invoked here [1].

A new proposal has been sent to U-boot mailing list to
avoid this workaround [2]

[1] http://patchwork.ozlabs.org/patch/558837/
[2] http://patchwork.ozlabs.org/patch/795829/

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---
 arch/arm/dts/stm32h743.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/stm32h743.dtsi b/arch/arm/dts/stm32h743.dtsi
index c9610f5..eb66872 100644
--- a/arch/arm/dts/stm32h743.dtsi
+++ b/arch/arm/dts/stm32h743.dtsi
@@ -46,6 +46,11 @@
 
 / {
 	clocks {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		u-boot,dm-pre-reloc;
+
 		clk_hse: clk-hse {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
-- 
1.9.1



More information about the U-Boot mailing list