162306a36Sopenharmony_ciMacronix NANDs Device Tree Bindings
262306a36Sopenharmony_ci-----------------------------------
362306a36Sopenharmony_ci
462306a36Sopenharmony_ciMacronix NANDs support randomizer operation for scrambling user data,
562306a36Sopenharmony_ciwhich can be enabled with a SET_FEATURE. The penalty when using the
662306a36Sopenharmony_cirandomizer are subpage accesses prohibited and more time period needed
762306a36Sopenharmony_cifor program operation, i.e., tPROG 300us to 340us (randomizer enabled).
862306a36Sopenharmony_ciEnabling the randomizer is a one time persistent and non reversible
962306a36Sopenharmony_cioperation.
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciFor more high-reliability concern, if subpage write is not available
1262306a36Sopenharmony_ciwith hardware ECC and not enabled at UBI level, then enabling the
1362306a36Sopenharmony_cirandomizer is recommended by default by adding a new specific property
1462306a36Sopenharmony_ciin children nodes.
1562306a36Sopenharmony_ci
1662306a36Sopenharmony_ciRequired NAND chip properties in children mode:
1762306a36Sopenharmony_ci- randomizer enable: should be "mxic,enable-randomizer-otp"
1862306a36Sopenharmony_ci
1962306a36Sopenharmony_ciExample:
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ci	nand: nand-controller@unit-address {
2262306a36Sopenharmony_ci
2362306a36Sopenharmony_ci		nand@0 {
2462306a36Sopenharmony_ci			reg = <0>;
2562306a36Sopenharmony_ci			mxic,enable-randomizer-otp;
2662306a36Sopenharmony_ci		};
2762306a36Sopenharmony_ci	};
28