Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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
8- dma-names: "rxtx"
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-controller.yaml for generic bindings.
15
16Example:
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 = "rxtx";
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 };