]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: actions: s700: add u-boot specific dtsi file
authorAmit Singh Tomar <amittomer25@gmail.com>
Sun, 19 Apr 2020 13:58:32 +0000 (19:28 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 20:40:09 +0000 (16:40 -0400)
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>
arch/arm/dts/s700-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/s700-u-boot.dtsi b/arch/arm/dts/s700-u-boot.dtsi
new file mode 100644 (file)
index 0000000..a527ccc
--- /dev/null
@@ -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;
+};