18c2ecf20Sopenharmony_ciNAND support for Marvell Orion SoC platforms
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible : "marvell,orion-nand".
58c2ecf20Sopenharmony_ci- reg : Base physical address of the NAND and length of memory mapped
68c2ecf20Sopenharmony_ci	region
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciOptional properties:
98c2ecf20Sopenharmony_ci- cle : Address line number connected to CLE. Default is 0
108c2ecf20Sopenharmony_ci- ale : Address line number connected to ALE. Default is 1
118c2ecf20Sopenharmony_ci- bank-width : Width in bytes of the device. Default is 1
128c2ecf20Sopenharmony_ci- chip-delay : Chip dependent delay for transferring data from array to read
138c2ecf20Sopenharmony_ci               registers in usecs
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ciThe device tree may optionally contain sub-nodes describing partitions of the
168c2ecf20Sopenharmony_ciaddress space. See partition.txt for more detail.
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciExample:
198c2ecf20Sopenharmony_ci
208c2ecf20Sopenharmony_cinand@f4000000 {
218c2ecf20Sopenharmony_ci	#address-cells = <1>;
228c2ecf20Sopenharmony_ci	#size-cells = <1>;
238c2ecf20Sopenharmony_ci	cle = <0>;
248c2ecf20Sopenharmony_ci	ale = <1>;
258c2ecf20Sopenharmony_ci	bank-width = <1>;
268c2ecf20Sopenharmony_ci	chip-delay = <25>;
278c2ecf20Sopenharmony_ci	compatible = "marvell,orion-nand";
288c2ecf20Sopenharmony_ci	reg = <0xf4000000 0x400>;
298c2ecf20Sopenharmony_ci
308c2ecf20Sopenharmony_ci	partition@0 {
318c2ecf20Sopenharmony_ci		label = "u-boot";
328c2ecf20Sopenharmony_ci		reg = <0x0000000 0x100000>;
338c2ecf20Sopenharmony_ci		read-only;
348c2ecf20Sopenharmony_ci	};
358c2ecf20Sopenharmony_ci
368c2ecf20Sopenharmony_ci	partition@100000 {
378c2ecf20Sopenharmony_ci		label = "uImage";
388c2ecf20Sopenharmony_ci		reg = <0x0100000 0x200000>;
398c2ecf20Sopenharmony_ci	};
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ci	partition@300000 {
428c2ecf20Sopenharmony_ci		label = "dtb";
438c2ecf20Sopenharmony_ci		reg = <0x0300000 0x100000>;
448c2ecf20Sopenharmony_ci	};
458c2ecf20Sopenharmony_ci
468c2ecf20Sopenharmony_ci	partition@400000 {
478c2ecf20Sopenharmony_ci		label = "root";
488c2ecf20Sopenharmony_ci		reg = <0x0400000 0x7d00000>;
498c2ecf20Sopenharmony_ci	};
508c2ecf20Sopenharmony_ci};
51