summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>2014-03-13 21:24:31 +0100
committerJason Cooper <jason@lakedaemon.net>2014-03-14 00:37:16 +0100
commit93b5577e500d39c2edf89e7c0c6020ff49761176 (patch)
treefc0516362fe7de8e3cfed832a21d352a09ececb4
parentARM: mvebu: Add the Core Divider clock to Armada 38x SoCs (diff)
downloadlinux-93b5577e500d39c2edf89e7c0c6020ff49761176.tar.xz
linux-93b5577e500d39c2edf89e7c0c6020ff49761176.zip
ARM: mvebu: Add support for NAND controller in Armada 38x SoC
The Armada 38x SoC family has a NAND controller, compatible with the controller in Armada 370/375/XP SoCs. Add support for it in the devicetree file. Signed-off-by: Ezequiel Garcia <ezequiel.garcia@free-electrons.com> Link: https://lkml.kernel.org/r/1394742273-5113-5-git-send-email-ezequiel.garcia@free-electrons.com Signed-off-by: Jason Cooper <jason@lakedaemon.net>
-rw-r--r--arch/arm/boot/dts/armada-38x.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/armada-38x.dtsi b/arch/arm/boot/dts/armada-38x.dtsi
index 0ba4b48c640f..a064f59da02d 100644
--- a/arch/arm/boot/dts/armada-38x.dtsi
+++ b/arch/arm/boot/dts/armada-38x.dtsi
@@ -345,6 +345,16 @@
clocks = <&mainpll>;
clock-output-names = "nand";
};
+
+ flash@d0000 {
+ compatible = "marvell,armada370-nand";
+ reg = <0xd0000 0x54>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
+ clocks = <&coredivclk 0>;
+ status = "disabled";
+ };
};
};