ARM: dts: armada-385-linksys: fix usage with newer devices
authorRosen Penev <rosenp@gmail.com>
Sat, 5 Dec 2020 00:54:36 +0000 (16:54 -0800)
committerGregory CLEMENT <gregory.clement@bootlin.com>
Fri, 29 Jan 2021 15:22:46 +0000 (16:22 +0100)
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>
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
arch/arm/boot/dts/armada-385-linksys.dtsi

index 827e82b..fb9c8a0 100644 (file)
                reg = <0>;
                label = "pxa3xx_nand-0";
                nand-rb = <0>;
+               nand-ecc-strength = <4>;
+               nand-ecc-step-size = <512>;
                marvell,nand-keep-config;
                nand-on-flash-bbt;
        };