xref: /linux/Documentation/devicetree/bindings/mtd/partitions/partition.yaml (revision 6418522022c706fd867b00b2571edba48b8fa8c7)
1*64185220SRafał Miłecki# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2*64185220SRafał Miłecki%YAML 1.2
3*64185220SRafał Miłecki---
4*64185220SRafał Miłecki$id: http://devicetree.org/schemas/mtd/partitions/partition.yaml#
5*64185220SRafał Miłecki$schema: http://devicetree.org/meta-schemas/core.yaml#
6*64185220SRafał Miłecki
7*64185220SRafał Miłeckititle: Partition
8*64185220SRafał Miłecki
9*64185220SRafał Miłeckidescription: |
10*64185220SRafał Miłecki  This binding describes a single flash partition. Each partition must have its
11*64185220SRafał Miłecki  relative offset and size specified. Depending on partition function extra
12*64185220SRafał Miłecki  properties can be used.
13*64185220SRafał Miłecki
14*64185220SRafał Miłeckimaintainers:
15*64185220SRafał Miłecki  - Rafał Miłecki <rafal@milecki.pl>
16*64185220SRafał Miłecki
17*64185220SRafał Miłeckiproperties:
18*64185220SRafał Miłecki  reg:
19*64185220SRafał Miłecki    description: partition's offset and size within the flash
20*64185220SRafał Miłecki    maxItems: 1
21*64185220SRafał Miłecki
22*64185220SRafał Miłecki  label:
23*64185220SRafał Miłecki    description: The label / name for this partition. If omitted, the label
24*64185220SRafał Miłecki      is taken from the node name (excluding the unit address).
25*64185220SRafał Miłecki
26*64185220SRafał Miłecki  read-only:
27*64185220SRafał Miłecki    description: This parameter, if present, is a hint that this partition
28*64185220SRafał Miłecki      should only be mounted read-only. This is usually used for flash
29*64185220SRafał Miłecki      partitions containing early-boot firmware images or data which should
30*64185220SRafał Miłecki      not be clobbered.
31*64185220SRafał Miłecki    type: boolean
32*64185220SRafał Miłecki
33*64185220SRafał Miłecki  lock:
34*64185220SRafał Miłecki    description: Do not unlock the partition at initialization time (not
35*64185220SRafał Miłecki      supported on all devices)
36*64185220SRafał Miłecki    type: boolean
37*64185220SRafał Miłecki
38*64185220SRafał Miłecki  slc-mode:
39*64185220SRafał Miłecki    description: This parameter, if present, allows one to emulate SLC mode
40*64185220SRafał Miłecki      on a partition attached to an MLC NAND thus making this partition
41*64185220SRafał Miłecki      immune to paired-pages corruptions
42*64185220SRafał Miłecki    type: boolean
43*64185220SRafał Miłecki
44*64185220SRafał Miłeckirequired:
45*64185220SRafał Miłecki  - reg
46*64185220SRafał Miłecki
47*64185220SRafał MiłeckiadditionalProperties: true
48