[U-Boot] [PATCH 01/11] ARM: DTS: stm32: add pwrcfg node for stm32f746

patrice.chotard at st.com patrice.chotard at st.com
Wed Nov 15 12:14:43 UTC 2017


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

This node is needed to enable performance mode
when system frequency is set up to 200Mhz.

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
Reviewed-by: Vikas Manocha <vikas.manocha at st.com>
---
 arch/arm/dts/stm32f7-u-boot.dtsi | 4 ++++
 arch/arm/dts/stm32f746.dtsi      | 7 +++++++
 2 files changed, 11 insertions(+)

diff --git a/arch/arm/dts/stm32f7-u-boot.dtsi b/arch/arm/dts/stm32f7-u-boot.dtsi
index 5f77f57..a56ae93 100644
--- a/arch/arm/dts/stm32f7-u-boot.dtsi
+++ b/arch/arm/dts/stm32f7-u-boot.dtsi
@@ -22,3 +22,7 @@
 		 u-boot,dm-pre-reloc;
 	};
 };
+
+&pwrcfg {
+	u-boot,dm-pre-reloc;
+};
diff --git a/arch/arm/dts/stm32f746.dtsi b/arch/arm/dts/stm32f746.dtsi
index 783d4e7..b95cca2 100644
--- a/arch/arm/dts/stm32f746.dtsi
+++ b/arch/arm/dts/stm32f746.dtsi
@@ -99,12 +99,19 @@
 			status = "disabled";
 			u-boot,dm-pre-reloc;
 		};
+
+		pwrcfg: power-config at 58024800 {
+			compatible = "syscon";
+			reg = <0x40007000 0x400>;
+		};
+
 		rcc: rcc at 40023810 {
 			#reset-cells = <1>;
 			#clock-cells = <2>;
 			compatible = "st,stm32f42xx-rcc", "st,stm32-rcc";
 			reg = <0x40023800 0x400>;
 			clocks = <&clk_hse>;
+			st,syscfg = <&pwrcfg>;
 			u-boot,dm-pre-reloc;
 		};
 
-- 
1.9.1



More information about the U-Boot mailing list