From 3af779eb172b0438f77e8a01a97dd0eb9a146076 Mon Sep 17 00:00:00 2001 From: Luka Perkov Date: Tue, 11 Feb 2014 02:07:41 +0000 Subject: mvebu: backport mainline patches from kernel 3.12 This is a backport of the patches accepted to the Linux mainline related to mvebu SoC (Armada XP and Armada 370) between Linux v3.11, and Linux v3.12. This work mainly covers: * Ground work for sharing the pxa nand driver(drivers/mtd/nand/pxa3xx_nand.c) between the PXA family,and the Armada family. * Further updates to the mvebu MBus. * Work and ground work for enabling MSI on the Armada family. * some phy / mdio bus initialization related work. * Device tree binding documentation update. Signed-off-by: Seif Mazareeb CC: Luka Perkov SVN-Revision: 39565 --- ...nable-NAND-controller-in-Armada-XP-GP-boa.patch | 36 ++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 target/linux/mvebu/patches-3.10/0100-ARM-mvebu-Enable-NAND-controller-in-Armada-XP-GP-boa.patch (limited to 'target/linux/mvebu/patches-3.10/0100-ARM-mvebu-Enable-NAND-controller-in-Armada-XP-GP-boa.patch') diff --git a/target/linux/mvebu/patches-3.10/0100-ARM-mvebu-Enable-NAND-controller-in-Armada-XP-GP-boa.patch b/target/linux/mvebu/patches-3.10/0100-ARM-mvebu-Enable-NAND-controller-in-Armada-XP-GP-boa.patch new file mode 100644 index 0000000000..1b56424982 --- /dev/null +++ b/target/linux/mvebu/patches-3.10/0100-ARM-mvebu-Enable-NAND-controller-in-Armada-XP-GP-boa.patch @@ -0,0 +1,36 @@ +From 9226a0bb330bb83df9a465ba418efd3277cd00d3 Mon Sep 17 00:00:00 2001 +From: Ezequiel Garcia +Date: Thu, 7 Nov 2013 12:17:34 -0300 +Subject: [PATCH 100/203] ARM: mvebu: Enable NAND controller in Armada XP GP + board + +The Armada XP GP board has a NAND flash, so enable it in the devicetree. + +In order to skip the driver's custom device detection and use only ONFI +detection, the "marvell,keep-config" parameter is used. +This is needed because we haven't support for setting the timings +parameters yet and must rely in bootloader's. + +Signed-off-by: Ezequiel Garcia +Signed-off-by: Jason Cooper +--- + arch/arm/boot/dts/armada-xp-gp.dts | 8 ++++++++ + 1 file changed, 8 insertions(+) + +--- a/arch/arm/boot/dts/armada-xp-gp.dts ++++ b/arch/arm/boot/dts/armada-xp-gp.dts +@@ -175,6 +175,14 @@ + spi-max-frequency = <108000000>; + }; + }; ++ ++ nand@d0000 { ++ status = "okay"; ++ num-cs = <1>; ++ marvell,nand-keep-config; ++ marvell,nand-enable-arbiter; ++ nand-on-flash-bbt; ++ }; + }; + }; + }; -- cgit v1.2.3