]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
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 cf044dde13e4fc9d9292194f52816a45c62dc553..9e54747cf4e63a43c98e4b861ed9ffee68188037 100644 (file)
@@ -16,6 +16,11 @@ chosen {
                stdout-path = &uart2;
        };
 
+       memory@40000000 {
+               device_type = "memory";
+               reg = <0x0 0x40000000 0 0x80000000>;
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";
index 82a2abf89b5e9de635870c5b7925d1c6a27d3804..424d53e36c0dabbc957c2cb3421a0e3afba81137 100644 (file)
@@ -140,11 +140,6 @@ opp-1800000000 {
                };
        };
 
-       memory@40000000 {
-               device_type = "memory";
-               reg = <0x0 0x40000000 0 0x80000000>;
-       };
-
        osc_32k: clock-osc-32k {
                compatible = "fixed-clock";
                #clock-cells = <0>;