Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / mtd / tango-nand.txt
blob91c8420241afef6d6bf5f93242f4f6261031aab8
1 Sigma Designs Tango4 NAND Flash Controller (NFC)
3 Required properties:
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
8 - dma-names: "rxtx"
9 - clocks: reference to the system clock
10 - #address-cells: <1>
11 - #size-cells: <0>
13 Children nodes represent the available NAND chips.
14 See Documentation/devicetree/bindings/mtd/nand-controller.yaml for generic bindings.
16 Example:
18         nandc: nand-controller@2c000 {
19                 compatible = "sigma,smp8758-nand";
20                 reg = <0x2c000 0x30>, <0x2d000 0x800>, <0x20000 0x1000>;
21                 dmas = <&dma0 3>;
22                 dma-names = "rxtx";
23                 clocks = <&clkgen SYS_CLK>;
24                 #address-cells = <1>;
25                 #size-cells = <0>;
27                 nand@0 {
28                         reg = <0>; /* CS0 */
29                         nand-ecc-strength = <14>;
30                         nand-ecc-step-size = <1024>;
31                 };
33                 nand@1 {
34                         reg = <1>; /* CS1 */
35                         nand-ecc-strength = <14>;
36                         nand-ecc-step-size = <1024>;
37                 };
38         };