arm: dts: Stratix10: Fix memory node address and size cells
authorLey Foon Tan <ley.foon.tan@intel.com>
Fri, 8 Nov 2019 02:56:26 +0000 (10:56 +0800)
committerMarek Vasut <marex@denx.de>
Wed, 20 Nov 2019 21:32:00 +0000 (22:32 +0100)
Add #address-cells and #size-cells to memory node to fix incorrect memory
size decoding in recent Uboot version.

Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/arm/dts/socfpga_stratix10_socdk.dts

index c5409df026ec1db7826841360c520853b53a43d2..ce07659602b013e1c41903756267a3c9421fe0dc 100755 (executable)
@@ -36,6 +36,8 @@
        };
 
        memory {
+               #address-cells = <2>;
+               #size-cells = <2>;
                device_type = "memory";
                /* 4GB */
                reg = <0 0x00000000 0 0x80000000>,