aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Barker2022-11-14 12:42:38 +0000
committerTom Rini2022-12-02 08:39:00 -0500
commit78b9afd2c30dd79655985fd45653a84c253ddf1b (patch)
tree9f8c503c0a3b421d5d2447b506e85cd44ef291a5 /arch
parent07744f2ac03c06f0a41aaecccb9a413d38e6c369 (diff)
am335x-evm: Enable required dtb nodes in SPL
For successful boot when CONFIG_SPL_OF_CONTROL=y, we need to ensure that the board EEPROM on i2c0, the uart0 serial port and the relevant boot device (mmc1 or mmc2) can be accessed in the SPL. We also need to preserve the parent nodes for each required dtb node. Signed-off-by: Paul Barker <paul.barker@sancloud.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/dts/am335x-evm-u-boot.dtsi30
1 files changed, 28 insertions, 2 deletions
diff --git a/arch/arm/dts/am335x-evm-u-boot.dtsi b/arch/arm/dts/am335x-evm-u-boot.dtsi
index 4cf5f9928d5..8fc65df2ef9 100644
--- a/arch/arm/dts/am335x-evm-u-boot.dtsi
+++ b/arch/arm/dts/am335x-evm-u-boot.dtsi
@@ -6,9 +6,9 @@
#include "am33xx-u-boot.dtsi"
&l4_per {
-
+ u-boot,dm-pre-reloc;
segment@300000 {
-
+ u-boot,dm-pre-reloc;
target-module@e000 {
u-boot,dm-pre-reloc;
@@ -26,3 +26,29 @@
&usb0 {
dr_mode = "peripheral";
};
+
+&i2c0 {
+ u-boot,dm-pre-reloc;
+};
+
+&l4_wkup {
+ u-boot,dm-pre-reloc;
+ segment@200000 {
+ u-boot,dm-pre-reloc;
+ target-module@9000 {
+ u-boot,dm-pre-reloc;
+ };
+ };
+};
+
+&uart0 {
+ u-boot,dm-pre-reloc;
+};
+
+&mmc1 {
+ u-boot,dm-pre-reloc;
+};
+
+&mmc2 {
+ u-boot,dm-pre-reloc;
+};