From a0fa3ed36f5e94d602d9c7574915648444f4abf4 Mon Sep 17 00:00:00 2001 From: George Moussalem Date: Thu, 1 May 2025 14:55:07 +0400 Subject: [PATCH] qualcommax: ipq50xx: fix ECC strength for Linksys MR5500 Commit fc3ff2af0c57504a2e03d635692396c5bb099f17 introduced reading ECC strength from the device tree. Linksys MR5500 uses the mx-base dtsi which was originally developed for Linksys MX2000 and MX5500 where the ECC strength is set to 8. Correct this and set it to strength of 4 as per the NAND specs for Gigadevice GD5F2GQ5REYIH. Signed-off-by: George Moussalem Link: https://github.com/openwrt/openwrt/pull/18672 Signed-off-by: Robert Marko --- .../files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts index 6550e227295..ecf57941807 100644 --- a/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts +++ b/target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts @@ -28,6 +28,12 @@ }; }; +&qpic_nand { + nand@0 { + nand-ecc-strength = <4>; + }; +}; + /* * =============================================================== * _______________________ _______________________