~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml (Version linux-6.12-rc7) and /Documentation/devicetree/bindings/mtd/partitions/fixed-partitions.yaml (Version linux-5.13.19)


  1 # SPDX-License-Identifier: GPL-2.0-only OR BSD      1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
  2 %YAML 1.2                                           2 %YAML 1.2
  3 ---                                                 3 ---
  4 $id: http://devicetree.org/schemas/mtd/partiti      4 $id: http://devicetree.org/schemas/mtd/partitions/fixed-partitions.yaml#
  5 $schema: http://devicetree.org/meta-schemas/co      5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6                                                     6 
  7 title: Fixed partitions                             7 title: Fixed partitions
  8                                                     8 
  9 description: |                                      9 description: |
 10   This binding can be used on platforms which      10   This binding can be used on platforms which have strong conventions about
 11   which portions of a flash are used for what      11   which portions of a flash are used for what purposes, but which don't use an
 12   on-flash partition table such as RedBoot.        12   on-flash partition table such as RedBoot.
 13                                                    13 
 14   The partition table should be a node named "     14   The partition table should be a node named "partitions". Partitions are then
 15   defined as subnodes.                             15   defined as subnodes.
 16                                                    16 
 17 maintainers:                                       17 maintainers:
 18   - Rafał Miłecki <rafal@milecki.pl>              18   - Rafał Miłecki <rafal@milecki.pl>
 19                                                    19 
 20 properties:                                        20 properties:
 21   compatible:                                      21   compatible:
 22     oneOf:                                     !!  22     const: fixed-partitions
 23       - const: fixed-partitions                << 
 24       - items:                                 << 
 25           - const: sercomm,sc-partitions       << 
 26           - const: fixed-partitions            << 
 27                                                    23 
 28   "#address-cells": true                           24   "#address-cells": true
 29                                                    25 
 30   "#size-cells": true                              26   "#size-cells": true
 31                                                    27 
 32   compression:                                 << 
 33     $ref: /schemas/types.yaml#/definitions/str << 
 34     description: |                             << 
 35       Compression algorithm used to store the  << 
 36       from a list of well-known algorithms.    << 
 37                                                << 
 38       The contents are compressed using this a << 
 39                                                << 
 40     enum:                                      << 
 41       - none                                   << 
 42       - bzip2                                  << 
 43       - gzip                                   << 
 44       - lzop                                   << 
 45       - lz4                                    << 
 46       - lzma                                   << 
 47       - xz                                     << 
 48       - zstd                                   << 
 49                                                << 
 50 patternProperties:                                 28 patternProperties:
 51   "@[0-9a-f]+$":                                   29   "@[0-9a-f]+$":
 52     $ref: partition.yaml#                      !!  30     $ref: "partition.yaml#"
 53                                                << 
 54     properties:                                << 
 55       sercomm,scpart-id:                       << 
 56         description: Partition id in Sercomm p << 
 57           uses this id to find a record in the << 
 58           offset and size of the current parti << 
 59           partition map overrides partition of << 
 60           reg property of the dts. Frequently  << 
 61           but may differ if device has bad era << 
 62         $ref: /schemas/types.yaml#/definitions << 
 63                                                    31 
 64 required:                                          32 required:
 65   - "#address-cells"                               33   - "#address-cells"
 66   - "#size-cells"                                  34   - "#size-cells"
 67                                                    35 
 68 additionalProperties: true                         36 additionalProperties: true
 69                                                    37 
 70 examples:                                          38 examples:
 71   - |                                              39   - |
 72     partitions {                                   40     partitions {
 73         compatible = "fixed-partitions";           41         compatible = "fixed-partitions";
 74         #address-cells = <1>;                      42         #address-cells = <1>;
 75         #size-cells = <1>;                         43         #size-cells = <1>;
 76                                                    44 
 77         partition@0 {                              45         partition@0 {
 78             label = "u-boot";                      46             label = "u-boot";
 79             reg = <0x0000000 0x100000>;            47             reg = <0x0000000 0x100000>;
 80             read-only;                             48             read-only;
 81         };                                         49         };
 82                                                    50 
 83         uimage@100000 {                            51         uimage@100000 {
 84             reg = <0x0100000 0x200000>;            52             reg = <0x0100000 0x200000>;
 85             compress = "lzma";                 << 
 86         };                                         53         };
 87     };                                             54     };
 88                                                << 
 89   - |                                              55   - |
 90     partitions {                                   56     partitions {
 91         compatible = "fixed-partitions";           57         compatible = "fixed-partitions";
 92         #address-cells = <1>;                      58         #address-cells = <1>;
 93         #size-cells = <2>;                         59         #size-cells = <2>;
 94                                                    60 
 95         /* a 4 GiB partition */                    61         /* a 4 GiB partition */
 96         partition@0 {                              62         partition@0 {
 97             label = "filesystem";                  63             label = "filesystem";
 98             reg = <0x00000000 0x1 0x00000000>;     64             reg = <0x00000000 0x1 0x00000000>;
 99             linux,rootfs;                      << 
100         };                                         65         };
101     };                                             66     };
102                                                << 
103   - |                                              67   - |
104     partitions {                                   68     partitions {
105         compatible = "fixed-partitions";           69         compatible = "fixed-partitions";
106         #address-cells = <2>;                      70         #address-cells = <2>;
107         #size-cells = <2>;                         71         #size-cells = <2>;
108                                                    72 
109         /* an 8 GiB partition */                   73         /* an 8 GiB partition */
110         partition@0 {                              74         partition@0 {
111             label = "filesystem #1";               75             label = "filesystem #1";
112             reg = <0x0 0x00000000 0x2 0x000000     76             reg = <0x0 0x00000000 0x2 0x00000000>;
113         };                                         77         };
114                                                    78 
115         /* a 4 GiB partition */                    79         /* a 4 GiB partition */
116         partition@200000000 {                      80         partition@200000000 {
117             label = "filesystem #2";               81             label = "filesystem #2";
118             reg = <0x2 0x00000000 0x1 0x000000     82             reg = <0x2 0x00000000 0x1 0x00000000>;
119         };                                         83         };
120     };                                             84     };
121                                                << 
122   - |                                              85   - |
123     partitions {                                   86     partitions {
124         compatible = "fixed-partitions";           87         compatible = "fixed-partitions";
125         #address-cells = <1>;                      88         #address-cells = <1>;
126         #size-cells = <1>;                         89         #size-cells = <1>;
127                                                    90 
128         partition@0 {                              91         partition@0 {
129             label = "bootloader";                  92             label = "bootloader";
130             reg = <0x000000 0x100000>;             93             reg = <0x000000 0x100000>;
131             read-only;                             94             read-only;
132         };                                         95         };
133                                                    96 
134         firmware@100000 {                          97         firmware@100000 {
135             compatible = "brcm,trx";               98             compatible = "brcm,trx";
136             label = "firmware";                    99             label = "firmware";
137             reg = <0x100000 0xe00000>;            100             reg = <0x100000 0xe00000>;
138         };                                        101         };
139                                                   102 
140         calibration@f00000 {                      103         calibration@f00000 {
141             compatible = "fixed-partitions";      104             compatible = "fixed-partitions";
142             label = "calibration";                105             label = "calibration";
143             reg = <0xf00000 0x100000>;            106             reg = <0xf00000 0x100000>;
144             ranges = <0 0xf00000 0x100000>;       107             ranges = <0 0xf00000 0x100000>;
145             #address-cells = <1>;                 108             #address-cells = <1>;
146             #size-cells = <1>;                    109             #size-cells = <1>;
147                                                   110 
148             partition@0 {                         111             partition@0 {
149                 label = "wifi0";                  112                 label = "wifi0";
150                 reg = <0x000000 0x080000>;        113                 reg = <0x000000 0x080000>;
151             };                                    114             };
152                                                   115 
153             partition@80000 {                     116             partition@80000 {
154                 label = "wifi1";                  117                 label = "wifi1";
155                 reg = <0x080000 0x080000>;        118                 reg = <0x080000 0x080000>;
156             };                                    119             };
157         };                                     << 
158     };                                         << 
159                                                << 
160   - |                                          << 
161     partitions {                               << 
162         compatible = "sercomm,sc-partitions",  << 
163         #address-cells = <1>;                  << 
164         #size-cells = <1>;                     << 
165                                                << 
166         partition@0 {                          << 
167             label = "u-boot";                  << 
168             reg = <0x0 0x100000>;              << 
169             sercomm,scpart-id = <0>;           << 
170             read-only;                         << 
171         };                                     << 
172                                                << 
173         partition@100000 {                     << 
174             label = "dynamic partition map";   << 
175             reg = <0x100000 0x100000>;         << 
176             sercomm,scpart-id = <1>;           << 
177         };                                     << 
178                                                << 
179         partition@200000 {                     << 
180             label = "Factory";                 << 
181             reg = <0x200000 0x100000>;         << 
182             sercomm,scpart-id = <2>;           << 
183             read-only;                         << 
184         };                                        120         };
185     };                                            121     };
                                                      

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php