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.bar...@sancloud.com>
---
 .../dts/am335x-sancloud-bbe-lite-u-boot.dtsi  | 44 +++++++++++++++++++
 arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi  |  6 +++
 2 files changed, 50 insertions(+)
 create mode 100644 arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi
 create mode 100644 arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi

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
index 000000000000..01c105ebb383
--- /dev/null
+++ b/arch/arm/dts/am335x-sancloud-bbe-lite-u-boot.dtsi
@@ -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
index 000000000000..06e7554a63c8
--- /dev/null
+++ b/arch/arm/dts/am335x-sancloud-bbe-u-boot.dtsi
@@ -0,0 +1,6 @@
+// SPDX-License-Identifier: GPL-2.0+
+/*
+ * Copyright (C) 2022 SanCloud Ltd
+ */
+
+#include "am335x-evm-u-boot.dtsi"
-- 
2.25.1

Reply via email to