/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
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 …]
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | mxs_nand_dt.c | 2 * NXP GPMI NAND flash driver (DT initialization) 10 * SPDX-License-Identifier: GPL-2.0+ 34 .compatible = "fsl,imx6q-gpmi-nand", 38 .compatible = "fsl,imx7d-gpmi-nand", 53 info->max_ecc_strength_supported = data->max_ecc_strength_supported; in mxs_nand_dt_probe() 55 info->dev = dev; in mxs_nand_dt_probe() 57 ret = dev_read_resource_byname(dev, "gpmi-nand", &res); in mxs_nand_dt_probe() 61 info->gpmi_regs = devm_ioremap(dev, res.start, resource_size(&res)); in mxs_nand_dt_probe() 68 info->bch_regs = devm_ioremap(dev, res.start, resource_size(&res)); in mxs_nand_dt_probe() 70 info->use_minimum_ecc = dev_read_bool(dev, "fsl,use-minimum-ecc"); in mxs_nand_dt_probe() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/gpmi-nand/ |
H A D | gpmi-nand.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale GPMI NAND Flash Driver 5 * Copyright (C) 2010-2015 Freescale Semiconductor, Inc. 18 #include <linux/dma/mxs-dma.h> 19 #include "gpmi-nand.h" 20 #include "gpmi-regs.h" 21 #include "bch-regs.h" 23 /* Resource names for the GPMI NAND driver. */ 24 #define GPMI_NAND_GPMI_REGS_ADDR_RES_NAME "gpmi-nand" 46 * SFTRST needs 3 GPMI clocks to settle, the reference manual in clear_poll_bit() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | imx7-colibri-rawnand.dts | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 6 /dts-v1/; 7 #include "imx7-colibri.dtsi" 11 compatible = "toradex,imx7-colibri", "fsl,imx7"; 14 stdout-path = &uart1; 18 &gpmi { 19 pinctrl-names = "default"; 20 pinctrl-0 = <&pinctrl_gpmi_nand>; 21 fsl,use-minimum-ecc; 22 nand-on-flash-bbt; [all …]
|
/openbmc/u-boot/configs/ |
H A D | imx6ul_isiot_nand_defconfig | 16 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 37 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 38 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 40 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-isiot-nand"
|
H A D | pfla02_defconfig | 18 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 39 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 40 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:-(nand);spi2.0:1024k(bootloader),64k(env1),64k(env2),-(…
|
H A D | apx4devkit_defconfig | 29 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 30 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:128k(bootstrap),1024k(boot),768k(env),-(root)"
|
H A D | titanium_defconfig | 33 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 34 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:16M(uboot),512k(env1),512k(env2),-(ubi)"
|
H A D | phycore_pcl063_defconfig | 12 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 29 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 30 CONFIG_MTDPARTS_DEFAULT="gpmi-nand:4m(uboot),1m(env),-(root)" 34 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-phycore-segin"
|
H A D | imx6q_icore_nand_defconfig | 17 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 37 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 38 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 40 CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore"
|
H A D | imx6qdl_icore_nand_defconfig | 16 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 36 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 37 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 39 CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore"
|
H A D | imx6ul_geam_nand_defconfig | 16 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 37 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 38 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 40 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-geam"
|
H A D | imx6dl_icore_nand_defconfig | 17 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 36 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 37 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 39 CONFIG_DEFAULT_DEVICE_TREE="imx6dl-icore"
|
H A D | platinum_titanium_defconfig | 13 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6Q" 45 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 46 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:14M(spl),2M(uboot),512k(env1),512k(env2),-(ubi)"
|
H A D | mx28evk_spi_defconfig | 38 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 39 …ARTS_DEFAULT="mtdparts=gpmi-nand:3m(bootloader)ro,512k(environment),512k(redundant-environment),4m…
|
H A D | mx28evk_defconfig | 39 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 40 …ARTS_DEFAULT="mtdparts=gpmi-nand:3m(bootloader)ro,512k(environment),512k(redundant-environment),4m…
|
H A D | mx28evk_nand_defconfig | 38 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 39 …ARTS_DEFAULT="mtdparts=gpmi-nand:3m(bootloader)ro,512k(environment),512k(redundant-environment),4m…
|
H A D | mx28evk_auart_console_defconfig | 39 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 40 …ARTS_DEFAULT="mtdparts=gpmi-nand:3m(bootloader)ro,512k(environment),512k(redundant-environment),4m…
|
H A D | platinum_picon_defconfig | 13 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg,MX6DL" 45 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 46 …PARTS_DEFAULT="mtdparts=gpmi-nand:14M(spl),2M(uboot),512k(env1),512k(env2),495M(ubi0),14M(res0),2M…
|
H A D | imx6qdl_icore_mmc_defconfig | 29 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/mach-imx/spl_sd.cfg" 51 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 52 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:2m(spl),2m(uboot),1m(env),8m(kernel),1m(dtb),-(rootfs)" 54 CONFIG_DEFAULT_DEVICE_TREE="imx6q-icore" 55 CONFIG_OF_LIST="imx6q-icore imx6dl-icore"
|
H A D | colibri-imx6ull_defconfig | 10 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=board/toradex/colibri-imx6ull/imximage.cfg,MX6ULL,IMX_NAND" 38 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 39 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:512k(mx6ull-bcb),1536k(u-boot1)ro,1536k(u-boot2)ro,512k… 43 CONFIG_DEFAULT_DEVICE_TREE="imx6ull-colibri"
|
H A D | colibri_imx7_defconfig | 40 CONFIG_MTDIDS_DEFAULT="nand0=gpmi-nand" 41 CONFIG_MTDPARTS_DEFAULT="mtdparts=gpmi-nand:512k(mx7-bcb),1536k(u-boot1)ro,1536k(u-boot2)ro,512k(u-… 45 CONFIG_DEFAULT_DEVICE_TREE="imx7-colibri-rawnand"
|
/openbmc/u-boot/include/configs/ |
H A D | aristainetos.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 26 "mtdids=nand0=gpmi-nand,nor0=spi3.0\0" \ 27 "mtdparts=mtdparts=spi3.0:832k(u-boot),64k(env),64k(env-red)," \ 28 "-(rescue-system);gpmi-nand:-(ubi)\0" \ 41 #include "aristainetos-common.h"
|
H A D | aristainetos2b.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 16 #define CONFIG_BOARDNAME "aristainetos2-revB" 25 "nor_bootdelay=-2\0" \ 26 "mtdids=nand0=gpmi-nand,nor0=spi0.0\0" \ 27 "mtdparts=mtdparts=spi0.0:832k(u-boot),64k(env),64k(env-red)," \ 28 "-(rescue-system);gpmi-nand:-(ubi)\0" \ 51 #include "aristainetos-common.h"
|
H A D | aristainetos2.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 25 "nor_bootdelay=-2\0" \ 26 "mtdids=nand0=gpmi-nand,nor0=spi3.1\0" \ 27 "mtdparts=mtdparts=spi3.1:832k(u-boot),64k(env),64k(env-red)," \ 28 "-(rescue-system);gpmi-nand:-(ubi)\0" \ 51 #include "aristainetos-common.h"
|