]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: da850-lcdk: Update DTS files for SPL device tree support
authorAdam Ford <aford173@gmail.com>
Wed, 13 Nov 2019 15:46:32 +0000 (09:46 -0600)
committerLokesh Vutla <lokeshvutla@ti.com>
Mon, 20 Jan 2020 04:40:28 +0000 (10:10 +0530)
Currently, the da850-lcdk uses SPL_OF_PLATDATA and manually loads
the necessary source code instead of using the auto-generated,
because the drivers don't properly autogenerate the code.

This patch simply enables the various device tree options to
mimic the da850-evm which doesn't need or use OF_PLATDATA for
device tree support.  It does not disable OF_PLATDATA.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/da850-lcdk-u-boot.dtsi
arch/arm/dts/da850-lcdk.dts

index 541f4ca2005195f03e963cba2a3cd2dd13c19361..b372d06ca97bb4b44db666d4a88aa37b27b38540 100644 (file)
@@ -8,9 +8,23 @@
 / {
        aliases {
                i2c0 = &i2c0;
+               mmc0 = &mmc0;
+               serial2 = &serial2;
+       };
+
+       soc@1c00000 {
+               u-boot,dm-spl;
        };
 
        nand {
                compatible = "ti,davinci-nand";
        };
 };
+
+&mmc0 {
+       u-boot,dm-spl;
+};
+
+&serial2 {
+       u-boot,dm-spl;
+};
index 0177e3ed20febdf3d2aa820ccd0bfd3e2a708099..db8ae566f339730ac76ff7833601d8bd2672b9f7 100644 (file)
@@ -18,7 +18,7 @@
        };
 
        chosen {
-               stdout-path = "serial2:115200n8";
+               stdout-path = &serial2;
        };
 
        memory@c0000000 {