/openbmc/linux/Documentation/devicetree/bindings/mtd/partitions/ |
H A 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 …]
|
H A 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/mtd/partitions/partition.yaml# 21 - $ref: /schemas/nvmem/nvmem.yaml# 25 const: nvmem-cells [all …]
|
H A D | partitions.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/partitions.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Partitions 10 This binding is generic and describes the content of the partitions container 14 - Miquel Raynal <miquel.raynal@bootlin.com> 17 - $ref: arm,arm-firmware-suite.yaml 18 - $ref: brcm,bcm4908-partitions.yaml 19 - $ref: brcm,bcm947xx-cfe-partitions.yaml [all …]
|
H A 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 …]
|
H A 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";
|
H A 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> 25 const: linksys,ns-partitions 27 "#address-cells": 30 "#size-cells": [all …]
|
H A 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> 24 const: brcm,bcm4908-partitions 26 "#address-cells": 29 "#size-cells": [all …]
|
H A D | seama.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mtd/partitions/seama.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Seattle Image Partitions 11 D-Link routers such as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L, 12 DIR890L and DCH-M225, as well as in WD and NEC routers on the ath79 18 - $ref: partition.yaml# 21 - Linus Walleij <linus.walleij@linaro.org> 28 - compatible [all …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A 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 …]
|
/openbmc/linux/arch/arm64/boot/dts/marvell/ |
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A 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 …]
|
/openbmc/linux/drivers/mtd/ |
H A 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() 37 WARN_ON(!list_empty(&mtd->part.node)); in release_mtd_partition() 46 int wr_alignment = (parent->flags & MTD_NO_ERASE) ? in allocate_partition() 47 master->writesize : master->erasesize; in allocate_partition() 49 parent->part.size : parent->size; in allocate_partition() 57 name = kstrdup(part->name, GFP_KERNEL); in allocate_partition() 59 printk(KERN_ERR"memory allocation error while creating partitions for \"%s\"\n", in allocate_partition() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/mtd/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
/openbmc/linux/Documentation/devicetree/bindings/nvmem/ |
H A D | u-boot,env.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/nvmem/u-boot,env.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: U-Boot environment variables 10 U-Boot uses environment variables to store device parameters and 14 Data is stored using U-Boot specific formats (variant specific header and NUL 15 separated key-value pairs). 30 - Rafał Miłecki <rafal@milecki.pl> 35 - description: A standalone env data block [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
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-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 …]
|
/openbmc/linux/arch/arm/boot/dts/qcom/ |
H A 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 …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A 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 …]
|
/openbmc/docs/architecture/code-update/ |
H A D | emmc-storage-design.md | 7 Created: 2019-06-20 22 - Security: Ability to enforce read-only, verification of official/signed images 25 - Updatable: Ensure that the filesystem design allows for an effective and 28 - Simplicity: Make the system easy to understand, so that it is easy to develop, 31 - Code reuse: Try to use something that already exists instead of re-inventing 36 - The eMMC image layout and characteristics are specified in a meta layer. This 41 - Code update: Support two versions on flash. This allows a known good image to 44 - GPT partitioning for the eMMC User Data Area: This is chosen over dynamic 48 - Initramfs: An initramfs is needed to run sgdisk on first boot to move the 54 - Read-only and read-write filesystem: ext4. This is a stable and widely used [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/mxs/ |
H A 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 …]
|