]>
Commit | Line | Data |
---|---|---|
c3d03de3 MG |
1 | Sigma Designs Tango4 NAND Flash Controller (NFC) |
2 | ||
3 | Required properties: | |
4 | ||
5 | - compatible: "sigma,smp8758-nand" | |
6 | - reg: address/size of nfc_reg, nfc_mem, and pbus_reg | |
7 | - dmas: reference to the DMA channel used by the controller | |
7165b8ad | 8 | - dma-names: "rxtx" |
c3d03de3 MG |
9 | - clocks: reference to the system clock |
10 | - #address-cells: <1> | |
11 | - #size-cells: <0> | |
12 | ||
13 | Children nodes represent the available NAND chips. | |
14 | See Documentation/devicetree/bindings/mtd/nand.txt for generic bindings. | |
15 | ||
16 | Example: | |
17 | ||
18 | nandc: nand-controller@2c000 { | |
19 | compatible = "sigma,smp8758-nand"; | |
7165b8ad | 20 | reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>; |
c3d03de3 | 21 | dmas = <&dma0 3>; |
7165b8ad | 22 | dma-names = "rxtx"; |
c3d03de3 MG |
23 | clocks = <&clkgen SYS_CLK>; |
24 | #address-cells = <1>; | |
25 | #size-cells = <0>; | |
26 | ||
27 | nand@0 { | |
28 | reg = <0>; /* CS0 */ | |
29 | nand-ecc-strength = <14>; | |
30 | nand-ecc-step-size = <1024>; | |
31 | }; | |
32 | ||
33 | nand@1 { | |
34 | reg = <1>; /* CS1 */ | |
35 | nand-ecc-strength = <14>; | |
36 | nand-ecc-step-size = <1024>; | |
37 | }; | |
38 | }; |