]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
ARM: dts: exynos7870-on7xelte: add properties to make S-BOOT happy
authorKaustabh Chakraborty <kauschluss@disroot.org>
Tue, 3 Feb 2026 13:08:48 +0000 (18:38 +0530)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 23 Feb 2026 06:35:33 +0000 (15:35 +0900)
Add properties in the DTSI file which is required for S-BOOT when used
an external device tree when booting into U-Boot. S-BOOT is Samsung's
proprietary bootloader, which chainloads U-Boot.

Since this device has multiple bank nodes, add memory nodes for each RAM
bank. This is the format S-BOOT recognizes, and (re)populates it with
the correct bank sizes.

Signed-off-by: Kaustabh Chakraborty <kauschluss@disroot.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/dts/exynos7870-on7xelte-u-boot.dtsi

index c7bd7103e70c96c690c3adfcd25949c0bf9ed69d..01c3e95b0b3afc5cab8beda15126855123539657 100644 (file)
@@ -4,6 +4,11 @@
  */
 
 / {
+       /* These properties are required by S-BOOT. */
+       model_info-chip = <7870>;
+       model_info-hw_rev = <0>;
+       model_info-hw_rev_end = <255>;
+
        chosen {
                #address-cells = <2>;
                #size-cells = <1>;
                        format = "a8r8g8b8";
                };
        };
+
+       /*
+        * S-BOOT will populate the memory nodes stated below. Existing
+        * values redefine the safe memory requirements as stated in upstream
+        * device tree, in separate nodes for each bank.
+        */
+       memory@40000000 {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0x3e400000>;
+       };
+
+       memory@80000000 {
+               device_type = "memory";
+               reg = <0x0 0x80000000 0x80000000>;
+       };
 };