18c2ecf20Sopenharmony_ciAMCC NDFC (NanD Flash Controller)
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "ibm,ndfc".
58c2ecf20Sopenharmony_ci- reg : should specify chip select and size used for the chip (0x2000).
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_ciOptional properties:
88c2ecf20Sopenharmony_ci- ccr : NDFC config and control register value (default 0).
98c2ecf20Sopenharmony_ci- bank-settings : NDFC bank configuration register value (default 0).
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ciNotes:
128c2ecf20Sopenharmony_ci- partition(s) - follows the OF MTD standard for partitions
138c2ecf20Sopenharmony_ci
148c2ecf20Sopenharmony_ciExample:
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_cindfc@1,0 {
178c2ecf20Sopenharmony_ci	compatible = "ibm,ndfc";
188c2ecf20Sopenharmony_ci	reg = <0x00000001 0x00000000 0x00002000>;
198c2ecf20Sopenharmony_ci	ccr = <0x00001000>;
208c2ecf20Sopenharmony_ci	bank-settings = <0x80002222>;
218c2ecf20Sopenharmony_ci	#address-cells = <1>;
228c2ecf20Sopenharmony_ci	#size-cells = <1>;
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ci	nand {
258c2ecf20Sopenharmony_ci		#address-cells = <1>;
268c2ecf20Sopenharmony_ci		#size-cells = <1>;
278c2ecf20Sopenharmony_ci
288c2ecf20Sopenharmony_ci		partition@0 {
298c2ecf20Sopenharmony_ci			label = "kernel";
308c2ecf20Sopenharmony_ci			reg = <0x00000000 0x00200000>;
318c2ecf20Sopenharmony_ci		};
328c2ecf20Sopenharmony_ci		partition@200000 {
338c2ecf20Sopenharmony_ci			label = "root";
348c2ecf20Sopenharmony_ci			reg = <0x00200000 0x03E00000>;
358c2ecf20Sopenharmony_ci		};
368c2ecf20Sopenharmony_ci	};
378c2ecf20Sopenharmony_ci};
388c2ecf20Sopenharmony_ci
398c2ecf20Sopenharmony_ci
40