summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-03-13 17:24:32 -0300
committerJason Cooper <jason@lakedaemon.net>2014-03-13 23:37:17 +0000
commit4de29e636946dbc97586de6136a3c496a55fd5e6 (patch)
tree1caebfd1880b5a7520b66d9874c40596e1f4ced8 /arch
parent93b5577e500d39c2edf89e7c0c6020ff49761176 (diff)
downloadblackbird-obmc-linux-4de29e636946dbc97586de6136a3c496a55fd5e6.tar.gz
blackbird-obmc-linux-4de29e636946dbc97586de6136a3c496a55fd5e6.zip
ARM: mvebu: Enable NAND controller in Armada 385-DB
The Armada 385-DB board has a NAND flash, so enable it in the devicetree and add the partitions as prepared in the factory images. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Link: https://lkml.kernel.org/r/1394742273-5113-6-git-send-email-ezequiel.garcia@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/armada-385-db.dts21
1 files changed, 21 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-385-db.dts b/arch/arm/boot/dts/armada-385-db.dts
index 9a136428ec29..6828d77696a6 100644
--- a/arch/arm/boot/dts/armada-385-db.dts
+++ b/arch/arm/boot/dts/armada-385-db.dts
@@ -80,6 +80,27 @@
reg = <1>;
};
};
+
+ flash@d0000 {
+ status = "okay";
+ num-cs = <1>;
+ marvell,nand-keep-config;
+ marvell,nand-enable-arbiter;
+ nand-on-flash-bbt;
+
+ partition@0 {
+ label = "U-Boot";
+ reg = <0 0x800000>;
+ };
+ partition@800000 {
+ label = "Linux";
+ reg = <0x800000 0x800000>;
+ };
+ partition@1000000 {
+ label = "Filesystem";
+ reg = <0x1000000 0x3f000000>;
+ };
+ };
};
pcie-controller {
OpenPOWER on IntegriCloud