OSDN Git Service

ARM: dts: imx53-voipac-dmm-668: Fix memory node duplication
authorFabio Estevam <festevam@gmail.com>
Wed, 5 Dec 2018 18:10:01 +0000 (16:10 -0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 3 Dec 2019 21:23:57 +0000 (22:23 +0100)
[ Upstream commit 998a84c27a7f3f9133d32af64e19c05cec161a1a ]

imx53-voipac-dmm-668 has two memory nodes, but the correct representation
would be to use a single one with two reg entries - one for each RAM chip
select, so fix it accordingly.

Reported-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Marco Franchi <marco.franchi@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/imx53-voipac-dmm-668.dtsi

index ba689fb..301cf8d 100644 (file)
 
        memory@70000000 {
                device_type = "memory";
-               reg = <0x70000000 0x20000000>;
-       };
-
-       memory@b0000000 {
-               device_type = "memory";
-               reg = <0xb0000000 0x20000000>;
+               reg = <0x70000000 0x20000000>,
+                     <0xb0000000 0x20000000>;
        };
 
        regulators {