aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/apm821xx/dts/apm82181.dtsi
diff options
context:
space:
mode:
authorChristian Lamparter <chunkeey@gmail.com>2021-02-20 17:44:12 +0100
committerChristian Lamparter <chunkeey@gmail.com>2021-03-05 22:47:14 +0100
commitbe23f9818a1dcb689cb28be39b497262b70d91cf (patch)
tree96779c142811f510f7011d6861ac869eb1ff0730 /target/linux/apm821xx/dts/apm82181.dtsi
parentca14dfb06b09beb664318459241c948bd98c9332 (diff)
downloadupstream-be23f9818a1dcb689cb28be39b497262b70d91cf.tar.gz
upstream-be23f9818a1dcb689cb28be39b497262b70d91cf.tar.bz2
upstream-be23f9818a1dcb689cb28be39b497262b70d91cf.zip
apm821xx: add support for kernel 5.10 for testing
This patch copies over refreshed patches from 5.4. - dropped crypto patches (they got upstreamed) - dropped renesas USB 3 firmware loader (they got upstreamed) - NAND now needs extra device-properties for ECC settings. Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
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>;
};