summaryrefslogtreecommitdiff
path: root/arch/arm/dts/stm32f469-disco-u-boot.dtsi
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2020-11-06 08:11:59 +0100
committerPatrick Delaunay <patrick.delaunay@st.com>2020-11-25 10:29:23 +0100
commit183362947c4d538c9377dfeac7934c234b2b6a01 (patch)
treeeb6ce74034fad6af3ad64c6d6d745a10fbc1f64b /arch/arm/dts/stm32f469-disco-u-boot.dtsi
parent61c88ace4bad5c7956acbb952835b2fc81e99157 (diff)
downloadu-boot-183362947c4d538c9377dfeac7934c234b2b6a01.tar.gz
ARM: dts: stm32: Fix timer initialization for stm32 MCU's board
Commit 4b2be78ab66c ("time: Fix get_ticks being non-monotonic") puts in evidence that get_ticks is called before timer initialization. Fix it by initializing timer before relocation. Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@st.com>
Diffstat (limited to 'arch/arm/dts/stm32f469-disco-u-boot.dtsi')
-rw-r--r--arch/arm/dts/stm32f469-disco-u-boot.dtsi20
1 files changed, 12 insertions, 8 deletions
diff --git a/arch/arm/dts/stm32f469-disco-u-boot.dtsi b/arch/arm/dts/stm32f469-disco-u-boot.dtsi
index 3cf3a6aa6f..7223ba4a60 100644
--- a/arch/arm/dts/stm32f469-disco-u-boot.dtsi
+++ b/arch/arm/dts/stm32f469-disco-u-boot.dtsi
@@ -235,14 +235,6 @@
u-boot,dm-pre-reloc;
};
-&rcc {
- u-boot,dm-pre-reloc;
-};
-
-&syscfg {
- u-boot,dm-pre-reloc;
-};
-
&qspi {
reg = <0xA0001000 0x1000>, <0x90000000 0x1000000>;
flash0: n25q128a@0 {
@@ -255,3 +247,15 @@
reg = <0>;
};
};
+
+&rcc {
+ u-boot,dm-pre-reloc;
+};
+
+&syscfg {
+ u-boot,dm-pre-reloc;
+};
+
+&timer5 {
+ u-boot,dm-pre-reloc;
+};