ARM: mvebu: Add support for NAND controller in Armada 38x SoC
authorEzequiel Garcia <ezequiel.garcia@free-electrons.com>
Thu, 13 Mar 2014 20:24:31 +0000 (17:24 -0300)
committerJason Cooper <jason@lakedaemon.net>
Thu, 13 Mar 2014 23:37:16 +0000 (23:37 +0000)
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>
arch/arm/boot/dts/armada-38x.dtsi

index 0ba4b48c640f24fc85476f0557f8ed88fa142740..a064f59da02d566b4bfb994376e53e6d51693797 100644 (file)
                                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";
+                       };
                };
        };