From: Amit Singh Tomar <amittomer25@gmail.com>
Date: Sun, 19 Apr 2020 13:58:32 +0000 (+0530)
Subject: arm: dts: actions: s700: add u-boot specific dtsi file
X-Git-Tag: v2025.01-rc5-pxa1908~2458^2~8
X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=ea6314a797935fe3ca60b111035dcd25aaf85b71;p=u-boot.git

arm: dts: actions: s700: add u-boot specific dtsi file

Devices like uart and clk are needed to be enabled before relocation.
this patch adds u-boot.dtsi file that mark these device as dm-pre-reloc.

Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---

diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi
new file mode 100644
index 0000000000..a527cccc75
--- /dev/null
+++ b/arch/arm/dts/s700-u-boot.dtsi
@@ -0,0 +1,18 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2020 Amit Singh Tomar <amittomer25@gmail.com>
+ */
+
+/{
+	soc {
+		u-boot,dm-pre-reloc;
+	};
+};
+
+&uart3 {
+	u-boot,dm-pre-reloc;
+};
+
+&cmu {
+	u-boot,dm-pre-reloc;
+};