powerpc: dts: t1042d4rdb: tag serial nodes with bootph-all
authorCamelia Groza <camelia.groza@nxp.com>
Tue, 11 Jul 2023 12:49:27 +0000 (15:49 +0300)
committerPeng Fan <peng.fan@nxp.com>
Thu, 13 Jul 2023 08:54:44 +0000 (16:54 +0800)
Make sure the serial driver is initialized before relocation by tagging
the serial nodes with "bootph-all". Add these u-boot specific properties
to an *-u-boot.dtsi file.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/powerpc/dts/t1042d4rdb-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/powerpc/dts/t1042d4rdb-u-boot.dtsi b/arch/powerpc/dts/t1042d4rdb-u-boot.dtsi
new file mode 100644 (file)
index 0000000..b50b922
--- /dev/null
@@ -0,0 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
+/* Copyright 2023 NXP */
+
+&serial0 {
+       bootph-all;
+};
+
+&serial1 {
+       bootph-all;
+};
+
+#include "u-boot.dtsi"