forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt
....@@ -20,6 +20,8 @@
2020 "brcm,brcmnand" and an appropriate version compatibility
2121 string, like "brcm,brcmnand-v7.0"
2222 Possible values:
23
+ brcm,brcmnand-v2.1
24
+ brcm,brcmnand-v2.2
2325 brcm,brcmnand-v4.0
2426 brcm,brcmnand-v5.0
2527 brcm,brcmnand-v6.0
....@@ -28,17 +30,18 @@
2830 brcm,brcmnand-v7.0
2931 brcm,brcmnand-v7.1
3032 brcm,brcmnand-v7.2
33
+ brcm,brcmnand-v7.3
3134 brcm,brcmnand
3235 - reg : the register start and length for NAND register region.
3336 (optional) Flash DMA register range (if present)
3437 (optional) NAND flash cache range (if at non-standard offset)
3538 - reg-names : a list of the names corresponding to the previous register
3639 ranges. Should contain "nand" and (optionally)
37
- "flash-dma" and/or "nand-cache".
38
-- interrupts : The NAND CTLRDY interrupt and (if Flash DMA is available)
39
- FLASH_DMA_DONE
40
-- interrupt-names : May be "nand_ctlrdy" or "flash_dma_done", if broken out as
41
- individual interrupts.
40
+ "flash-dma" or "flash-edu" and/or "nand-cache".
41
+- interrupts : The NAND CTLRDY interrupt, (if Flash DMA is available)
42
+ FLASH_DMA_DONE and if EDU is avaialble and used FLASH_EDU_DONE
43
+- interrupt-names : May be "nand_ctlrdy" or "flash_dma_done" or "flash_edu_done",
44
+ if broken out as individual interrupts.
4245 May be "nand", if the SoC has the individual NAND
4346 interrupts multiplexed behind another custom piece of
4447 hardware
....@@ -101,12 +104,12 @@
101104 number (e.g., 0, 1, 2, etc.)
102105 - #address-cells : see partition.txt
103106 - #size-cells : see partition.txt
104
-- nand-ecc-strength : see nand.txt
105
-- nand-ecc-step-size : must be 512 or 1024. See nand.txt
106107
107108 Optional properties:
109
+- nand-ecc-strength : see nand-controller.yaml
110
+- nand-ecc-step-size : must be 512 or 1024. See nand-controller.yaml
108111 - nand-on-flash-bbt : boolean, to enable the on-flash BBT for this
109
- chip-select. See nand.txt
112
+ chip-select. See nand-controller.yaml
110113 - brcm,nand-oob-sector-size : integer, to denote the spare area sector size
111114 expected for the ECC layout in use. This size, in
112115 addition to the strength and step-size,