Skip to content

Commit de2a5d5

Browse files
linuswmiquelraynal
authored andcommitted
dt-bindings: mtd: Add SEAMA partition bindings
This types of NAND partitions appear in OpenWrt and U-Boot. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20230713-seama-partitions-v4-1-69e577453d40@linaro.org
1 parent 259b4d4 commit de2a5d5

File tree

1 file changed

+44
-0
lines changed
  • Documentation/devicetree/bindings/mtd/partitions

1 file changed

+44
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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/seama.yaml#
5+
$schema: http://devicetree.org/meta-schemas/core.yaml#
6+
7+
title: Seattle Image Partitions
8+
9+
description: The SEAttle iMAge (SEAMA) partition is a type of partition
10+
used for NAND flash devices. This type of flash image is found in some
11+
D-Link routers such as DIR-645, DIR-842, DIR-859, DIR-860L, DIR-885L,
12+
DIR890L and DCH-M225, as well as in WD and NEC routers on the ath79
13+
(MIPS), Broadcom BCM53xx, and RAMIPS platforms. This partition type
14+
does not have children defined in the device tree, they need to be
15+
detected by software.
16+
17+
allOf:
18+
- $ref: partition.yaml#
19+
20+
maintainers:
21+
- Linus Walleij <linus.walleij@linaro.org>
22+
23+
properties:
24+
compatible:
25+
const: seama
26+
27+
required:
28+
- compatible
29+
30+
unevaluatedProperties: false
31+
32+
examples:
33+
- |
34+
partitions {
35+
compatible = "fixed-partitions";
36+
#address-cells = <1>;
37+
#size-cells = <1>;
38+
39+
partition@0 {
40+
compatible = "seama";
41+
reg = <0x0 0x800000>;
42+
label = "firmware";
43+
};
44+
};

0 commit comments

Comments
 (0)