/linux/Documentation/devicetree/bindings/mtd/ |
H A D | samsung-s3c2410.txt | 1 * Samsung S3C2410 and compatible NAND flash controller 4 - compatible : The possible values are: 5 "samsung,s3c2410-nand" 6 "samsung,s3c2412-nand" 7 "samsung,s3c2440-nand" 8 - reg : register's location and length. 9 - #address-cells, #size-cells : see nand-controller.yaml 10 - clocks : phandle to the nand controller clock 11 - clock-names : must contain "nand" 14 Child nodes representing the available nand chips. [all …]
|
H A D | atmel-nand.txt | 1 Atmel NAND flash controller bindings 3 The NAND flash controller node should be defined under the EBI bus (see 4 Documentation/devicetree/bindings/memory-controllers/atmel,ebi.txt). 5 One or several NAND devices can be defined under this NAND controller. 6 The NAND controller might be connected to an ECC engine. 8 * NAND controller bindings: 11 - compatible: should be one of the following 12 "atmel,at91rm9200-nand-controller" 13 "atmel,at91sam9260-nand-controller" 14 "atmel,at91sam9261-nand-controller" [all …]
|
H A D | vf610-nfc.txt | 1 Freescale's NAND flash controller (NFC) 3 This variant of the Freescale NAND flash controller (NFC) can be found on 7 - compatible: Should be set to "fsl,vf610-nfc". 8 - reg: address range of the NFC. 9 - interrupts: interrupt of the NFC. 10 - #address-cells: shall be set to 1. Encode the nand CS. 11 - #size-cells : shall be set to 0. 12 - assigned-clocks: main clock from the SoC, for Vybrid <&clks VF610_CLK_NFC>; 13 - assigned-clock-rates: The NAND bus timing is derived from this clock 14 rate and should not exceed maximum timing for any NAND memory chip [all …]
|
H A D | nvidia-tegra20-nand.txt | 1 NVIDIA Tegra NAND Flash controller 4 - compatible: Must be one of: 5 - "nvidia,tegra20-nand" 6 - reg: MMIO address range 7 - interrupts: interrupt output of the NFC controller 8 - clocks: Must contain an entry for each entry in clock-names. 9 See ../clocks/clock-bindings.txt for details. 10 - clock-names: Must include the following entries: 11 - nand 12 - resets: Must contain an entry for each entry in reset-names. [all …]
|
H A D | lpc32xx-slc.txt | 1 NXP LPC32xx SoC NAND SLC controller 4 - compatible: "nxp,lpc3220-slc" 5 - reg: Address and size of the controller 6 - nand-on-flash-bbt: Use bad block table on flash 7 - gpios: GPIO specification for NAND write protect 11 - nxp,wdr-clks: Delay before Ready signal is tested on write (W_RDY) 12 - nxp,rdr-clks: Delay before Ready signal is tested on read (R_RDY) 15 - nxp,wwidth: Write pulse width (W_WIDTH) 16 - nxp,whold: Write hold time (W_HOLD) 17 - nxp,wsetup: Write setup time (W_SETUP) [all …]
|
H A D | gpmi-nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/gpmi-nand.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale General-Purpose Media Interface (GPMI) 10 - Han Xu <han.xu@nxp.com> 13 The GPMI nand controller provides an interface to control the NAND 14 flash chips. The device tree may optionally contain sub-nodes 21 - enum: 22 - fsl,imx23-gpmi-nand [all …]
|
H A D | raw-nand-chip.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/raw-nand-chip.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Raw NAND Chip Common Properties 10 - Miquel Raynal <miquel.raynal@bootlin.com> 13 - $ref: nand-chip.yaml# 19 {size} bytes for a particular raw NAND chip. 21 The interpretation of these parameters is implementation-defined, so 28 pattern: "^nand@[a-f0-9]$" [all …]
|
H A D | brcm,brcmnand.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom STB NAND Controller 10 - Brian Norris <computersforpeace@gmail.com> 11 - Kamal Dasu <kdasu.kdev@gmail.com> 12 - William Zhang <william.zhang@broadcom.com> 15 The Broadcom Set-Top Box NAND controller supports low-level access to raw NAND 16 flash chips. It has a memory-mapped register interface for both control 17 registers and for its data input/output buffer. On some SoCs, this controller [all …]
|
H A D | mediatek,mtk-nfc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/mediatek,mtk-nfc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MediaTek(MTK) SoCs raw NAND FLASH controller (NFC) 10 - Xiangsheng Hou <xiangsheng.hou@mediatek.com> 15 - mediatek,mt2701-nfc 16 - mediatek,mt2712-nfc 17 - mediatek,mt7622-nfc 21 - description: Base physical address and size of NFI. [all …]
|
/linux/include/linux/mtd/ |
H A D | bbm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * NAND family Bad Block Management (BBM) header file 4 * - Bad Block Table (BBT) implementation 9 * Copyright © 2000-2005 15 /* The maximum number of NAND chips in an array */ 19 * struct nand_bbt_descr - bad block table descriptor 21 * @pages: the page(s) where we find the bbt, used with option BBT_ABSPAGE 22 * when bbt is searched, then we store the found bbts pages here. 25 * @veroffs: offset of the bbt version counter in the oob are of the page 26 * @version: version read from the bbt page during scan [all …]
|
/linux/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Bad block table support for the NAND driver 11 * depending on the options in the BBT descriptor(s). If no flash based BBT 13 * marked good / bad blocks. This information is used to create a memory BBT. 15 * on the device. 16 * If a flash based BBT is specified then the function first tries to find the 17 * BBT on flash. If a BBT is found then the contents are read and the memory 18 * based BBT is created. If a mirrored BBT is selected then the mirror is 20 * version number, then the mirror BBT is used to build the memory based BBT. 23 * If no BBT exists at all then the device is scanned for factory marked [all …]
|
/linux/drivers/mtd/nand/ |
H A D | bbt.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Boris Brezillon <boris.brezillon@free-electrons.com> 10 #define pr_fmt(fmt) "nand-bbt: " fmt 12 #include <linux/mtd/nand.h> 16 * nanddev_bbt_init() - Initialize the BBT (Bad Block Table) 17 * @nand: NAND device 19 * Initialize the in-memory BBT. 23 int nanddev_bbt_init(struct nand_device *nand) in nanddev_bbt_init() argument 26 unsigned int nblocks = nanddev_neraseblocks(nand); in nanddev_bbt_init() 28 nand->bbt.cache = bitmap_zalloc(nblocks * bits_per_block, GFP_KERNEL); in nanddev_bbt_init() [all …]
|
/linux/Documentation/driver-api/ |
H A D | mtdnand.rst | 2 MTD NAND Driver Programming Interface 10 The generic NAND driver supports almost all NAND and AG-AND based chips 15 board drivers or filesystem drivers suitable for NAND devices. 31 -------------------------- 37 - [MTD Interface] 43 - [NAND Interface] 45 These functions are exported and provide the interface to the NAND 48 - [GENERIC] 53 - [DEFAULT] 58 via pointers in the NAND chip description structure. The board driver [all …]
|
/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm97xxx-nand-cs1-bch24.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 &nand { 6 nand-on-flash-bbt; 8 nand-ecc-strength = <24>; 9 nand-ecc-step-size = <1024>; 10 brcm,nand-oob-sector-size = <27>; 13 compatible = "fixed-partitions"; 14 #address-cells = <1>; 15 #size-cells = <1>;
|
H A D | bcm97xxx-nand-cs1-bch4.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 &nand { 6 nand-on-flash-bbt; 8 nand-ecc-strength = <4>; 9 nand-ecc-step-size = <512>; 10 brcm,nand-oob-sector-size = <16>; 13 compatible = "fixed-partitions"; 14 #address-cells = <1>; 15 #size-cells = <1>;
|
/linux/arch/arm/boot/dts/marvell/ |
H A D | armada-385-atl-x530.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 (x530/AT-GS980MX) 9 /dts-v1/; 10 #include "armada-385.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 15 model = "x530/AT-GS980MX"; 19 stdout-path = "serial1:115200n8"; 32 internal-regs { 34 pinctrl-names = "default"; 35 pinctrl-0 = <&i2c0_pins>; [all …]
|
H A D | armada-xp-db-xc3-24g4xg.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-XC3-24G4XG board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx3336.dtsi" 23 model = "DB-XC3-24G4XG"; 24 compatible = "marvell,db-xc3-24g4xg", "marvell,armadaxp-98dx3336", "marvell,armada-370-xp"; 37 arm,parity-enable; 38 marvell,ecc-enable; [all …]
|
H A D | armada-xp-db-dxbc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for DB-DXBC2 board 7 * Based on armada-xp-db.dts 12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier 19 /dts-v1/; 20 #include "armada-xp-98dx4251.dtsi" 24 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp"; 43 devbus,bus-width = <16>; 44 devbus,turn-off-ps = <60000>; 45 devbus,badr-skew-ps = <0>; [all …]
|
H A D | armada-398-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10 /dts-v1/; 11 #include "armada-398.dtsi" 15 compatible = "marvell,a398-db", "marvell,armada398", "marvell,armada390"; 18 stdout-path = "serial0:115200n8"; 30 internal-regs { 32 pinctrl-0 = <&i2c0_pins>; 33 pinctrl-names = "default"; 35 clock-frequency = <100000>; [all …]
|
H A D | armada-390-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6920) 11 /dts-v1/; 12 #include "armada-390.dtsi" 16 compatible = "marvell,a390-db", "marvell,armada390"; 19 stdout-path = "serial0:115200n8"; 31 internal-regs { 34 clock-frequency = <100000>; 81 pinctrl-0 = <&spi1_pins>; 82 pinctrl-names = "default"; [all …]
|
H A D | armada-375-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * (DB-88F6720) 8 * Gregory CLEMENT <gregory.clement@free-electrons.com> 9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 12 /dts-v1/; 13 #include <dt-bindings/gpio/gpio.h> 14 #include "armada-375.dtsi" 18 compatible = "marvell,a375-db", "marvell,armada375"; 21 stdout-path = "serial0:115200n8"; 43 * standard PCIe slots on the board. [all …]
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | sama5d3xcm.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sama5d3xcm.dtsi - Device Tree Include file for SAMA5D3x CPU Module 14 stdout-path = "serial0:115200n8"; 23 clock-frequency = <32768>; 27 clock-frequency = <12000000>; 34 cs-gpios = <&pioD 13 0>, <0>, <0>, <0>; 39 compatible = "atmel,tcb-timer"; 44 compatible = "atmel,tcb-timer"; 51 pinctrl-0 = <&pinctrl_ebi_addr &pinctrl_ebi_cs0>; 52 pinctr-name = "default"; [all …]
|
H A D | at91-linea.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91-linea.dtsi - Device Tree Include file for the Axentia Linea Module. 22 clock-frequency = <32768>; 26 clock-frequency = <12000000>; 31 compatible = "atmel,tcb-timer"; 36 compatible = "atmel,tcb-timer"; 52 pinctrl-0 = <&pinctrl_ebi_nand_addr>; 53 pinctrl-names = "default"; 61 nand: nand@3 { label 64 nand-bus-width = <8>; [all …]
|
/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm963138dvt.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 16 stdout-path = &serial0; 35 brcm,wp-not-connected; 40 nand-ecc-strength = <4>; 41 nand-ecc-step-size = <512>; 42 brcm,nand-oob-sector-size = <16>; 43 nand-on-flash-bbt;
|
H A D | bcm7445-bcm97445svmb.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 20 nand@1 { 23 nand-ecc-step-size = <512>; 24 nand-ecc-strength = <8>; 25 nand-on-flash-bbt; 27 #size-cells = <2>; 28 #address-cells = <2>;
|