mvebu: Add support for WRT3200ACM with new NAND flash
authorImre Kaloz <kaloz@openwrt.org>
Thu, 15 Feb 2018 18:57:05 +0000 (19:57 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 2 Jun 2018 11:04:38 +0000 (13:04 +0200)
Newer Linksys boards might come with a Winbond W29N02GV which can be
configured in different ways. Make sure we configure it the same way as
the older chips so everything keeps working.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-rango.dts

index ea1af6f9dac3850275664c53cfdbf947fad0ca82..1ed229b0558cbefcd41c8f818c21c692118e5ae8 100644 (file)
                        flash@d0000 {
                                status = "okay";
                                num-cs = <1>;
+                               nand-ecc-strength = <4>;
+                               nand-ecc-step-size = <512>;
                                marvell,nand-keep-config;
                                marvell,nand-enable-arbiter;
                                nand-on-flash-bbt;