[PATCH] ARM: dts: armada-385-linksys: fix usage with newer devices

Gregory CLEMENT gregory.clement at bootlin.com
Fri Jan 29 10:23:25 EST 2021


Hi Rosen,

> 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 at openwrt.org>
> Signed-off-by: Rosen Penev <rosenp at gmail.com>

Applied on mvebu/dt

Thanks,

Gregory

> ---
>  arch/arm/boot/dts/armada-385-linksys.dtsi | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/arch/arm/boot/dts/armada-385-linksys.dtsi b/arch/arm/boot/dts/armada-385-linksys.dtsi
> index 827e82be2201..fb9c8a0b241c 100644
> --- a/arch/arm/boot/dts/armada-385-linksys.dtsi
> +++ b/arch/arm/boot/dts/armada-385-linksys.dtsi
> @@ -148,6 +148,8 @@ nand: nand at 0 {
>  		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;
>  	};
> -- 
> 2.28.0
>

-- 
Gregory Clement, Bootlin
Embedded Linux and Kernel engineering
http://bootlin.com



More information about the linux-arm-kernel mailing list