Merge tag 'ceph-for-5.11-rc1' of git://github.com/ceph/ceph-client
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / mtd / samsung-s3c2410.txt
1 * Samsung S3C2410 and compatible NAND flash controller
2
3 Required properties:
4 - compatible : The possible values are:
5         "samsung,s3c2410-nand"
6         "samsung,s3c2412-nand"
7         "samsung,s3c2440-nand"
8 - reg : register's location and length.
9 - #address-cells, #size-cells : see nand-controller.yaml
10 - clocks : phandle to the nand controller clock
11 - clock-names : must contain "nand"
12
13 Optional child nodes:
14 Child nodes representing the available nand chips.
15
16 Optional child properties:
17 - nand-ecc-mode : see nand-controller.yaml
18 - nand-on-flash-bbt : see nand-controller.yaml
19
20 Each child device node may optionally contain a 'partitions' sub-node,
21 which further contains sub-nodes describing the flash partition mapping.
22 See partition.txt for more detail.
23
24 Example:
25
26 nand-controller@4e000000 {
27         compatible = "samsung,s3c2440-nand";
28         reg = <0x4e000000 0x40>;
29
30         #address-cells = <1>;
31         #size-cells = <0>;
32
33         clocks = <&clocks HCLK_NAND>;
34         clock-names = "nand";
35
36         nand {
37                 nand-ecc-mode = "soft";
38                 nand-on-flash-bbt;
39
40                 partitions {
41                         compatible = "fixed-partitions";
42                         #address-cells = <1>;
43                         #size-cells = <1>;
44
45                         partition@0 {
46                                 label = "u-boot";
47                                 reg = <0 0x040000>;
48                         };
49
50                         partition@40000 {
51                                 label = "kernel";
52                                 reg = <0x040000 0x500000>;
53                         };
54                 };
55         };
56 };