[U-Boot] [PATCH 12/15] ARM: DTS: stm32: add u-boot, dm-pre-reloc for stm32h743i-disco

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


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

Add "u-boot,dm-pre-reloc" for rcc, fmc, fixed-clock, pinctrl
and gpio nodes

Signed-off-by: Patrice Chotard <patrice.chotard at st.com>
---
 arch/arm/dts/stm32h743-pinctrl.dtsi | 12 ++++++++++++
 arch/arm/dts/stm32h743.dtsi         |  8 ++++++++
 2 files changed, 20 insertions(+)

diff --git a/arch/arm/dts/stm32h743-pinctrl.dtsi b/arch/arm/dts/stm32h743-pinctrl.dtsi
index d3e11d5..91c3083 100644
--- a/arch/arm/dts/stm32h743-pinctrl.dtsi
+++ b/arch/arm/dts/stm32h743-pinctrl.dtsi
@@ -49,6 +49,7 @@
 			#size-cells = <1>;
 			compatible = "st,stm32h743-pinctrl";
 			ranges = <0 0x58020000 0x3000>;
+			u-boot,dm-pre-reloc;
 			pins-are-numbered;
 
 			gpioa: gpio at 58020000 {
@@ -58,6 +59,7 @@
 				reg = <0x0 0x400>;
 				clocks = <&rcc GPIOA_CK>;
 				st,bank-name = "GPIOA";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpiob: gpio at 58020400 {
@@ -67,6 +69,7 @@
 				reg = <0x400 0x400>;
 				clocks = <&rcc GPIOB_CK>;
 				st,bank-name = "GPIOB";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpioc: gpio at 58020800 {
@@ -76,6 +79,7 @@
 				reg = <0x800 0x400>;
 				clocks = <&rcc GPIOC_CK>;
 				st,bank-name = "GPIOC";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpiod: gpio at 58020c00 {
@@ -85,6 +89,7 @@
 				reg = <0xc00 0x400>;
 				clocks = <&rcc GPIOD_CK>;
 				st,bank-name = "GPIOD";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpioe: gpio at 58021000 {
@@ -94,6 +99,7 @@
 				reg = <0x1000 0x400>;
 				clocks = <&rcc GPIOE_CK>;
 				st,bank-name = "GPIOE";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpiof: gpio at 58021400 {
@@ -103,6 +109,7 @@
 				reg = <0x1400 0x400>;
 				clocks = <&rcc GPIOF_CK>;
 				st,bank-name = "GPIOF";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpiog: gpio at 58021800 {
@@ -112,6 +119,7 @@
 				reg = <0x1800 0x400>;
 				clocks = <&rcc GPIOG_CK>;
 				st,bank-name = "GPIOG";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpioh: gpio at 58021c00 {
@@ -121,6 +129,7 @@
 				reg = <0x1c00 0x400>;
 				clocks = <&rcc GPIOH_CK>;
 				st,bank-name = "GPIOH";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpioi: gpio at 58022000 {
@@ -130,6 +139,7 @@
 				reg = <0x2000 0x400>;
 				clocks = <&rcc GPIOI_CK>;
 				st,bank-name = "GPIOI";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpioj: gpio at 58022400 {
@@ -139,6 +149,7 @@
 				reg = <0x2400 0x400>;
 				clocks = <&rcc GPIOJ_CK>;
 				st,bank-name = "GPIOJ";
+				u-boot,dm-pre-reloc;
 			};
 
 			gpiok: gpio at 58022800 {
@@ -148,6 +159,7 @@
 				reg = <0x2800 0x400>;
 				clocks = <&rcc GPIOK_CK>;
 				st,bank-name = "GPIOK";
+				u-boot,dm-pre-reloc;
 			};
 
 			usart1_pins: usart1 at 0 {
diff --git a/arch/arm/dts/stm32h743.dtsi b/arch/arm/dts/stm32h743.dtsi
index 16e9308..c9610f5 100644
--- a/arch/arm/dts/stm32h743.dtsi
+++ b/arch/arm/dts/stm32h743.dtsi
@@ -50,22 +50,26 @@
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <25000000>;
+			u-boot,dm-pre-reloc;
 		};
 
 		clk_lse: clk-lse {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <32768>;
+			u-boot,dm-pre-reloc;
 		};
 
 		clk_i2s: i2s_ckin {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <0>;
+			u-boot,dm-pre-reloc;
 		};
 	};
 
 	soc {
+		u-boot,dm-pre-reloc;
 		rcc: rcc at 58024400 {
 			#clock-cells = <1>;
 			#reset-cells = <1>;
@@ -73,6 +77,7 @@
 			reg = <0x58024400 0x400>;
 			clocks = <&clk_hse>, <&clk_lse>, <&clk_i2s>, <&clk_hsi>, <&clk_csi>;
 			st,syscfg = <&pwrcfg>;
+			u-boot,dm-pre-reloc;
 		};
 
 		usart1: serial at 40011000 {
@@ -107,18 +112,21 @@
 			compatible = "st,stm32h7-fmc";
 			reg = <0x52004000 0x1000>;
 			clocks = <&rcc FMC_CK>;
+			u-boot,dm-pre-reloc;
 		};
 
 		clk_hsi: clk-hsi {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <64000000>;
+			u-boot,dm-pre-reloc;
 		};
 
 		clk_csi: clk-csi {
 			#clock-cells = <0>;
 			compatible = "fixed-clock";
 			clock-frequency = <4000000>;
+			u-boot,dm-pre-reloc;
 		};
 	};
 };
-- 
1.9.1



More information about the U-Boot mailing list