brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · 94f0742 Raw
73 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Broadcom BCM4908 partitioning8 9description: |10  Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used11  for regular booting, the other is treated as fallback.12 13  This binding allows defining all fixed partitions and marking those containing14  firmware. System can use that information e.g. for booting or flashing15  purposes.16 17maintainers:18  - Rafał Miłecki <rafal@milecki.pl>19 20select: false21 22properties:23  compatible:24    const: brcm,bcm4908-partitions25 26  "#address-cells":27    enum: [ 1, 2 ]28 29  "#size-cells":30    enum: [ 1, 2 ]31 32patternProperties:33  "^partition@[0-9a-f]+$":34    $ref: partition.yaml#35    properties:36      compatible:37        const: brcm,bcm4908-firmware38    unevaluatedProperties: false39 40required:41  - "#address-cells"42  - "#size-cells"43 44additionalProperties: false45 46examples:47  - |48    partitions {49        compatible = "brcm,bcm4908-partitions";50        #address-cells = <1>;51        #size-cells = <1>;52 53        partition@0 {54            label = "cferom";55            reg = <0x0 0x100000>;56        };57 58        partition@100000 {59            compatible = "brcm,bcm4908-firmware";60            reg = <0x100000 0xf00000>;61        };62 63        partition@1000000 {64            compatible = "brcm,bcm4908-firmware";65            reg = <0x1000000 0xf00000>;66        };67 68        partition@1f00000 {69            label = "calibration";70            reg = <0x1f00000 0x100000>;71        };72    };73