ipq806x: fix NAND support for linux 4.9
[openwrt/openwrt.git] / target / linux / ipq806x / files-4.9 / arch / arm / boot / dts / qcom-ipq8064-ap148.dts
index 99c556819ee8ea94df808a82f27f920ae329292f..fa4f05bdbeb4195784c246444b8c347ee8b73c9f 100644 (file)
                        pinctrl-0 = <&nand_pins>;
                        pinctrl-names = "default";
 
-                       nand-ecc-strength = <4>;
-                       nand-bus-width = <8>;
+                       cs0 {
+                               reg = <0>;
+                               compatible = "qcom,nandcs";
+
+                               nand-ecc-strength = <4>;
+                               nand-bus-width = <8>;
+                               nand-ecc-step-size = <512>;
 
-                       linux,part-probe = "qcom-smem";
+                               linux,part-probe = "qcom-smem";
+                       };
                };
 
                mdio0: mdio {