summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/mt7623n-rfb.dtsi
diff options
context:
space:
mode:
authorSean Wang <sean.wang@mediatek.com>2018-04-11 11:53:56 +0300
committerMatthias Brugger <matthias.bgg@gmail.com>2018-05-11 18:02:09 +0300
commitc0b0d540db1a8bfb041166c4991dd6f624e8de45 (patch)
treeff179f76659c3731125b21af9dccabc8dc6f0cfe /arch/arm/boot/dts/mt7623n-rfb.dtsi
parent1cf3070968df5c242099635707eed2d6f84b5732 (diff)
downloadlinux-c0b0d540db1a8bfb041166c4991dd6f624e8de45.tar.xz
arm: dts: mt7623: fix invalid memory node being generated
Below two wrong nodes in existing DTS files would cause a fail boot since in fact the address 0 is not the correct place the memory device locates at. memory { device_type = "memory"; reg = <0x0 0x0 0x0 0x0>; }; memory@80000000 { reg = <0x0 0x80000000 0x0 0x40000000>; }; In order to avoid having a memory node starting at address 0, we can't include file skeleton64.dtsi and instead need to explicitly manually define a few of properties the DTS relies on such as #address-cells and #size-cells in root node and device_type in the node memory@80000000. Cc: stable@vger.kernel.org Fixes: 31ac0d69a1d4 ("ARM: dts: mediatek: add MT7623 basic support") Signed-off-by: Sean Wang <sean.wang@mediatek.com> Cc: Rob Herring <robh+dt@kernel.org> Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/mt7623n-rfb.dtsi')
-rw-r--r--arch/arm/boot/dts/mt7623n-rfb.dtsi1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/mt7623n-rfb.dtsi b/arch/arm/boot/dts/mt7623n-rfb.dtsi
index a199ae78dd25..343e8efe5f25 100644
--- a/arch/arm/boot/dts/mt7623n-rfb.dtsi
+++ b/arch/arm/boot/dts/mt7623n-rfb.dtsi
@@ -40,6 +40,7 @@
};
memory@80000000 {
+ device_type = "memory";
reg = <0 0x80000000 0 0x40000000>;
};