Thread (5 messages) 5 messages, 2 authors, 2018-03-01
STALE3016d

[PATCH] ARM: dts: mx5: Pass the memory unit-address

From: festevam@gmail.com (Fabio Estevam)
Date: 2018-02-28 12:00:50
Subsystem: the rest · Maintainer: Linus Torvalds

Hi Shawn,

On Wed, Feb 28, 2018 at 12:03 AM, Shawn Guo [off-list ref] wrote:
One thing I'm unsure is which memory node will be fixed up with correct
memory configuration, considering we will have two memory nodes.  One is
the following that defined in imx51.dtsi.

 memory { device_type = "memory"; };

And the other is memory at 90000000.
On my tests the correct memory@ is filled with the real memory size.

One further cleanup I can make to avoid this double memory node is:
--- a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
+++ b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi
@@ -20,6 +20,7 @@
        };

        memory at 10000000 {
+               device_type = "memory";
                reg = <0x10000000 0x40000000>;
        };
diff --git a/arch/arm/boot/dts/imx6qdl.dtsi b/arch/arm/boot/dts/imx6qdl.dtsi
index c003e62..f3376f0 100644
--- a/arch/arm/boot/dts/imx6qdl.dtsi
+++ b/arch/arm/boot/dts/imx6qdl.dtsi
@@ -23,7 +23,6 @@
         * Also for U-Boot there must be a pre-existing /memory node.
         */
        chosen {};
-       memory { device_type = "memory"; };

        aliases {
                ethernet0 = &fec;
If you agree I can do this for all i.MX dts.

What do you think?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help