arm64: dts: imx8mm: Memory node should be in board DT
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 8 Jan 2020 07:25:28 +0000 (15:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 9 Jan 2020 10:54:55 +0000 (18:54 +0800)
Memory address/size depends on board design, so memory node should
be in board DT.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm64/boot/dts/freescale/imx8mm-evk.dts
arch/arm64/boot/dts/freescale/imx8mm.dtsi

index cf044dd..9e54747 100644 (file)
                stdout-path = &uart2;
        };
 
+       memory@40000000 {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0 0x80000000>;
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
index 82a2abf..424d53e 100644 (file)
                };
        };
 
-       memory@40000000 {
-               device_type = "memory";
-               reg = <0x0 0x40000000 0 0x80000000>;
-       };
-
        osc_32k: clock-osc-32k {
                compatible = "fixed-clock";
                #clock-cells = <0>;