xref: /freebsd/sys/contrib/device-tree/Bindings/mtd/partitions/brcm,bcm4908-partitions.yaml (revision fac71e4e09885bb2afa3d984a0c239a52e1a7418)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/mtd/partitions/brcm,bcm4908-partitions.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Broadcom BCM4908 partitioning
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotdescription: |
105def4c47SEmmanuel Vadot  Broadcom BCM4908 CFE bootloader supports two firmware partitions. One is used
115def4c47SEmmanuel Vadot  for regular booting, the other is treated as fallback.
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadot  This binding allows defining all fixed partitions and marking those containing
145def4c47SEmmanuel Vadot  firmware. System can use that information e.g. for booting or flashing
155def4c47SEmmanuel Vadot  purposes.
165def4c47SEmmanuel Vadot
175def4c47SEmmanuel Vadotmaintainers:
185def4c47SEmmanuel Vadot  - Rafał Miłecki <rafal@milecki.pl>
195def4c47SEmmanuel Vadot
208bab661aSEmmanuel Vadotselect: false
218bab661aSEmmanuel Vadot
225def4c47SEmmanuel Vadotproperties:
235def4c47SEmmanuel Vadot  compatible:
245def4c47SEmmanuel Vadot    const: brcm,bcm4908-partitions
255def4c47SEmmanuel Vadot
265def4c47SEmmanuel Vadot  "#address-cells":
275def4c47SEmmanuel Vadot    enum: [ 1, 2 ]
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  "#size-cells":
305def4c47SEmmanuel Vadot    enum: [ 1, 2 ]
315def4c47SEmmanuel Vadot
325def4c47SEmmanuel VadotpatternProperties:
335def4c47SEmmanuel Vadot  "^partition@[0-9a-f]+$":
34*fac71e4eSEmmanuel Vadot    $ref: partition.yaml#
355def4c47SEmmanuel Vadot    properties:
365def4c47SEmmanuel Vadot      compatible:
375def4c47SEmmanuel Vadot        const: brcm,bcm4908-firmware
385def4c47SEmmanuel Vadot    unevaluatedProperties: false
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadotrequired:
415def4c47SEmmanuel Vadot  - "#address-cells"
425def4c47SEmmanuel Vadot  - "#size-cells"
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel VadotadditionalProperties: false
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadotexamples:
475def4c47SEmmanuel Vadot  - |
485def4c47SEmmanuel Vadot    partitions {
495def4c47SEmmanuel Vadot        compatible = "brcm,bcm4908-partitions";
505def4c47SEmmanuel Vadot        #address-cells = <1>;
515def4c47SEmmanuel Vadot        #size-cells = <1>;
525def4c47SEmmanuel Vadot
535def4c47SEmmanuel Vadot        partition@0 {
545def4c47SEmmanuel Vadot            label = "cferom";
555def4c47SEmmanuel Vadot            reg = <0x0 0x100000>;
565def4c47SEmmanuel Vadot        };
575def4c47SEmmanuel Vadot
585def4c47SEmmanuel Vadot        partition@100000 {
595def4c47SEmmanuel Vadot            compatible = "brcm,bcm4908-firmware";
605def4c47SEmmanuel Vadot            reg = <0x100000 0xf00000>;
615def4c47SEmmanuel Vadot        };
625def4c47SEmmanuel Vadot
635def4c47SEmmanuel Vadot        partition@1000000 {
645def4c47SEmmanuel Vadot            compatible = "brcm,bcm4908-firmware";
655def4c47SEmmanuel Vadot            reg = <0x1000000 0xf00000>;
665def4c47SEmmanuel Vadot        };
675def4c47SEmmanuel Vadot
685def4c47SEmmanuel Vadot        partition@1f00000 {
695def4c47SEmmanuel Vadot            label = "calibration";
705def4c47SEmmanuel Vadot            reg = <0x1f00000 0x100000>;
715def4c47SEmmanuel Vadot        };
725def4c47SEmmanuel Vadot    };
73