| 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/brcm,bcm4908-partitions.yaml# |
| 5 |
$schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 |
|
| 7 |
title: Broadcom BCM4908 partitioning |
| 8 |
|
| 9 |
description: | |
| 10 |
Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used |
| 11 |
for regular booting, the other is treated as fallback. |
| 12 |
|
| 13 |
This binding allows defining all fixed partitions and marking those containing |
| 14 |
firmware. System can use that information e.g. for booting or flashing |
| 15 |
purposes. |
| 16 |
|
| 17 |
maintainers: |
| 18 |
- Rafał Miłecki <[email protected]> |
| 19 |
|
| 20 |
properties: |
| 21 |
compatible: |
| 22 |
const: brcm,bcm4908-partitions |
| 23 |
|
| 24 |
"#address-cells": |
| 25 |
enum: [ 1, 2 ] |
| 26 |
|
| 27 |
"#size-cells": |
| 28 |
enum: [ 1, 2 ] |
| 29 |
|
| 30 |
patternProperties: |
| 31 |
"^partition@[0-9a-f]+$": |
| 32 |
$ref: partition.yaml#/$defs/partition-node |
| 33 |
|
| 34 |
required: |
| 35 |
- "#address-cells" |
| 36 |
- "#size-cells" |
| 37 |
|
| 38 |
additionalProperties: false |
| 39 |
|
| 40 |
examples: |
| 41 |
- | |
| 42 |
partitions { |
| 43 |
compatible = "brcm,bcm4908-partitions"; |
| 44 |
#address-cells = <1>; |
| 45 |
#size-cells = <1>; |
| 46 |
|
| 47 |
partition@0 { |
| 48 |
label = "cferom"; |
| 49 |
reg = <0x0 0x100000>; |
| 50 |
}; |
| 51 |
|
| 52 |
partition@100000 { |
| 53 |
compatible = "brcm,bcm4908-firmware"; |
| 54 |
reg = <0x100000 0xf00000>; |
| 55 |
}; |
| 56 |
|
| 57 |
partition@1000000 { |
| 58 |
compatible = "brcm,bcm4908-firmware"; |
| 59 |
reg = <0x1000000 0xf00000>; |
| 60 |
}; |
| 61 |
|
| 62 |
partition@1f00000 { |
| 63 |
label = "calibration"; |
| 64 |
reg = <0x1f00000 0x100000>; |
| 65 |
}; |
| 66 |
}; |