Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: Broadcom BCM4908 partitioning
0008 
0009 description: |
0010   Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used
0011   for regular booting, the other is treated as fallback.
0012 
0013   This binding allows defining all fixed partitions and marking those containing
0014   firmware. System can use that information e.g. for booting or flashing
0015   purposes.
0016 
0017 maintainers:
0018   - Rafał Miłecki <rafal@milecki.pl>
0019 
0020 properties:
0021   compatible:
0022     const: brcm,bcm4908-partitions
0023 
0024   "#address-cells":
0025     enum: [ 1, 2 ]
0026 
0027   "#size-cells":
0028     enum: [ 1, 2 ]
0029 
0030 patternProperties:
0031   "^partition@[0-9a-f]+$":
0032     $ref: "partition.yaml#"
0033     properties:
0034       compatible:
0035         const: brcm,bcm4908-firmware
0036     unevaluatedProperties: false
0037 
0038 required:
0039   - "#address-cells"
0040   - "#size-cells"
0041 
0042 additionalProperties: false
0043 
0044 examples:
0045   - |
0046     partitions {
0047         compatible = "brcm,bcm4908-partitions";
0048         #address-cells = <1>;
0049         #size-cells = <1>;
0050 
0051         partition@0 {
0052             label = "cferom";
0053             reg = <0x0 0x100000>;
0054         };
0055 
0056         partition@100000 {
0057             compatible = "brcm,bcm4908-firmware";
0058             reg = <0x100000 0xf00000>;
0059         };
0060 
0061         partition@1000000 {
0062             compatible = "brcm,bcm4908-firmware";
0063             reg = <0x1000000 0xf00000>;
0064         };
0065 
0066         partition@1f00000 {
0067             label = "calibration";
0068             reg = <0x1f00000 0x100000>;
0069         };
0070     };