]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
am335x-evm: Enable required dtb nodes in SPL
authorPaul Barker <paul.barker@sancloud.com>
Mon, 14 Nov 2022 12:42:38 +0000 (12:42 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 2 Dec 2022 13:39:00 +0000 (08:39 -0500)
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>
arch/arm/dts/am335x-evm-u-boot.dtsi

index 4cf5f9928d5875cae51a1959cd839ec18cedfb09..8fc65df2ef9b53e38b6a2e352781747d4e6f008d 100644 (file)
@@ -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;
 
 &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;
+};