[U-Boot] [PATCH v4 03/13] rockchip: dts: rk3399: Create initial rk3399-u-boot.dtsi

Jagan Teki jagan at amarulasolutions.com
Fri Apr 26 15:49:50 UTC 2019


U-Boot always managed to use Linux devicetree files with respective
bindings, but on the other hand u-boot also has it's own u-boot specific
nodes or properties example u-boot,dm-pre-reloc which is required for
SPL_OF_CONTROL to allocate particular node.

It is always a better job to add these u-boot specific nodes and properties
into separate dts files which has an extension of -u-boot.dtsi This would
help to sync the devicetrees from Linux whenever required instead of adding
specific nodes.

So, create initial rk3399-u-boot.dtsi with sdmmc u-boot,dm-pre-reloc
property so-that the subsequent rk3399 boards can include the same
on their board dtsi files.

Signed-off-by: Jagan Teki <jagan at amarulasolutions.com>
---
 arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 arch/arm/dts/rk3399-u-boot.dtsi

diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
new file mode 100644
index 0000000000..f533ed95eb
--- /dev/null
+++ b/arch/arm/dts/rk3399-u-boot.dtsi
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2019 Jagan Teki <jagan at amarulasolutions.com>
+ */
+
+&sdmmc {
+	u-boot,dm-pre-reloc;
+};
-- 
2.18.0.321.gffc6fa0e3



More information about the U-Boot mailing list