qualcommax: ipq50xx: fix ECC strength for Linksys MR5500
authorGeorge Moussalem <[email protected]>
Thu, 1 May 2025 10:55:07 +0000 (14:55 +0400)
committerRobert Marko <[email protected]>
Thu, 1 May 2025 18:40:24 +0000 (20:40 +0200)
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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18672
Signed-off-by: Robert Marko <[email protected]>
target/linux/qualcommax/files/arch/arm64/boot/dts/qcom/ipq5018-mr5500.dts

index 6550e227295d5202251d6b342b29a48c8a1d4bd0..ecf579418071ba2098d4cebe4cf7ba1669e00679 100644 (file)
        };
 };
 
+&qpic_nand {
+       nand@0 {
+               nand-ecc-strength = <4>;
+       };
+};
+
 /*
  * ===============================================================
  *     _______________________         _______________________