diff options
author | Fabio Estevam <festevam@gmail.com> | 2018-11-05 19:14:45 -0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2018-12-10 10:01:57 +0800 |
commit | 6a9681168b83c62abfa457c709f2f4b126bd6b92 (patch) | |
tree | 921955369c37c0efb0880ef9760c229cb51affe4 /arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi | |
parent | 4951c2da1a3a8b56d4ef0659d80938942307a8a3 (diff) | |
download | lwn-6a9681168b83c62abfa457c709f2f4b126bd6b92.tar.gz lwn-6a9681168b83c62abfa457c709f2f4b126bd6b92.zip |
ARM: dts: imx51: Fix memory node duplication
Boards based on imx51 have duplicate memory nodes:
- One coming from the board dts file: memory@
- One coming from the imx51.dtsi file.
Fix the duplication by removing the memory node from the dtsi file
and by adding 'device_type = "memory";' in the board dts.
Reported-by: Rob Herring <robh@kernel.org>
Signed-off-by: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi')
-rw-r--r-- | arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi b/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi index f8902a338e49..2e3125391bc4 100644 --- a/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi +++ b/arch/arm/boot/dts/imx51-eukrea-cpuimx51.dtsi @@ -23,6 +23,7 @@ compatible = "eukrea,cpuimx51", "fsl,imx51"; memory@90000000 { + device_type = "memory"; reg = <0x90000000 0x10000000>; /* 256M */ }; }; |