status = "disabled";
};
- ndfc@1,0 {
+ ndfc: ndfc@1,0 {
compatible = "ibm,ndfc";
reg = <00000003 00000000 00002000>;
ccr = <0x00001000>;
status = "disabled";
nand {
+ /*
+ * These are the same fixed "MAGIC" values
+ * settings as in the drivers code.
+ * They are the same for all devices that
+ * have NAND.
+ */
+ nand-ecc-engine = <&ndfc>;
+ nand-ecc-algo = "hamming";
+ nand-ecc-step-size = <256>;
+ nand-ecc-strength = <1>;
+
#address-cells = <1>;
#size-cells = <1>;
};