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 7title: Broadcom BCM4908 partitioning 8 9description: | 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 17maintainers: 18 - Rafał Miłecki <rafal@milecki.pl> 19 20properties: 21 compatible: 22 const: brcm,bcm4908-partitions 23 24 "#address-cells": 25 enum: [ 1, 2 ] 26 27 "#size-cells": 28 enum: [ 1, 2 ] 29 30patternProperties: 31 "^partition@[0-9a-f]+$": 32 $ref: "partition.yaml#" 33 properties: 34 compatible: 35 const: brcm,bcm4908-firmware 36 unevaluatedProperties: false 37 38required: 39 - "#address-cells" 40 - "#size-cells" 41 42additionalProperties: false 43 44examples: 45 - | 46 partitions { 47 compatible = "brcm,bcm4908-partitions"; 48 #address-cells = <1>; 49 #size-cells = <1>; 50 51 partition@0 { 52 label = "cferom"; 53 reg = <0x0 0x100000>; 54 }; 55 56 partition@100000 { 57 compatible = "brcm,bcm4908-firmware"; 58 reg = <0x100000 0xf00000>; 59 }; 60 61 partition@1000000 { 62 compatible = "brcm,bcm4908-firmware"; 63 reg = <0x1000000 0xf00000>; 64 }; 65 66 partition@1f00000 { 67 label = "calibration"; 68 reg = <0x1f00000 0x100000>; 69 }; 70 }; 71