/Linux-v6.6/drivers/mtd/maps/ |
D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 7 obj-$(CONFIG_MTD) += map_funcs.o 11 obj-$(CONFIG_MTD_CFI_FLAGADM) += cfi_flagadm.o 12 obj-$(CONFIG_MTD_DC21285) += dc21285.o 13 obj-$(CONFIG_MTD_L440GX) += l440gx.o 14 obj-$(CONFIG_MTD_AMD76XROM) += amd76xrom.o 15 obj-$(CONFIG_MTD_ESB2ROM) += esb2rom.o 16 obj-$(CONFIG_MTD_ICHXROM) += ichxrom.o 17 obj-$(CONFIG_MTD_CK804XROM) += ck804xrom.o 18 obj-$(CONFIG_MTD_TSUNAMI) += tsunami_flash.o [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 7 bool "Support non-linear mappings of flash chips" 10 paged mappings of flash chips. 13 tristate "Flash device in physical memory map" 16 This provides a 'mapping' driver which allows the NOR Flash and 19 the physical address and size of the flash chips on your 21 with config options or at run-time. 24 module will be called physmap. 27 bool "Physmap compat support" 32 physmap configuration options are done via your board's [all …]
|
D | physmap-gemini.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Cortina Systems Gemini OF physmap add-on 6 * This SoC has an elaborate flash control register, so we need to 18 #include "physmap-gemini.h" 21 * The Flash-relevant parts of the global status register 63 if (IS_ERR(gf->enabled_state)) in gemini_flash_enable_pins() 65 ret = pinctrl_select_state(gf->p, gf->enabled_state); in gemini_flash_enable_pins() 67 dev_err(gf->dev, "failed to enable pins\n"); in gemini_flash_enable_pins() 74 if (IS_ERR(gf->disabled_state)) in gemini_flash_disable_pins() 76 ret = pinctrl_select_state(gf->p, gf->disabled_state); in gemini_flash_disable_pins() [all …]
|
D | physmap-ixp4xx.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Intel IXP4xx OF physmap add-on 10 * Copyright (C) 2003-2004 MontaVista Software, Inc. 17 #include "physmap-ixp4xx.h" 20 * Read/write a 16 bit word from flash address 'addr'. 22 * When the cpu is in little-endian mode it swizzles the address lines 24 * and the like end up on the correct flash address. 27 * handles 32 bit reads, the byte stream ABCD is stored on the flash as: 29 * +---+---+ 31 * +---+---+ [all …]
|
D | physmap-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * 031022 - [jsun] add run-time configure and partition setup 14 * Revised to handle newer style flash binding by: 18 * Handle the case where a flash device is mostly addressed using physical 19 * line and supplemented by GPIOs. This way you can hook up say a 8MiB flash 23 * Copyright © 2005-2009 Analog Devices Inc. 36 #include <linux/mtd/physmap.h> 44 #include "physmap-bt1-rom.h" 45 #include "physmap-gemini.h" 46 #include "physmap-ixp4xx.h" [all …]
|
D | physmap-versatile.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Versatile OF physmap driver add-on 17 #include "physmap-versatile.h" 30 .compatible = "arm,integrator-ap-syscon", 34 .compatible = "arm,integrator-cp-syscon", 38 .compatible = "arm,core-module-versatile", 42 .compatible = "arm,realview-eb-syscon", 46 .compatible = "arm,realview-pb1176-syscon", 50 .compatible = "arm,realview-pb11mp-syscon", 54 .compatible = "arm,realview-pba8-syscon", [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/mtd/ |
D | mtd-physmap.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/mtd/mtd-physmap.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: CFI or JEDEC memory-mapped NOR flash, MTD-RAM (NVRAM...) 10 - Rob Herring <robh@kernel.org> 13 Flash chips (Memory Technology Devices) are often used for solid state 17 - $ref: mtd.yaml# 18 - $ref: /schemas/memory-controllers/mc-peripheral-props.yaml# 23 - items: [all …]
|
D | ti,am654-hbmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/ti,am654-hbmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vignesh Raghavendra <vigneshr@ti.com> 14 const: ti,am654-hbmc 19 power-domains: true 20 '#address-cells': true 21 '#size-cells': true 24 mux-controls: [all …]
|
/Linux-v6.6/drivers/bcma/ |
D | driver_chipcommon_pflash.c | 3 * ChipCommon parallel flash 11 #include <linux/mtd/physmap.h> 26 .name = "physmap-flash", 36 struct bcma_pflash *pflash = &cc->pflash; in bcma_pflash_init() 38 pflash->present = true; in bcma_pflash_init() 40 if (!(bcma_read32(cc->core, BCMA_CC_FLASH_CFG) & BCMA_CC_FLASH_CFG_DS)) in bcma_pflash_init()
|
/Linux-v6.6/arch/mips/bcm63xx/ |
D | dev-flash.c | 2 * Broadcom BCM63xx flash registration 18 #include <linux/mtd/physmap.h> 50 .name = "physmap-flash", 99 return -EINVAL; in bcm63xx_detect_flash_type() 121 pr_warn("unsupported serial flash detected\n"); in bcm63xx_flash_register() 122 return -ENODEV; in bcm63xx_flash_register() 124 pr_warn("unsupported NAND flash detected\n"); in bcm63xx_flash_register() 125 return -ENODEV; in bcm63xx_flash_register() 127 pr_err("flash detection failed for BCM%x: %d\n", in bcm63xx_flash_register() 129 return -ENODEV; in bcm63xx_flash_register()
|
/Linux-v6.6/arch/m68k/coldfire/ |
D | firebee.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * firebee.c -- extra startup code support for the FireBee boards 18 #include <linux/mtd/physmap.h> 25 * 8MB of NOR flash fitted to the FireBee board. 27 #define FLASH_PHYS_ADDR 0xe0000000 /* Physical address of flash */ 28 #define FLASH_PHYS_SIZE 0x00800000 /* Size of flash */ 30 #define PART_BOOT_START 0x00000000 /* Start at bottom of flash */ 33 #define PART_IMAGE_SIZE 0x006c0000 /* Most of flash */ 68 .name = "physmap-flash",
|
D | amcore.c | 2 * amcore.c -- Support for Sysam AMCORE open board 19 #include <linux/mtd/physmap.h> 75 /* Set the dm9000 interrupt to be auto-vectored */ in dm9000_pre_init() 80 * Partitioning of parallel NOR flash (39VF3201B) 84 .name = "U-Boot (128K)", 94 .name = "Flash Free Space (1024K)", 113 .name = "physmap-flash", 114 .id = -1, 123 .name = "rtc-ds1307", 124 .id = -1,
|
/Linux-v6.6/arch/sh/boards/ |
D | board-espt.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Data Technology Inc. ESPT-GIGA board support 11 #include <linux/mtd/physmap.h> 18 /* NOR Flash */ 21 .name = "U-Boot", 24 .mask_flags = MTD_WRITEABLE, /* Read-only */ 26 .name = "Linux-Kernel", 44 .name = "NOR Flash", 46 .end = SZ_8M - 1, 52 .name = "physmap-flash", [all …]
|
D | board-urquell.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * Based on board-sh7785lcr.c 15 #include <linux/mtd/physmap.h> 25 #include <asm/smp-ops.h> 29 *---------------------------- 30 * SW1 0101 0010 -> Pck 33MHz version 32 * SW2 0x1x xxxx -> little endian 34 * SW47 0001 1000 -> CS0 : on-board flash 39 * 0x00000000 - 0x04000000 (CS0) Nor Flash 40 * 0x04000000 - 0x04200000 (CS1) SRAM [all …]
|
D | board-edosk7760.c | 1 // SPDX-License-Identifier: GPL-2.0+ 15 #include <linux/mtd/physmap.h> 20 #include <asm/i2c-sh7760.h> 31 /* NOR flash */ 37 .mask_flags = MTD_WRITEABLE, /* Read-only */ 61 .name = "NOR Flash", 63 .end = 0x00000000 + SZ_32M - 1, 69 .name = "physmap-flash", 135 .end = SMC_IOADDR + SZ_32 - 1, 147 .id = -1,
|
/Linux-v6.6/arch/mips/cobalt/ |
D | mtd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2006 Yoichi Yuasa <yuasa@linux-mips.org> 10 #include <linux/mtd/physmap.h> 33 .name = "physmap-flash",
|
/Linux-v6.6/arch/sh/boards/mach-rsk/ |
D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2008 Peter Griffin <pgriffin@mpc-data.co.uk> 14 #include <linux/mtd/physmap.h> 57 .name = "physmap-flash", 58 .id = -1,
|
/Linux-v6.6/arch/mips/alchemy/devboards/ |
D | platform.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/mtd/physmap.h> 18 #include <asm/mach-au1x00/au1000.h> 19 #include <asm/mach-db1x00/bcsr.h> 33 .name = "rtc-au1xxx", 34 .id = -1, 92 return -ENOMEM; in db1x_register_pcmcia_socket() 96 ret = -ENOMEM; in db1x_register_pcmcia_socket() 100 sr[0].name = "pcmcia-attr"; in db1x_register_pcmcia_socket() 105 sr[1].name = "pcmcia-mem"; in db1x_register_pcmcia_socket() [all …]
|
/Linux-v6.6/arch/sh/boards/mach-sh7763rdp/ |
D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 14 #include <linux/mtd/physmap.h> 22 /* NOR Flash */ 25 .name = "U-Boot", 28 .mask_flags = MTD_WRITEABLE, /* Read-only */ 30 .name = "Linux-Kernel", 48 .name = "NOR Flash", 56 .name = "physmap-flash", 65 * SH-Ether 68 * (0x920,0x940,0x960 -> 0x920) [all …]
|
/Linux-v6.6/arch/mips/ath25/ |
D | ar5312.c | 9 * Copyright (C) 2006-2009 Felix Fietkau <nbd@openwrt.org> 24 #include <linux/mtd/physmap.h> 96 ar5312_rst_reg_mask(AR5312_IMR, 0, BIT(d->hwirq)); in ar5312_misc_irq_unmask() 102 ar5312_rst_reg_mask(AR5312_IMR, BIT(d->hwirq), 0); in ar5312_misc_irq_mask() 107 .name = "ar5312-misc", 152 if (request_irq(irq, ar5312_ahb_err_handler, 0, "ar5312-ahb-error", in ar5312_arch_init_irq() 154 pr_err("Failed to register ar5312-ahb-error interrupt\n"); in ar5312_arch_init_irq() 168 .end = AR5312_FLASH_BASE + AR5312_FLASH_SIZE - 1, 173 .name = "physmap-flash", 191 /* fixup flash width */ in ar5312_flash_init() [all …]
|
/Linux-v6.6/arch/arm/boot/dts/microchip/ |
D | at91rm9200ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * at91rm9200ek.dts - Device Tree file for Atmel AT91RM9200 evaluation kit 7 /dts-v1/; 15 stdout-path = "serial0:115200n8"; 24 clock-frequency = <32768>; 28 clock-frequency = <18432000>; 36 compatible = "atmel,tcb-timer"; 41 compatible = "atmel,tcb-timer"; 47 atmel,vbus-gpio = <&pioD 4 GPIO_ACTIVE_HIGH>; 48 atmel,pullup-gpio = <&pioD 5 GPIO_ACTIVE_HIGH>; [all …]
|
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 …]
|
/Linux-v6.6/include/linux/mtd/ |
D | physmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * For boards with physically mapped flash and using 4 * drivers/mtd/maps/physmap.c mapping driver.
|
/Linux-v6.6/arch/mips/alchemy/ |
D | board-gpr.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #include <linux/mtd/physmap.h> 19 #include <linux/platform_data/i2c-gpio.h> 25 #include <asm/mach-au1x00/au1000.h> 26 #include <asm/mach-au1x00/gpio-au1000.h> 41 /* switch System-LED to orange (red# and green# on) */ in gpr_reset() 73 /* Take away Reset of UMTS-card */ in board_setup() 84 .name = "gpr-adm6320-wdt", 90 .name = "adm6320-wdt", 97 * FLASH [all …]
|
/Linux-v6.6/drivers/ssb/ |
D | driver_mipscore.c | 15 #include <linux/mtd/physmap.h> 36 .name = "physmap-flash", 47 return ssb_read32(mcore->dev, offset); in mips_read32() 54 ssb_write32(mcore->dev, offset, value); in mips_write32() 85 struct ssb_bus *bus = rdev->bus; in find_device() 87 for (i = 0; i < bus->nr_devices; i++) { in find_device() 89 dev = &(bus->devices[i]); in find_device() 103 struct ssb_bus *bus = dev->bus; in ssb_mips_irq() 104 struct ssb_device *mdev = bus->mipscore.dev; in ssb_mips_irq() 113 ipsflag = ssb_read32(bus->mipscore.dev, SSB_IPSFLAG); in ssb_mips_irq() [all …]
|