/Linux-v6.1/Documentation/devicetree/bindings/mtd/partitions/ |
D | fixed-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fixed partitions 12 on-flash partition table such as RedBoot. 14 The partition table should be a node named "partitions". Partitions are then 18 - Rafał Miłecki <rafal@milecki.pl> 23 - const: fixed-partitions 24 - items: [all …]
|
D | nvmem-cells.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/nvmem-cells.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Any partition containing the compatible "nvmem-cells" will register as a 13 Nvmem binding to declare nvmem-cells can be found in: 17 - Ansuel Smith <ansuelsmth@gmail.com> 20 - $ref: /schemas/nvmem/nvmem.yaml# 24 const: nvmem-cells 27 - compatible [all …]
|
D | brcm,bcm947xx-cfe-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm947xx-cfe-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom BCM47xx Partitions 12 partitions without any on-flash partition table. On some devices their sizes 13 and/or meanings can also vary so fixed partitioning can't be used. 15 Discovering partitions on these devices is possible thanks to having a special 19 Most of partitions use ASCII text based magic for determining a type. More 20 complex partitions (like TRX with its HDR0 magic) may include extra header [all …]
|
D | brcm,bcm963xx-cfe-nor-partitions.txt | 1 Broadcom BCM963XX CFE Loader NOR Flash Partitions 6 NVRAM partition, and the remainder in-between for one to two firmware partitions 7 at fixed offsets. A valid firmware partition is identified by the ImageTag 12 - compatible : must be "brcm,bcm963xx-cfe-nor-partitions" 17 compatible = "cfi-flash"; 19 bank-width = <2>; 21 partitions { 22 compatible = "brcm,bcm963xx-cfe-nor-partitions";
|
D | linksys,ns-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/linksys,ns-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 firmware partitions. One is used for regular booting, the other is treated as 14 This binding allows defining all fixed partitions and marking those containing 19 - Rafał Miłecki <rafal@milecki.pl> 23 const: linksys,ns-partitions 25 "#address-cells": 28 "#size-cells": [all …]
|
D | brcm,bcm4908-partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used 13 This binding allows defining all fixed partitions and marking those containing 18 - Rafał Miłecki <rafal@milecki.pl> 22 const: brcm,bcm4908-partitions 24 "#address-cells": 27 "#size-cells": [all …]
|
D | brcm,bcm963xx-imagetag.txt | 5 partitions or non standard bootloader partition sizes. For these a mixed layout 12 - compatible : must be "brcm,bcm963xx-imagetag" 17 compatible = "cfi-flash"; 19 bank-width = <2>; 21 partitions { 22 compatible = "fixed-partitions"; 23 #address-cells = <1>; 24 #size-cells = <1>; 28 read-only; 33 compatible = "brcm,bcm963xx-imagetag"; [all …]
|
D | u-boot.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/u-boot.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot bootloader partition 10 U-Boot is a bootlodaer commonly used in embedded devices. It's almost always 17 - Rafał Miłecki <rafal@milecki.pl> 20 - $ref: partition.yaml# 25 - const: brcm,u-boot 27 Broadcom stores environment variables inside a U-Boot partition. They [all …]
|
/Linux-v6.1/drivers/mtd/parsers/ |
D | ofpart_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Flash partitions described by the OF (or flattened) device tree 17 #include <linux/mtd/partitions.h> 60 if (!master->parent) { /* Master */ in parse_fixed_partitions() 61 ofpart_node = of_get_child_by_name(mtd_node, "partitions"); in parse_fixed_partitions() 68 …pr_debug("%s: 'partitions' subnode not found on %pOF. Trying to parse direct subnodes as partition… in parse_fixed_partitions() 69 master->name, mtd_node); in parse_fixed_partitions() 79 /* The 'partitions' subnode might be used by another parser */ in parse_fixed_partitions() 83 quirks = of_id ? of_id->data : NULL; in parse_fixed_partitions() 99 return -ENOMEM; in parse_fixed_partitions() [all …]
|
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 This provides partitions parser for devices based on BCM47xx 24 tristate "Broadcom's U-Boot partition parser" 27 Broadcom uses a custom way of storing U-Boot environment variables. 28 They are placed inside U-Boot partition itself at unspecified offset. 49 <mtddef> := <mtd-id>:<partdef>[,<partdef>] 51 <mtd-id> := unique id used in mapping driver/device 52 <size> := standard linux memsize OR "-" to denote all 62 1 flash resource (mtd-id "sa1100"), with 1 single writable partition: 63 mtdparts=sa1100:- [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/marvell/ |
D | armada-7040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-7040.dtsi" 13 compatible = "marvell,armada7040-db", "marvell,armada7040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 31 cp0_exp_usb3_0_current_regulator: gpio-regulator { 32 compatible = "regulator-gpio"; 33 regulator-name = "cp0-usb3-0-current-regulator"; 34 regulator-type = "current"; [all …]
|
D | armada-8040-db.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include "armada-8040.dtsi" 13 compatible = "marvell,armada8040-db", "marvell,armada8040", 14 "marvell,armada-ap806-quad", "marvell,armada-ap806"; 17 stdout-path = "serial0:115200n8"; 34 cp0_reg_usb3_0_vbus: cp0-usb3-0-vbus { 35 compatible = "regulator-fixed"; 36 regulator-name = "cp0-usb3h0-vbus"; 37 regulator-min-microvolt = <5000000>; [all …]
|
/Linux-v6.1/drivers/mtd/ |
D | mtdpart.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright © 2000-2010 David Woodhouse <dwmw2@infradead.org> 17 #include <linux/mtd/partitions.h> 31 kfree(mtd->name); in free_partition() 40 int wr_alignment = (parent->flags & MTD_NO_ERASE) ? in allocate_partition() 41 master->writesize : master->erasesize; in allocate_partition() 43 parent->part.size : parent->size; in allocate_partition() 51 name = kstrdup(part->name, GFP_KERNEL); in allocate_partition() 53 printk(KERN_ERR"memory allocation error while creating partitions for \"%s\"\n", in allocate_partition() 54 parent->name); in allocate_partition() [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | am335x-moxa-uc-2100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2018 MOXA Inc. - https://www.moxa.com/ 13 vbat: vbat-regulator { 14 compatible = "regulator-fixed"; 17 /* Power supply provides a fixed 3.3V @3A */ 18 vmmcsd_fixed: vmmcsd-regulator { 19 compatible = "regulator-fixed"; 20 regulator-name = "vmmcsd_fixed"; 21 regulator-min-microvolt = <3300000>; 22 regulator-max-microvolt = <3300000>; [all …]
|
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 …]
|
D | armada-385-db-88f6820-amc.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * (DB-88F6820-AMC) 9 /dts-v1/; 10 #include "armada-385.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 16 compatible = "marvell,a385-db-amc", "marvell,armada385", "marvell,armada380"; 19 stdout-path = "serial0:115200n8"; 40 pinctrl-names = "default"; 41 pinctrl-0 = <&i2c0_pins>; 51 pinctrl-names = "default"; [all …]
|
D | qcom-ipq4018-jalapeno.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 #include "qcom-ipq4019.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 27 bias-pull-up; 35 bias-disable; 43 drive-strength = <2>; 44 bias-disable; 50 drive-strength = <2>; 51 bias-disable; [all …]
|
D | qcom-ipq4018-ap120c-ac.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 #include "qcom-ipq4019.dtsi" 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 8 model = "ALFA Network AP120C-AC"; 9 compatible = "alfa-network,ap120c-ac"; 12 compatible = "gpio-keys"; 14 key-reset { 27 drive-strength = <16>; 28 bias-disable; [all …]
|
D | bcm53016-meraki-mr32.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 * Copyright (C) 2018-2020 Christian Lamparter <chunkeey@gmail.com> 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 33 compatible = "gpio-leds"; 39 panic-indicator; 49 compatible = "gpio-keys"; 51 button-restart { 58 pwm-leds { [all …]
|
D | imx28-lwe.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 7 /dts-v1/; 23 reg_3v3: regulator-reg-3v3 { 24 compatible = "regulator-fixed"; 25 regulator-name = "3V3"; 26 regulator-min-microvolt = <3300000>; 27 regulator-max-microvolt = <3300000>; 30 reg_usb_5v: regulator-reg-usb-5v { 31 compatible = "regulator-fixed"; 32 regulator-name = "usb_vbus"; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mtd/ |
D | qcom,nandc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 15 - qcom,ipq806x-nand 16 - qcom,ipq4019-nand 17 - qcom,ipq6018-nand 18 - qcom,ipq8074-nand 19 - qcom,sdx55-nand 26 - description: Core Clock [all …]
|
D | partition.txt | 1 Flash partitions in device tree 7 Different devices may be partitioned in a different ways. Some may use a fixed 8 flash layout set at production time. Some may use on-flash table that describes 12 To assist system software in locating partitions, we allow describing which 14 a subnode of the flash device that is named 'partitions'. It must have a 20 hierarchical (multi-level) layouts and should be used if there is some 21 significant relation between partitions or some partition internally uses 24 Available bindings are listed in the "partitions" subdirectory. 27 Deprecated: partitions defined in flash node 30 For backwards compatibility partitions as direct subnodes of the flash device are [all …]
|
D | ingenic,nand.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Cercueil <paul@crapouillou.net> 13 - $ref: nand-controller.yaml# 14 - $ref: /schemas/memory-controllers/ingenic,nemc-peripherals.yaml# 19 - ingenic,jz4740-nand 20 - ingenic,jz4725b-nand 21 - ingenic,jz4780-nand 25 - description: Bank number, offset and size of first attached NAND chip [all …]
|
D | marvell-nand.txt | 4 - compatible: can be one of the following: 5 * "marvell,armada-8k-nand-controller" 6 * "marvell,armada370-nand-controller" 7 * "marvell,pxa3xx-nand-controller" 8 * "marvell,armada-8k-nand" (deprecated) 9 * "marvell,armada370-nand" (deprecated) 10 * "marvell,pxa3xx-nand" (deprecated) 13 - reg: NAND flash controller memory area. 14 - #address-cells: shall be set to 1. Encode the NAND CS. 15 - #size-cells: shall be set to 0. [all …]
|
D | samsung-s3c2410.txt | 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" 17 - nand-ecc-mode : see nand-controller.yaml 18 - nand-on-flash-bbt : see nand-controller.yaml [all …]
|