am335x-sancloud-bbe: Add -u-boot.dtsi files
authorPaul Barker <paul.barker@sancloud.com>
Mon, 14 Nov 2022 12:42:42 +0000 (12:42 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 13:39:00 +0000 (08:39 -0500)
The SanCloud BBE requires the same dtb nodes to be present in the SPL as
the AM335x EVM.

The SanCloud BBE Lite also requires the SPI flash node and all
dependencies to be present in the SPL to support SPI boot.

Signed-off-by: Paul Barker <paul.barker@sancloud.com>
arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi [new file with mode: 0644]
arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi [new file with mode: 0644]

diff --git a/arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi b/arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi
new file mode 100644 (file)
index 0000000..01c105e
--- /dev/null
@@ -0,0 +1,44 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/
+ * Copyright (C) 2021 SanCloud Ltd
+ */
+
+#include "am335x-sancloud-bbe-u-boot.dtsi"
+
+&l4_wkup {
+       segment@200000 {
+               target-module@0 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
+};
+
+&prcm {
+       u-boot,dm-pre-reloc;
+};
+
+&per_cm {
+       u-boot,dm-pre-reloc;
+};
+
+&l4ls_clkctrl {
+       u-boot,dm-pre-reloc;
+};
+
+&l4_per {
+       u-boot,dm-pre-reloc;
+       segment@0 {
+               u-boot,dm-pre-reloc;
+               target-module@30000 {
+                       u-boot,dm-pre-reloc;
+               };
+       };
+};
+
+&spi0 {
+       u-boot,dm-pre-reloc;
+       channel@0 {
+               u-boot,dm-pre-reloc;
+       };
+};
diff --git a/arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi b/arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi
new file mode 100644 (file)
index 0000000..06e7554
--- /dev/null
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2022 SanCloud Ltd
+ */
+
+#include "am335x-evm-u-boot.dtsi"