]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: fsl-ls1088a: move u-boot bootph tags into u-boot only files
authorMathew McBride <matt@traverse.com.au>
Wed, 12 Apr 2023 07:38:15 +0000 (07:38 +0000)
committerPeng Fan <peng.fan@nxp.com>
Fri, 5 May 2023 01:46:03 +0000 (09:46 +0800)
This moves the bootph-all tags that were added in commit a593c1fec579
("arch: arm: dts: fsl-ls1088a.dtsi: tag serial nodes with bootph-all")
into a u-boot only include.

Due to the way the U-Boot device tree "tweak" system is setup[1],
we need to have a per-board <boardname>-u-boot.dtsi, which will
include the "fsl-ls1088a-u-boot.dtsi" tweaks.

By doing so, future updates to fsl-ls1088a.dtsi from upstream
(Linux kernel) can just be copied directly into the U-Boot tree,
without worrying about any extra data local to U-Boot.

Signed-off-by: Mathew McBride <matt@traverse.com.au>
[1] - https://u-boot.readthedocs.io/en/latest/develop/devicetree/control.html#adding-tweaks-for-u-boot
The CONFIG_SYS_SOC, CONFIG_SYS_CPU and CONFIG_SYS_VENDOR
values are the same for the entire Layerscape family,
meaning there is no ability to create a LS1088A only
file here. But we will be adding per-board tweaks
later in any case.
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Tested-by: Ioana Ciornei <ioana.ciornei@nxp.com> # on LS1088A-RDB
arch/arm/dts/fsl-ls1088a-qds-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/fsl-ls1088a-rdb-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/fsl-ls1088a-ten64-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/fsl-ls1088a-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/fsl-ls1088a.dtsi

diff --git a/arch/arm/dts/fsl-ls1088a-qds-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-qds-u-boot.dtsi
new file mode 100644 (file)
index 0000000..298adb8
--- /dev/null
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
+#include <config.h>
+
+#include "fsl-ls1088a-u-boot.dtsi"
+
diff --git a/arch/arm/dts/fsl-ls1088a-rdb-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-rdb-u-boot.dtsi
new file mode 100644 (file)
index 0000000..298adb8
--- /dev/null
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
+#include <config.h>
+
+#include "fsl-ls1088a-u-boot.dtsi"
+
diff --git a/arch/arm/dts/fsl-ls1088a-ten64-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-ten64-u-boot.dtsi
new file mode 100644 (file)
index 0000000..298adb8
--- /dev/null
@@ -0,0 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0+
+#include <config.h>
+
+#include "fsl-ls1088a-u-boot.dtsi"
+
diff --git a/arch/arm/dts/fsl-ls1088a-u-boot.dtsi b/arch/arm/dts/fsl-ls1088a-u-boot.dtsi
new file mode 100644 (file)
index 0000000..f59d8b1
--- /dev/null
@@ -0,0 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
+#include <config.h>
+
+&duart0 {
+       bootph-all;
+};
+
+&duart1 {
+       bootph-all;
+};
index 4782b83515afe3b8197df782bfbadac7742c3d21..b094bcf67c4f1fea7744d619b21a3a7eac24d68a 100644 (file)
@@ -64,7 +64,6 @@
                                            QORIQ_CLK_PLL_DIV(4)>;
                        interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
-                       bootph-all;
                };
 
                duart1: serial@21c0600 {
@@ -74,7 +73,6 @@
                                            QORIQ_CLK_PLL_DIV(4)>;
                        interrupts = <0 32 IRQ_TYPE_LEVEL_HIGH>;
                        status = "disabled";
-                       bootph-all;
                };
        };