Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mtd: nand: add tango NFC dt bindings doc

Add the tango NAND Flash Controller dt bindings documentation.

Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>

authored by

Marc Gonzalez and committed by
Boris Brezillon
c3d03de3 8bd8fbd8

+38
+38
Documentation/devicetree/bindings/mtd/tango-nand.txt
··· 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 8 + - dma-names: "nfc_sbox" 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"; 20 + reg = <0x2c000 0x30 0x2d000 0x800 0x20000 0x1000>; 21 + dmas = <&dma0 3>; 22 + dma-names = "nfc_sbox"; 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 + };