]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: da850-lcdk: add unit name for memory node
authorSekhar Nori <nsekhar@ti.com>
Wed, 18 Apr 2018 09:24:08 +0000 (14:54 +0530)
committerSekhar Nori <nsekhar@ti.com>
Tue, 24 Apr 2018 08:59:20 +0000 (14:29 +0530)
Add unit name for memory node to squash the W=1 warning:

arch/arm/boot/dts/da850-lcdk.dtb: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name

While at it, drop the device_type property from memory
node since its provided by da850.dtsi already.

Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
arch/arm/boot/dts/da850-lcdk.dts

index a1f4d6d5a569bbb740b6a5d27f7232155853ec4a..0edf769ea95c93c1449dfef12b71213251d7c973 100644 (file)
@@ -21,8 +21,8 @@ chosen {
                stdout-path = "serial2:115200n8";
        };
 
-       memory {
-               device_type = "memory";
+       memory@c0000000 {
+               /* 128 MB DDR2 SDRAM @ 0xc0000000 */
                reg = <0xc0000000 0x08000000>;
        };