xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/nand-macronix.txt (revision 6ba2210ee039f2f12878c217bcf058e9c8b26b29)
1Macronix NANDs Device Tree Bindings
2-----------------------------------
3
4Macronix NANDs support randomizer operation for scrambling user data,
5which can be enabled with a SET_FEATURE. The penalty when using the
6randomizer are subpage accesses prohibited and more time period needed
7for program operation, i.e., tPROG 300us to 340us (randomizer enabled).
8Enabling the randomizer is a one time persistent and non reversible
9operation.
10
11For more high-reliability concern, if subpage write is not available
12with hardware ECC and not enabled at UBI level, then enabling the
13randomizer is recommended by default by adding a new specific property
14in children nodes.
15
16Required NAND chip properties in children mode:
17- randomizer enable: should be "mxic,enable-randomizer-otp"
18
19Example:
20
21	nand: nand-controller@unit-address {
22
23		nand@0 {
24			reg = <0>;
25			mxic,enable-randomizer-otp;
26		};
27	};
28