arm64: dts: imx8mn: Memory node should be in board DT
authorAnson Huang <Anson.Huang@nxp.com>
Wed, 8 Jan 2020 07:25:29 +0000 (15:25 +0800)
committerShawn Guo <shawnguo@kernel.org>
Thu, 9 Jan 2020 10:55:39 +0000 (18:55 +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/imx8mn-evk.dtsi
arch/arm64/boot/dts/freescale/imx8mn.dtsi

index 7a9295235ad0bc0cb4380e48d78a6fa4827161d0..0d2ec4a2c7f2fc3dcf3198e208c0c7ad02a24270 100644 (file)
                };
        };
 
+       memory@40000000 {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0 0x80000000>;
+       };
+
        reg_usdhc2_vmmc: regulator-usdhc2 {
                compatible = "regulator-fixed";
                pinctrl-names = "default";
index c3fec19f4f05847c7632168e3390c40e94e50587..a44b5438e842716ef0e869320b9618ed9791384e 100644 (file)
                };
        };
 
-       memory@40000000 {
-               device_type = "memory";
-               reg = <0x0 0x40000000 0 0x80000000>;
-       };
-
        osc_32k: clock-osc-32k {
                compatible = "fixed-clock";
                #clock-cells = <0>;