include: replace linux/module.h with "struct module" wherever possible
[linux-2.6/next.git] / Documentation / devicetree / bindings / powerpc / 4xx / ndfc.txt
blob869f0b5f16e884a584e675528df1c14262ab3066
1 AMCC NDFC (NanD Flash Controller)
3 Required properties:
4 - compatible : "ibm,ndfc".
5 - reg : should specify chip select and size used for the chip (0x2000).
7 Optional properties:
8 - ccr : NDFC config and control register value (default 0).
9 - bank-settings : NDFC bank configuration register value (default 0).
11 Notes:
12 - partition(s) - follows the OF MTD standard for partitions
14 Example:
16 ndfc@1,0 {
17         compatible = "ibm,ndfc";
18         reg = <0x00000001 0x00000000 0x00002000>;
19         ccr = <0x00001000>;
20         bank-settings = <0x80002222>;
21         #address-cells = <1>;
22         #size-cells = <1>;
24         nand {
25                 #address-cells = <1>;
26                 #size-cells = <1>;
28                 partition@0 {
29                         label = "kernel";
30                         reg = <0x00000000 0x00200000>;
31                 };
32                 partition@200000 {
33                         label = "root";
34                         reg = <0x00200000 0x03E00000>;
35                 };
36         };