The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/Bindings/mtd/partitions/partition.yaml

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
    2 %YAML 1.2
    3 ---
    4 $id: http://devicetree.org/schemas/mtd/partitions/partition.yaml#
    5 $schema: http://devicetree.org/meta-schemas/core.yaml#
    6 
    7 title: Partition
    8 
    9 description: |
   10   This binding describes a single flash partition. Each partition must have its
   11   relative offset and size specified. Depending on partition function extra
   12   properties can be used.
   13 
   14   A partition may be dynamically allocated by a specific parser at runtime.
   15   In this specific case, a specific suffix is required to the node name.
   16   Everything after 'partition-' will be used as the partition name to compare
   17   with the one dynamically allocated by the specific parser.
   18   If the partition contains invalid char a label can be provided that will
   19   be used instead of the node name to make the comparison.
   20   This is used to assign an OF node to the dynamiccally allocated partition
   21   so that subsystem like NVMEM can provide an OF node and declare NVMEM cells.
   22   The OF node will be assigned only if the partition label declared match the
   23   one assigned by the parser at runtime.
   24 
   25 maintainers:
   26   - Rafał Miłecki <rafal@milecki.pl>
   27 
   28 properties:
   29   reg:
   30     description: partition's offset and size within the flash
   31     maxItems: 1
   32 
   33   label:
   34     description: The label / name for this partition. If omitted, the label
   35       is taken from the node name (excluding the unit address).
   36 
   37   read-only:
   38     description: This parameter, if present, is a hint that this partition
   39       should only be mounted read-only. This is usually used for flash
   40       partitions containing early-boot firmware images or data which should
   41       not be clobbered.
   42     type: boolean
   43 
   44   lock:
   45     description: Do not unlock the partition at initialization time (not
   46       supported on all devices)
   47     type: boolean
   48 
   49   slc-mode:
   50     description: This parameter, if present, allows one to emulate SLC mode
   51       on a partition attached to an MLC NAND thus making this partition
   52       immune to paired-pages corruptions
   53     type: boolean
   54 
   55 if:
   56   not:
   57     required: [ reg ]
   58 then:
   59   properties:
   60     $nodename:
   61       pattern: '^partition-.*$'
   62 
   63 additionalProperties: true

Cache object: 2f4215b0653bf3978285b79742a89a58


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.