]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - Documentation/devicetree/bindings/mtd/tango-nand.txt
mtd: nand: tango: Update DT binding description
[mirror_ubuntu-zesty-kernel.git] / Documentation / devicetree / bindings / mtd / tango-nand.txt
CommitLineData
c3d03de3
MG
1Sigma Designs Tango4 NAND Flash Controller (NFC)
2
3Required 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
13Children nodes represent the available NAND chips.
14See Documentation/devicetree/bindings/mtd/nand.txt for generic bindings.
15
16Example:
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 };