aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts/apm82181.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/apm821xx/dts/apm82181.dtsi')
-rw-r--r--target/linux/apm821xx/dts/apm82181.dtsi13
1 files changed, 12 insertions, 1 deletions
diff --git a/target/linux/apm821xx/dts/apm82181.dtsi b/target/linux/apm821xx/dts/apm82181.dtsi
index 5be4487be0..6bab8c41fc 100644
--- a/target/linux/apm821xx/dts/apm82181.dtsi
+++ b/target/linux/apm821xx/dts/apm82181.dtsi
@@ -233,7 +233,7 @@
status = "disabled";
};
- ndfc@1,0 {
+ ndfc: ndfc@1,0 {
compatible = "ibm,ndfc";
reg = <00000003 00000000 00002000>;
ccr = <0x00001000>;
@@ -241,6 +241,17 @@
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>;
};